Home
last modified time | relevance | path

Searched refs:local_stream (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dpeerconnection.cc679 bool PeerConnection::AddStream(MediaStreamInterface* local_stream) { in AddStream() argument
684 if (!CanAddLocalMediaStream(local_streams_, local_stream)) { in AddStream()
688 local_streams_->AddStream(local_stream); in AddStream()
689 MediaStreamObserver* observer = new MediaStreamObserver(local_stream); in AddStream()
700 for (const auto& track : local_stream->GetAudioTracks()) { in AddStream()
701 OnAudioTrackAdded(track.get(), local_stream); in AddStream()
703 for (const auto& track : local_stream->GetVideoTracks()) { in AddStream()
704 OnVideoTrackAdded(track.get(), local_stream); in AddStream()
707 stats_->AddStream(local_stream); in AddStream()
712 void PeerConnection::RemoveStream(MediaStreamInterface* local_stream) { in RemoveStream() argument
[all …]
Dpeerconnection.h83 bool AddStream(MediaStreamInterface* local_stream) override;
84 void RemoveStream(MediaStreamInterface* local_stream) override;
Dpeerconnectioninterface_unittest.cc1779 scoped_refptr<MediaStreamInterface> local_stream = in TEST_F() local
1784 pc_->RemoveStream(local_stream); in TEST_F()
1785 EXPECT_FALSE(pc_->AddStream(local_stream)); in TEST_F()
1787 ASSERT_FALSE(local_stream->GetAudioTracks().empty()); in TEST_F()
1789 pc_->CreateDtmfSender(local_stream->GetAudioTracks()[0])); in TEST_F()