Home
last modified time | relevance | path

Searched refs:audio_track (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dmediastream_unittest.cc129 scoped_refptr<webrtc::MediaStreamTrackInterface> audio_track( in TEST_F() local
131 EXPECT_EQ(0, audio_track->id().compare(kAudioTrackId)); in TEST_F()
132 EXPECT_TRUE(audio_track->enabled()); in TEST_F()
134 EXPECT_TRUE(stream_->GetAudioTracks()[0].get() == audio_track.get()); in TEST_F()
135 EXPECT_TRUE(stream_->FindAudioTrack(audio_track->id()).get() in TEST_F()
136 == audio_track.get()); in TEST_F()
137 audio_track = stream_->GetAudioTracks()[0]; in TEST_F()
138 EXPECT_EQ(0, audio_track->id().compare(kAudioTrackId)); in TEST_F()
139 EXPECT_TRUE(audio_track->enabled()); in TEST_F()
170 scoped_refptr<webrtc::AudioTrackInterface> audio_track( in TEST_F() local
[all …]
Dstatscollector.h71 void AddLocalAudioTrack(AudioTrackInterface* audio_track, uint32_t ssrc);
75 void RemoveLocalAudioTrack(AudioTrackInterface* audio_track, uint32_t ssrc);
Dstatscollector.cc393 void StatsCollector::AddLocalAudioTrack(AudioTrackInterface* audio_track, in AddLocalAudioTrack() argument
396 RTC_DCHECK(audio_track != NULL); in AddLocalAudioTrack()
399 RTC_DCHECK(track.first != audio_track || track.second != ssrc); in AddLocalAudioTrack()
402 local_audio_tracks_.push_back(std::make_pair(audio_track, ssrc)); in AddLocalAudioTrack()
407 audio_track->id())); in AddLocalAudioTrack()
411 report->AddString(StatsReport::kStatsValueNameTrackId, audio_track->id()); in AddLocalAudioTrack()
415 void StatsCollector::RemoveLocalAudioTrack(AudioTrackInterface* audio_track, in RemoveLocalAudioTrack() argument
417 RTC_DCHECK(audio_track != NULL); in RemoveLocalAudioTrack()
420 [audio_track, ssrc](const LocalAudioTrackVector::value_type& track) { in RemoveLocalAudioTrack()
421 return track.first == audio_track && track.second == ssrc; in RemoveLocalAudioTrack()
Dpeerconnection.h166 AudioTrackInterface* audio_track,
172 AudioTrackInterface* audio_track);
176 AudioTrackInterface* audio_track,
Dpeerconnection.cc1258 AudioTrackInterface* audio_track, in CreateAudioReceiver() argument
1260 receivers_.push_back(new AudioRtpReceiver(audio_track, ssrc, session_.get())); in CreateAudioReceiver()
1272 AudioTrackInterface* audio_track) { in DestroyAudioReceiver() argument
1273 auto it = FindReceiverForTrack(audio_track); in DestroyAudioReceiver()
1275 LOG(LS_WARNING) << "RtpReceiver for track with id " << audio_track->id() in DestroyAudioReceiver()
1579 AudioTrackInterface* audio_track = remote_stream_factory_->AddAudioTrack( in OnRemoteTrackSeen() local
1581 CreateAudioReceiver(stream, audio_track, ssrc); in OnRemoteTrackSeen()
1597 rtc::scoped_refptr<AudioTrackInterface> audio_track = in OnRemoteTrackRemoved() local
1599 if (audio_track) { in OnRemoteTrackRemoved()
1600 audio_track->set_state(webrtc::MediaStreamTrackInterface::kEnded); in OnRemoteTrackRemoved()
[all …]
Drtpsender.cc110 AudioTrackInterface* audio_track = static_cast<AudioTrackInterface*>(track); in SetTrack() local
124 track_ = audio_track; in SetTrack()
Dpeerconnectioninterface_unittest.cc355 rtc::scoped_refptr<webrtc::AudioTrackInterface> audio_track( in CreateStreamCollection() local
357 stream->AddTrack(audio_track); in CreateStreamCollection()
641 scoped_refptr<AudioTrackInterface> audio_track( in AddVoiceStream() local
643 stream->AddTrack(audio_track.get()); in AddVoiceStream()
655 scoped_refptr<AudioTrackInterface> audio_track( in AddAudioVideoStream() local
658 stream->AddTrack(audio_track.get()); in AddAudioVideoStream()
922 rtc::scoped_refptr<webrtc::AudioTrackInterface> audio_track( in AddAudioTrack() local
924 ASSERT_TRUE(stream->AddTrack(audio_track)); in AddAudioTrack()
955 scoped_refptr<AudioTrackInterface> audio_track( in TEST_F() local
958 stream->AddTrack(audio_track.get()); in TEST_F()
Dstatscollector_unittest.cc453 FakeAudioTrack* audio_track, cricket::VoiceSenderInfo* voice_sender_info) { in UpdateVoiceSenderInfoFromAudioTrack() argument
454 audio_track->GetSignalLevel(&voice_sender_info->audio_level); in UpdateVoiceSenderInfoFromAudioTrack()
456 audio_track->GetAudioProcessor()->GetStats(&audio_processor_stats); in UpdateVoiceSenderInfoFromAudioTrack()
598 FakeAudioTrack* audio_track, in SetupAndVerifyAudioTrackStats() argument
641 EXPECT_EQ(audio_track->id(), track_id); in SetupAndVerifyAudioTrackStats()
648 UpdateVoiceSenderInfoFromAudioTrack(audio_track, voice_sender_info); in SetupAndVerifyAudioTrackStats()
657 stats->GetStats(audio_track, &track_reports); in SetupAndVerifyAudioTrackStats()
664 EXPECT_EQ(audio_track->id(), track_id); in SetupAndVerifyAudioTrackStats()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_track_jni.cc34 rtc::scoped_ptr<GlobalRef> audio_track) in JavaAudioTrack() argument
35 : audio_track_(std::move(audio_track)), in JavaAudioTrack()
Daudio_track_jni.h45 rtc::scoped_ptr<GlobalRef> audio_track);
Daudio_record_jni.h49 rtc::scoped_ptr<GlobalRef> audio_track);
/external/webrtc/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc276 rtc::scoped_refptr<webrtc::AudioTrackInterface> audio_track( in GetUserMedia() local
279 stream->AddTrack(audio_track); in GetUserMedia()
/external/webrtc/webrtc/examples/peerconnection/client/
Dconductor.cc397 rtc::scoped_refptr<webrtc::AudioTrackInterface> audio_track( in AddStreams() local
411 stream->AddTrack(audio_track); in AddStreams()