Searched refs:local_stream (Results 1 – 3 of 3) sorted by relevance
679 bool PeerConnection::AddStream(MediaStreamInterface* local_stream) { in AddStream() argument684 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 …]
83 bool AddStream(MediaStreamInterface* local_stream) override;84 void RemoveStream(MediaStreamInterface* local_stream) override;
1779 scoped_refptr<MediaStreamInterface> local_stream = in TEST_F() local1784 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()