diff options
author | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-11-20 10:40:25 +0000 |
---|---|---|
committer | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-11-20 10:40:25 +0000 |
commit | 964d78e5c80ec8e4cbaeece5f119806b1ef9ea22 (patch) | |
tree | 9ca468ec797bf489b793c62a07c3b4e2e02a5a1d /video | |
parent | 09b40ec0ab87d85cb76b802e14a6240bf3e55d98 (diff) | |
download | webrtc-964d78e5c80ec8e4cbaeece5f119806b1ef9ea22.tar.gz |
Rename Call::Create{Receive,Send}Stream().
Renaming the methods to include Video. Long-term there will hopefully be
AudioSendStream/AudioReceiveStreams as well.
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/3439004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5135 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video')
-rw-r--r-- | video/full_stack.cc | 4 | ||||
-rw-r--r-- | video/rampup_tests.cc | 4 | ||||
-rw-r--r-- | video/video_send_stream_tests.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/video/full_stack.cc b/video/full_stack.cc index b154df30..317f126a 100644 --- a/video/full_stack.cc +++ b/video/full_stack.cc @@ -402,7 +402,7 @@ TEST_P(FullStackTest, NoPacketLoss) { send_config.codec.startBitrate = params.bitrate; send_config.codec.maxBitrate = params.bitrate; - VideoSendStream* send_stream = call->CreateSendStream(send_config); + VideoSendStream* send_stream = call->CreateVideoSendStream(send_config); analyzer.input_ = send_stream->Input(); scoped_ptr<test::FrameGeneratorCapturer> file_capturer( @@ -422,7 +422,7 @@ TEST_P(FullStackTest, NoPacketLoss) { receive_config.renderer = &analyzer; VideoReceiveStream* receive_stream = - call->CreateReceiveStream(receive_config); + call->CreateVideoReceiveStream(receive_config); receive_stream->StartReceive(); send_stream->StartSend(); diff --git a/video/rampup_tests.cc b/video/rampup_tests.cc index aa164b5a..dababaf2 100644 --- a/video/rampup_tests.cc +++ b/video/rampup_tests.cc @@ -159,13 +159,13 @@ TEST_P(RampUpTest, RampUpWithPadding) { test::GenerateRandomSsrcs(&send_config, &reserved_ssrcs_); - VideoSendStream* send_stream = call->CreateSendStream(send_config); + VideoSendStream* send_stream = call->CreateVideoSendStream(send_config); VideoReceiveStream::Config receive_config; receive_config.rtp.ssrc = send_config.rtp.ssrcs[0]; receive_config.rtp.nack.rtp_history_ms = send_config.rtp.nack.rtp_history_ms; VideoReceiveStream* receive_stream = - call->CreateReceiveStream(receive_config); + call->CreateVideoReceiveStream(receive_config); scoped_ptr<test::FrameGeneratorCapturer> frame_generator_capturer( test::FrameGeneratorCapturer::Create(send_stream->Input(), diff --git a/video/video_send_stream_tests.cc b/video/video_send_stream_tests.cc index 7e12713a..dd9bc557 100644 --- a/video/video_send_stream_tests.cc +++ b/video/video_send_stream_tests.cc @@ -40,7 +40,7 @@ class VideoSendStreamTest : public ::testing::Test { void RunSendTest(Call* call, const VideoSendStream::Config& config, test::RtpRtcpObserver* observer) { - send_stream_ = call->CreateSendStream(config); + send_stream_ = call->CreateVideoSendStream(config); scoped_ptr<test::FrameGeneratorCapturer> frame_generator_capturer( test::FrameGeneratorCapturer::Create( send_stream_->Input(), 320, 240, 30, Clock::GetRealTimeClock())); |