Home
last modified time | relevance | path

Searched refs:AddTrack (Results 1 – 25 of 45) sorted by relevance

12

/external/webrtc/pc/
Dmedia_stream.cc41 bool MediaStream::AddTrack(AudioTrackInterface* track) { in AddTrack() function in webrtc::MediaStream
42 return AddTrack<AudioTrackVector, AudioTrackInterface>(&audio_tracks_, track); in AddTrack()
45 bool MediaStream::AddTrack(VideoTrackInterface* track) { in AddTrack() function in webrtc::MediaStream
46 return AddTrack<VideoTrackVector, VideoTrackInterface>(&video_tracks_, track); in AddTrack()
74 bool MediaStream::AddTrack(TrackVector* tracks, Track* track) { in AddTrack() function in webrtc::MediaStream
Dmedia_stream.h30 bool AddTrack(AudioTrackInterface* track) override;
31 bool AddTrack(VideoTrackInterface* track) override;
47 bool AddTrack(TrackVector* Tracks, Track* track);
Dmedia_stream_unittest.cc71 EXPECT_TRUE(stream_->AddTrack(video_track_)); in SetUp()
72 EXPECT_FALSE(stream_->AddTrack(video_track_)); in SetUp()
73 EXPECT_TRUE(stream_->AddTrack(audio_track_)); in SetUp()
74 EXPECT_FALSE(stream_->AddTrack(audio_track_)); in SetUp()
Dpeer_connection_wrapper.cc285 rtc::scoped_refptr<RtpSenderInterface> PeerConnectionWrapper::AddTrack( in AddTrack() function in webrtc::PeerConnectionWrapper
289 pc()->AddTrack(track, stream_ids); in AddTrack()
297 return AddTrack(CreateAudioTrack(track_label), stream_ids); in AddAudioTrack()
303 return AddTrack(CreateVideoTrack(track_label), stream_ids); in AddVideoTrack()
Dpeer_connection_adaptation_integrationtest.cc110 auto sender = caller->AddTrack(track_with_source.track, {}).value(); in TEST_F()
143 auto sender = caller->AddTrack(track_with_source.track, {}).value(); in TEST_F()
Dpeer_connection_rtp_unittest.cc723 caller->AddTrack(caller->CreateAudioTrack("audio_track1"), in TEST_F()
1012 auto sender = caller->AddTrack(audio_track); in TEST_F()
1025 auto sender = caller->AddTrack(video_track); in TEST_F()
1054 auto sender = caller->AddTrack(audio_track); in TEST_F()
1172 auto sender = caller->AddTrack(audio_track); in TEST_F()
1186 auto result = caller->pc()->AddTrack(audio_track, std::vector<std::string>()); in TEST_F()
1195 ASSERT_TRUE(caller->AddTrack(audio_track)); in TEST_F()
1198 auto result = caller->pc()->AddTrack(audio_track, std::vector<std::string>()); in TEST_F()
1380 auto sender1 = caller->AddTrack(track); in TEST_F()
1386 auto sender2 = caller->AddTrack(track); in TEST_F()
[all …]
Dpeer_connection_interface_unittest.cc562 stream->AddTrack(audio_track); in CreateStreamCollection()
569 stream->AddTrack(video_track); in CreateStreamCollection()
817 pc_->AddTrack(CreateVideoTrack(track_label), stream_ids);
824 stream->AddTrack(CreateVideoTrack(label + "v0")); in AddVideoStream()
836 pc_->AddTrack(CreateAudioTrack(track_label), stream_ids);
843 stream->AddTrack(CreateAudioTrack(label + "a0")); in AddAudioStream()
853 stream->AddTrack(CreateAudioTrack(audio_track_label)); in AddAudioVideoStream()
854 stream->AddTrack(CreateVideoTrack(video_track_label)); in AddAudioVideoStream()
1137 ASSERT_TRUE(stream->AddTrack(audio_track)); in AddAudioTrack()
1146 ASSERT_TRUE(stream->AddTrack(video_track)); in AddVideoTrack()
[all …]
Dpeer_connection_integrationtest.cc320 return AddTrack(CreateLocalAudioTrack()); in AddAudioTrack()
324 return AddTrack(CreateLocalVideoTrack()); in AddVideoTrack()
359 rtc::scoped_refptr<RtpSenderInterface> AddTrack( in AddTrack() function in webrtc::__anonb00edc420111::PeerConnectionWrapper
362 auto result = pc()->AddTrack(track, stream_ids);
2031 caller()->AddTrack(caller()->CreateLocalVideoTrackWithConfig(config)); in TEST_P()
2032 callee()->AddTrack(callee()->CreateLocalVideoTrackWithConfig(config)); in TEST_P()
2071 caller()->AddTrack(caller_track); in TEST_P()
2096 callee()->AddTrack(callee_track); in TEST_P()
2119 caller()->AddTrack(caller_track); in TEST_P()
2126 callee()->AddTrack(callee_track); in TEST_P()
[all …]
Dstats_collector_unittest.cc781 stream_->AddTrack(track_); in AddOutgoingVideoTrack()
784 stats->AddTrack(track_); in AddOutgoingVideoTrack()
796 stream_->AddTrack(track_); in AddIncomingVideoTrack()
799 stats->AddTrack(track_); in AddIncomingVideoTrack()
815 stream_->AddTrack(audio_track_); in AddOutgoingAudioTrack()
818 stats->AddTrack(audio_track_); in AddOutgoingAudioTrack()
830 stream_->AddTrack(audio_track_); in AddIncomingAudioTrack()
833 stats->AddTrack(audio_track_); in AddIncomingAudioTrack()
1488 stream_->AddTrack(local_track); in TEST_P()
1500 remote_stream->AddTrack(remote_track); in TEST_P()
[all …]
Dstats_collector.h57 void AddTrack(MediaStreamTrackInterface* track);
Dpeer_connection_rampup_tests.cc209 caller_->AddTrack(caller_->CreateLocalVideoTrack(config, clock_)); in SetupOneWayCall()
213 caller_->AddTrack(caller_->CreateLocalAudioTrack(options)); in SetupOneWayCall()
Dpeer_connection_wrapper.h148 rtc::scoped_refptr<RtpSenderInterface> AddTrack(
/external/webrtc/api/
Dmedia_stream_proxy.h34 PROXY_METHOD1(bool, AddTrack, AudioTrackInterface*)
35 PROXY_METHOD1(bool, AddTrack, VideoTrackInterface*)
Dmedia_stream_interface.h325 virtual bool AddTrack(AudioTrackInterface* track) = 0;
326 virtual bool AddTrack(VideoTrackInterface* track) = 0;
Dpeer_connection_proxy.h32 AddTrack,
/external/webrtc/pc/test/
Dpeer_connection_test_wrapper.cc299 EXPECT_TRUE(peer_connection_->AddTrack(audio_track, {stream->id()}).ok()); in GetAndAddUserMedia()
302 EXPECT_TRUE(peer_connection_->AddTrack(video_track, {stream->id()}).ok()); in GetAndAddUserMedia()
325 stream->AddTrack(audio_track); in GetUserMedia()
342 stream->AddTrack(video_track); in GetUserMedia()
/external/webrtc/test/pc/e2e/
Dtest_peer.h66 rtc::scoped_refptr<RtpSenderInterface> AddTrack(
69 return wrapper_->AddTrack(track, stream_ids);
/external/webrtc/sdk/android/src/jni/pc/
Dmedia_stream.cc108 return reinterpret_cast<MediaStreamInterface*>(pointer)->AddTrack( in JNI_MediaStream_AddAudioTrackToNativeStream()
116 return reinterpret_cast<MediaStreamInterface*>(pointer)->AddTrack( in JNI_MediaStream_AddVideoTrackToNativeStream()
/external/libwebm/
Dsample_muxer_metadata.cc36 if (!AddTrack(kind, &track_num)) { in Load()
204 bool SampleMuxerMetadata::AddTrack(Kind kind, uint64_t* track_num) { in AddTrack() function in SampleMuxerMetadata
208 mkvmuxer::Track* const track = segment_->AddTrack(0); in AddTrack()
Dsample_muxer_metadata.h101 bool AddTrack(Kind kind, uint64_t* track_num);
/external/webrtc/test/pc/e2e/media/
Dmedia_helper.cc47 peer->AddTrack(track, {sync_group, *audio_config.stream_label}); in MaybeAddAudio()
82 peer->AddTrack(track, {sync_group, *video_config.stream_label}); in MaybeAddVideo()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCMediaStream.mm51 if (_nativeMediaStream->AddTrack(audioTrack.nativeAudioTrack)) {
57 if (_nativeMediaStream->AddTrack(videoTrack.nativeVideoTrack)) {
/external/webrtc/examples/peerconnection/client/
Dconductor.cc166 peer_connection_->AddTrack(sender->track(), sender->stream_ids()); in ReinitializePeerConnectionForLoopback()
443 auto result_or_error = peer_connection_->AddTrack(audio_track, {kStreamId}); in AddTracks()
456 result_or_error = peer_connection_->AddTrack(video_track_, {kStreamId}); in AddTracks()
/external/webrtc/examples/unityplugin/
Dsimple_peer_connection.cc431 stream->AddTrack(audio_track); in AddStreams()
465 stream->AddTrack(video_track); in AddStreams()
474 stream->AddTrack(video_track); in AddStreams()
/external/webrtc/test/peer_scenario/
Dpeer_scenario_client.cc260 res.sender = peer_connection_->AddTrack(track, {kCommonStreamId}).value(); in CreateAudio()
278 res.sender = peer_connection_->AddTrack(track, {kCommonStreamId}).MoveValue(); in CreateVideo()

12