Home
last modified time | relevance | path

Searched refs:track_id (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dmediastream.cc35 const std::string& track_id) { in FindTrack() argument
38 if ((*it)->id() == track_id) { in FindTrack()
73 MediaStream::FindAudioTrack(const std::string& track_id) { in FindAudioTrack() argument
74 AudioTrackVector::iterator it = FindTrack(&audio_tracks_, track_id); in FindAudioTrack()
81 MediaStream::FindVideoTrack(const std::string& track_id) { in FindVideoTrack() argument
82 VideoTrackVector::iterator it = FindTrack(&video_tracks_, track_id); in FindVideoTrack()
Dpeerconnection.h149 const std::string track_id, in TrackInfo()
151 : stream_label(stream_label), track_id(track_id), ssrc(ssrc) {} in TrackInfo()
154 this->track_id == other.track_id && this->ssrc == other.ssrc;
157 std::string track_id; member
248 const std::string& track_id,
256 const std::string& track_id,
281 const std::string& track_id,
291 const std::string& track_id,
336 const std::string track_id) const;
Dpeerconnection.cc415 const std::string& track_id) { in AddAudioTrack() argument
417 stream, track_id, RemoteAudioSource::Create(ssrc, provider)); in AddAudioTrack()
421 const std::string& track_id) { in AddVideoTrack() argument
423 stream, track_id, in AddVideoTrack()
432 const std::string& track_id, in AddTrack() argument
435 TP::Create(signaling_thread_, T::Create(track_id, source))); in AddTrack()
1512 bool track_exists = params && params->id == info.track_id; in UpdateRemoteStreamsList()
1518 OnRemoteTrackRemoved(info.stream_label, info.track_id, media_type); in UpdateRemoteStreamsList()
1528 const std::string& track_id = params.id; in UpdateRemoteStreamsList() local
1541 FindTrackInfo(*current_tracks, stream_label, track_id); in UpdateRemoteStreamsList()
[all …]
Dstatscollector.cc86 const std::string& track_id) { in AddTrackReport() argument
89 StatsReport::NewTypedId(StatsReport::kStatsReportTypeTrack, track_id)); in AddTrackReport()
91 report->AddString(StatsReport::kStatsValueNameTrackId, track_id); in AddTrackReport()
99 const std::string& track_id = track->id(); in CreateTrackReports() local
100 StatsReport* report = AddTrackReport(reports, track_id); in CreateTrackReports()
102 track_ids[track_id] = report; in CreateTrackReports()
453 std::string track_id; in GetStats() local
506 std::string track_id; in PrepareReport() local
507 if (!GetTrackIdBySsrc(ssrc, &track_id, direction)) { in PrepareReport()
519 track_id = v->string_val(); in PrepareReport()
[all …]
Dmediastream.h52 FindAudioTrack(const std::string& track_id);
54 FindVideoTrack(const std::string& track_id);
Ddtmfsender.h56 virtual bool CanInsertDtmf(const std::string& track_id) = 0;
60 virtual bool InsertDtmf(const std::string& track_id,
Dwebrtcsession.cc273 const std::string& track_id, in GetAudioSsrcByTrackId() argument
286 cricket::GetStreamByIds(audio_content->streams(), "", track_id); in GetAudioSsrcByTrackId()
297 std::string* track_id) { in GetTrackIdBySsrc() argument
298 ASSERT(track_id != NULL); in GetTrackIdBySsrc()
310 *track_id = found->id; in GetTrackIdBySsrc()
325 *track_id = found->id; in GetTrackIdBySsrc()
1269 std::string* track_id) { in GetLocalTrackIdBySsrc() argument
1273 return webrtc::GetTrackIdBySsrc(local_desc_->description(), ssrc, track_id); in GetLocalTrackIdBySsrc()
1277 std::string* track_id) { in GetRemoteTrackIdBySsrc() argument
1281 return webrtc::GetTrackIdBySsrc(remote_desc_->description(), ssrc, track_id); in GetRemoteTrackIdBySsrc()
[all …]
Dwebrtcsession.h247 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id);
248 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id);
270 virtual bool CanInsertDtmf(const std::string& track_id);
271 virtual bool InsertDtmf(const std::string& track_id,
Dmediastreaminterface.h261 FindAudioTrack(const std::string& track_id) = 0;
263 FindVideoTrack(const std::string& track_id) = 0;
Dstatscollector_unittest.cc639 std::string track_id = ExtractSsrcStatsValue( in SetupAndVerifyAudioTrackStats() local
641 EXPECT_EQ(audio_track->id(), track_id); in SetupAndVerifyAudioTrackStats()
662 track_id = ExtractSsrcStatsValue(track_reports, in SetupAndVerifyAudioTrackStats()
664 EXPECT_EQ(audio_track->id(), track_id); in SetupAndVerifyAudioTrackStats()
1032 std::string track_id = ExtractSsrcStatsValue( in TEST_F() local
1034 EXPECT_EQ(kLocalTrackId, track_id); in TEST_F()
1225 std::string track_id = ExtractSsrcStatsValue( in TEST_F() local
1227 EXPECT_EQ(kRemoteTrackId, track_id); in TEST_F()
1595 std::string track_id = ExtractSsrcStatsValue( in TEST_F() local
1597 EXPECT_EQ(kLocalTrackId, track_id); in TEST_F()
[all …]
Dstatscollector.h146 std::string* track_id,
Dpeerconnectioninterface_unittest.cc320 const std::string& track_id) { in ContainsTrack() argument
322 if (params.sync_label == stream_label && params.id == track_id) { in ContainsTrack()
920 void AddAudioTrack(const std::string& track_id, in AddAudioTrack() argument
923 webrtc::AudioTrack::Create(track_id, nullptr)); in AddAudioTrack()
927 void AddVideoTrack(const std::string& track_id, in AddVideoTrack() argument
930 webrtc::VideoTrack::Create(track_id, nullptr)); in AddVideoTrack()
Dwebrtcsdp.cc597 std::string track_id; in CreateTracksFromSsrcInfos() local
604 track_id = ssrc_info->label; in CreateTracksFromSsrcInfos()
609 track_id = ssrc_info->msid_appdata; in CreateTracksFromSsrcInfos()
611 if (sync_label.empty() || track_id.empty()) { in CreateTracksFromSsrcInfos()
618 if (track->id == track_id) { in CreateTracksFromSsrcInfos()
630 track->id = track_id; in CreateTracksFromSsrcInfos()
/external/autotest/client/site_tests/video_MediaRecorderPerf/
Dvideo_MediaRecorderPerf.py75 def frame(self, track_id, timestamp, data, more_laced_frames, duration, argument
77 if track_id == self.video_track_num_: