Home
last modified time | relevance | path

Searched refs:RemoveTrack (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastream_unittest.cc129 TEST_F(MediaStreamTest, RemoveTrack) { in TEST_F() argument
136 EXPECT_TRUE(stream_->RemoveTrack(audio_track_)); in TEST_F()
137 EXPECT_FALSE(stream_->RemoveTrack(audio_track_)); in TEST_F()
141 EXPECT_TRUE(stream_->RemoveTrack(video_track_)); in TEST_F()
142 EXPECT_FALSE(stream_->RemoveTrack(video_track_)); in TEST_F()
147 EXPECT_FALSE(stream_->RemoveTrack(static_cast<AudioTrackInterface*>(NULL))); in TEST_F()
148 EXPECT_FALSE(stream_->RemoveTrack(static_cast<VideoTrackInterface*>(NULL))); in TEST_F()
Dmediastream.cc64 bool MediaStream::RemoveTrack(AudioTrackInterface* track) { in RemoveTrack() function in webrtc::MediaStream
65 return RemoveTrack<AudioTrackVector>(&audio_tracks_, track); in RemoveTrack()
68 bool MediaStream::RemoveTrack(VideoTrackInterface* track) { in RemoveTrack() function in webrtc::MediaStream
69 return RemoveTrack<VideoTrackVector>(&video_tracks_, track); in RemoveTrack()
99 bool MediaStream::RemoveTrack(TrackVector* tracks, in RemoveTrack() function in webrtc::MediaStream
Dmediastream.h49 virtual bool RemoveTrack(AudioTrackInterface* track) OVERRIDE;
50 virtual bool RemoveTrack(VideoTrackInterface* track) OVERRIDE;
66 bool RemoveTrack(TrackVector* Tracks, MediaStreamTrackInterface* track);
Dmediastreamproxy.h46 PROXY_METHOD1(bool, RemoveTrack, AudioTrackInterface*)
47 PROXY_METHOD1(bool, RemoveTrack, VideoTrackInterface*)
Dmediastreaminterface.h255 virtual bool RemoveTrack(AudioTrackInterface* track) = 0;
256 virtual bool RemoveTrack(VideoTrackInterface* track) = 0;
Dmediastreamsignaling_unittest.cc303 RemoveTrack(&local_audio_tracks_, stream, audio_track); in OnRemoveLocalAudioTrack()
308 RemoveTrack(&local_video_tracks_, stream, video_track); in OnRemoveLocalVideoTrack()
325 RemoveTrack(&remote_audio_tracks_, stream, audio_track); in OnRemoveRemoteAudioTrack()
330 RemoveTrack(&remote_video_tracks_, stream, video_track); in OnRemoveRemoteVideoTrack()
397 void RemoveTrack(TrackInfos* track_infos, MediaStreamInterface* stream, in RemoveTrack() function in MockSignalingObserver
866 remote_stream->RemoveTrack(remote_stream->GetVideoTracks()[0]); in TEST_F()
867 remote_stream->RemoveTrack(remote_stream->GetAudioTracks()[0]); in TEST_F()
926 remote_stream->RemoveTrack(remote_stream->GetAudioTracks()[0]); in TEST_F()
927 remote_stream->RemoveTrack(remote_stream->GetVideoTracks()[0]); in TEST_F()
Dmediastreamhandler.cc237 void MediaStreamHandler::RemoveTrack(MediaStreamTrackInterface* track) { in RemoveTrack() function in webrtc::MediaStreamHandler
396 handler->RemoveTrack(track); in RemoveRemoteTrack()
438 handler->RemoveTrack(track); in RemoveLocalTrack()
Dmediastreamhandler.h194 virtual void RemoveTrack(MediaStreamTrackInterface* track);
Dmediastreamsignaling.cc644 stream->RemoveTrack(audio_track); in OnRemoteTrackRemoved()
652 stream->RemoveTrack(video_track); in OnRemoteTrackRemoved()
/external/chromium_org/content/renderer/media/webrtc/
Dmedia_stream_track_metrics_unittest.cc305 stream_->RemoveTrack(first); in TEST_F()
353 stream_->RemoveTrack(first); in TEST_F()
377 stream_->RemoveTrack(audio); in TEST_F()
403 stream_->RemoveTrack(audio); in TEST_F()
481 stream_->RemoveTrack(audio1); in TEST_F()
509 stream_->RemoveTrack(audio2); in TEST_F()
515 stream_->RemoveTrack(video2); in TEST_F()
522 stream_->RemoveTrack(audio1); in TEST_F()
528 stream_->RemoveTrack(video1); in TEST_F()
Dwebrtc_media_stream_adapter.cc57 webrtc_media_stream_->RemoveTrack( in TrackRemoved()
63 webrtc_media_stream_->RemoveTrack(webrtc_track.get()); in TrackRemoved()
Dwebrtc_media_stream_adapter_unittest.cc139 native_stream->RemoveTrack(audio_tracks[0]); in TEST_F()
145 native_stream->RemoveTrack(video_tracks[0]); in TEST_F()
Dmock_peer_connection_dependency_factory.h143 virtual bool RemoveTrack(webrtc::AudioTrackInterface* track) OVERRIDE;
144 virtual bool RemoveTrack(webrtc::VideoTrackInterface* track) OVERRIDE;
Dmock_peer_connection_dependency_factory.cc61 bool MockMediaStream::RemoveTrack(AudioTrackInterface* track) { in RemoveTrack() function in content::MockMediaStream
71 bool MockMediaStream::RemoveTrack(VideoTrackInterface* track) { in RemoveTrack() function in content::MockMediaStream
/external/chromium_org/content/renderer/media/
Dvideo_track_adapter.h42 void RemoveTrack(const MediaStreamVideoTrack* track);
Dmedia_stream.h75 bool RemoveTrack(const blink::WebMediaStreamTrack& track); in NON_EXPORTED_BASE()
Dmedia_stream.cc72 bool MediaStream::RemoveTrack(const blink::WebMediaStreamTrack& track) { in RemoveTrack() function in content::MediaStream
Dmedia_stream_video_source.h60 void RemoveTrack(MediaStreamVideoTrack* track);
Dwebrtc_audio_capturer.h76 void RemoveTrack(WebRtcLocalAudioTrack* track);
Dmedia_stream_video_source.cc397 void MediaStreamVideoSource::RemoveTrack(MediaStreamVideoTrack* video_track) { in RemoveTrack() function in content::MediaStreamVideoSource
416 track_adapter_->RemoveTrack(video_track); in RemoveTrack()
Dwebrtc_local_audio_track.cc229 capturer_->RemoveTrack(this); in Stop()
Dmedia_stream_center.cc206 return native_stream->RemoveTrack(track); in didRemoveMediaStreamTrack()
Dmedia_stream_video_track.cc251 source_->RemoveTrack(this); in Stop()
Dvideo_track_adapter.cc309 void VideoTrackAdapter::RemoveTrack(const MediaStreamVideoTrack* track) { in RemoveTrack() function in content::VideoTrackAdapter
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/
DRTCMediaStream.mm85 if (index != NSNotFound && self.mediaStream->RemoveTrack(track.audioTrack)) {
96 if (index != NSNotFound && self.mediaStream->RemoveTrack(track.videoTrack)) {

12