OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 MediaType::VIDEO); | 206 MediaType::VIDEO); |
207 video_send_transport.SetReceiver(&video_receiver); | 207 video_send_transport.SetReceiver(&video_receiver); |
208 | 208 |
209 test::PacketTransport receive_transport( | 209 test::PacketTransport receive_transport( |
210 receiver_call_.get(), &observer, test::PacketTransport::kReceiver, | 210 receiver_call_.get(), &observer, test::PacketTransport::kReceiver, |
211 FakeNetworkPipe::Config()); | 211 FakeNetworkPipe::Config()); |
212 receive_transport.SetReceiver(sender_call_->Receiver()); | 212 receive_transport.SetReceiver(sender_call_->Receiver()); |
213 | 213 |
214 test::FakeDecoder fake_decoder; | 214 test::FakeDecoder fake_decoder; |
215 | 215 |
216 CreateSendConfig(1, 0, &video_send_transport); | 216 CreateSendConfig(1, 0, 0, &video_send_transport); |
217 CreateMatchingReceiveConfigs(&receive_transport); | 217 CreateMatchingReceiveConfigs(&receive_transport); |
218 | 218 |
219 AudioSendStream::Config audio_send_config(&audio_send_transport); | 219 AudioSendStream::Config audio_send_config(&audio_send_transport); |
220 audio_send_config.voe_channel_id = send_channel_id; | 220 audio_send_config.voe_channel_id = send_channel_id; |
221 audio_send_config.rtp.ssrc = kAudioSendSsrc; | 221 audio_send_config.rtp.ssrc = kAudioSendSsrc; |
222 audio_send_config.send_codec_spec.codec_inst = | 222 audio_send_config.send_codec_spec.codec_inst = |
223 CodecInst{103, "ISAC", 16000, 480, 1, 32000}; | 223 CodecInst{103, "ISAC", 16000, 480, 1, 32000}; |
224 AudioSendStream* audio_send_stream = | 224 AudioSendStream* audio_send_stream = |
225 sender_call_->CreateAudioSendStream(audio_send_config); | 225 sender_call_->CreateAudioSendStream(audio_send_config); |
226 | 226 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 uint32_t last_set_bitrate_; | 726 uint32_t last_set_bitrate_; |
727 VideoSendStream* send_stream_; | 727 VideoSendStream* send_stream_; |
728 test::FrameGeneratorCapturer* frame_generator_; | 728 test::FrameGeneratorCapturer* frame_generator_; |
729 VideoEncoderConfig encoder_config_; | 729 VideoEncoderConfig encoder_config_; |
730 } test; | 730 } test; |
731 | 731 |
732 RunBaseTest(&test); | 732 RunBaseTest(&test); |
733 } | 733 } |
734 | 734 |
735 } // namespace webrtc | 735 } // namespace webrtc |
OLD | NEW |