Home | History | Annotate | Download | only in webrtc

Lines Matching defs:track

87   // Adds an empty track report.
98 for (const auto& track : tracks) {
99 const std::string& track_id = track->id();
314 // Each track can have stats for both local and remote objects.
398 for (const auto& track : local_audio_tracks_)
399 RTC_DCHECK(track.first != audio_track || track.second != ssrc);
404 // Create the kStatsReportTypeTrack report for the new track if there is no
420 [audio_track, ssrc](const LocalAudioTrackVector::value_type& track) {
421 return track.first == audio_track && track.second == ssrc;
425 void StatsCollector::GetStats(MediaStreamTrackInterface* track,
433 if (!track) {
446 StatsReport::kStatsReportTypeTrack, track->id()));
460 if (v && v->string_val() == track->id())
505 // Use the ID of the track that is currently mapped to the SSRC, if any.
509 // The ssrc is not used by any track or existing report, return NULL
514 // The ssrc is not used by any existing track. Keeps the old track id
873 AudioTrackInterface* track = it.first;
879 // This can happen if a local audio track is added to a stream on the
888 if (!v || v->string_val() != track->id())
892 UpdateReportFromAudioTrack(track, report);
896 void StatsCollector::UpdateReportFromAudioTrack(AudioTrackInterface* track,
899 RTC_DCHECK(track != NULL);
903 if (track->GetSignalLevel(&signal_level)) {
908 auto audio_processor(track->GetAudioProcessor());
928 << " is not associated with a sending track";
935 << " is not associated with a receiving track";