Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling.cc152 const std::string& track_id) { in AddAudioTrack() argument
154 stream, track_id, static_cast<AudioSourceInterface*>(NULL)); in AddAudioTrack()
158 const std::string& track_id) { in AddVideoTrack() argument
160 stream, track_id, VideoSource::Create(channel_manager_, in AddVideoTrack()
167 TI* AddTrack(MediaStreamInterface* stream, const std::string& track_id, in AddTrack() argument
170 TP::Create(signaling_thread_, T::Create(track_id, source))); in AddTrack()
302 OnLocalTrackSeen(info.stream_label, info.track_id, info.ssrc, in AddLocalStream()
314 OnLocalTrackSeen(info.stream_label, info.track_id, info.ssrc, in AddLocalStream()
478 const std::string& track_id, uint32* ssrc) const { in GetRemoteAudioTrackSsrc() argument
479 TrackInfos::const_iterator it = remote_audio_tracks_.find(track_id); in GetRemoteAudioTrackSsrc()
[all …]
Dmediastreamsignaling.h242 bool GetRemoteAudioTrackSsrc(const std::string& track_id, uint32* ssrc) const;
243 bool GetRemoteVideoTrackSsrc(const std::string& track_id, uint32* ssrc) const;
280 const std::string track_id, in TrackInfo()
283 track_id(track_id), in TrackInfo()
287 std::string track_id; member
308 const std::string& track_id,
317 const std::string& track_id,
333 bool FindLocalTrack(const std::string& track_id, cricket::MediaType type);
349 const std::string& track_id,
360 const std::string& track_id,
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()
Dmediastreamsignaling_unittest.cc338 const std::string& track_id, in VerifyRemoteAudioTrack() argument
340 VerifyTrack(remote_audio_tracks_, stream_label, track_id, ssrc); in VerifyRemoteAudioTrack()
346 const std::string& track_id, in VerifyRemoteVideoTrack() argument
348 VerifyTrack(remote_video_tracks_, stream_label, track_id, ssrc); in VerifyRemoteVideoTrack()
353 const std::string& track_id, in VerifyLocalAudioTrack() argument
355 VerifyTrack(local_audio_tracks_, stream_label, track_id, ssrc); in VerifyLocalAudioTrack()
361 const std::string& track_id, in VerifyLocalVideoTrack() argument
363 VerifyTrack(local_video_tracks_, stream_label, track_id, ssrc); in VerifyLocalVideoTrack()
369 TrackInfo(const std::string& stream_label, const std::string track_id, in TrackInfo()
372 track_id(track_id), in TrackInfo()
[all …]
Dmediastream.h52 FindAudioTrack(const std::string& track_id);
54 FindVideoTrack(const std::string& track_id);
Dwebrtcsession.cc210 const std::string& track_id, uint32 *ssrc) { in GetAudioSsrcByTrackId() argument
222 if (!cricket::GetStreamByIds(audio_content->streams(), "", track_id, in GetAudioSsrcByTrackId()
231 uint32 ssrc, std::string* track_id) { in GetTrackIdBySsrc() argument
232 ASSERT(track_id != NULL); in GetTrackIdBySsrc()
245 *track_id = stream_out.id; in GetTrackIdBySsrc()
259 *track_id = stream_out.id; in GetTrackIdBySsrc()
807 bool WebRtcSession::GetLocalTrackId(uint32 ssrc, std::string* track_id) { in GetLocalTrackId() argument
811 BaseSession::local_description(), ssrc, track_id); in GetLocalTrackId()
814 bool WebRtcSession::GetRemoteTrackId(uint32 ssrc, std::string* track_id) { in GetRemoteTrackId() argument
818 BaseSession::remote_description(), ssrc, track_id); in GetRemoteTrackId()
[all …]
Dstatscollector.cc437 std::string track_id; in GetStats() local
444 &track_id)) { in GetStats()
445 if (track_id == track->id()) { in GetStats()
478 std::string track_id; in PrepareLocalReport() local
480 if (!session()->GetTrackIdBySsrc(ssrc, &track_id)) { in PrepareLocalReport()
490 &track_id); in PrepareLocalReport()
503 report->AddValue(StatsReport::kStatsValueNameTrackId, track_id); in PrepareLocalReport()
517 std::string track_id; in PrepareRemoteReport() local
519 if (!session()->GetTrackIdBySsrc(ssrc, &track_id)) { in PrepareRemoteReport()
529 &track_id); in PrepareRemoteReport()
[all …]
Dwebrtcsession.h183 virtual bool CanInsertDtmf(const std::string& track_id);
184 virtual bool InsertDtmf(const std::string& track_id,
281 bool GetLocalTrackId(uint32 ssrc, std::string* track_id);
282 bool GetRemoteTrackId(uint32 ssrc, std::string* track_id);
Ddtmfsender.h56 virtual bool CanInsertDtmf(const std::string& track_id) = 0;
60 virtual bool InsertDtmf(const std::string& track_id,
Dmediastreaminterface.h178 FindAudioTrack(const std::string& track_id) = 0;
180 FindVideoTrack(const std::string& track_id) = 0;
Dstatscollector_unittest.cc513 std::string track_id = ExtractSsrcStatsValue( in TEST_F() local
515 EXPECT_EQ(kTrackId, track_id); in TEST_F()
Dwebrtcsdp.cc604 std::string track_id; in CreateTracksFromSsrcInfos() local
611 track_id = ssrc_info->label; in CreateTracksFromSsrcInfos()
616 track_id = ssrc_info->msid_appdata; in CreateTracksFromSsrcInfos()
618 if (sync_label.empty() || track_id.empty()) { in CreateTracksFromSsrcInfos()
625 if (track->id == track_id) { in CreateTracksFromSsrcInfos()
637 track->id = track_id; in CreateTracksFromSsrcInfos()
/external/chromium_org/media/mp4/
Dtrack_run_iterator_unittest.cc58 moov_.tracks[0].header.track_id = 1; in CreateMovie()
67 moov_.extends.tracks[0].track_id = 1; in CreateMovie()
70 moov_.tracks[1].header.track_id = 2; in CreateMovie()
79 moov_.extends.tracks[1].track_id = 2; in CreateMovie()
82 moov_.tracks[2].header.track_id = 3; in CreateMovie()
90 moof.tracks[0].header.track_id = 1; in CreateFragment()
102 moof.tracks[1].header.track_id = 2; in CreateFragment()
172 EXPECT_EQ(iter_->track_id(), 1u); in TEST_F()
182 EXPECT_EQ(iter_->track_id(), 1u); in TEST_F()
197 EXPECT_EQ(iter_->track_id(), 2u); in TEST_F()
[all …]
Dtrack_run_iterator.cc28 uint32 track_id; member
48 : track_id(0), in TrackRunInfo()
166 if (moov_->tracks[t].header.track_id == traf.header.track_id) in Init()
173 if (moov_->extends.tracks[t].track_id == traf.header.track_id) in Init()
212 tri.track_id = traf.header.track_id; in Init()
363 uint32 TrackRunIterator::track_id() const { in track_id() function in media::mp4::TrackRunIterator
365 return run_itr_->track_id; in track_id()
Dmp4_stream_parser.cc182 if (trex.track_id == track->header.track_id) { in ParseMoov()
263 audio_track_id_ = track->header.track_id; in ParseMoov()
291 video_track_id_ = track->header.track_id; in ParseMoov()
435 bool audio = has_audio_ && audio_track_id_ == runs_->track_id(); in EnqueueSample()
436 bool video = has_video_ && video_track_id_ == runs_->track_id(); in EnqueueSample()
Dbox_definitions.cc188 track_id(0), in TrackHeader()
203 reader->Read4(&track_id) && in Parse()
209 reader->Read4(&track_id) && in Parse()
562 : track_id(0), in TrackExtends()
572 reader->Read4(&track_id) && in Parse()
625 : track_id(0), in TrackFragmentHeader()
636 RCHECK(reader->ReadFullBoxHeader() && reader->Read4(&track_id)); in Parse()
Dbox_definitions.h116 uint32 track_id; member
268 uint32 track_id; member
307 uint32 track_id; member
Dtrack_run_iterator.h65 uint32 track_id() const;
/external/chromium_org/content/renderer/media/
Dmock_media_stream_registry.cc37 bool MockMediaStreamRegistry::AddVideoTrack(const std::string& track_id) { in AddVideoTrack() argument
39 return factory_->AddNativeVideoMediaTrack(track_id, &test_stream_, capturer); in AddVideoTrack()
Dremote_media_stream_impl.cc167 std::string track_id = (*audio_it)->observered_track()->id(); in OnChanged() local
168 if (webrtc_stream_->FindAudioTrack(track_id) == NULL) { in OnChanged()
180 std::string track_id = (*video_it)->observered_track()->id(); in OnChanged() local
181 if (webrtc_stream_->FindVideoTrack(track_id) == NULL) { in OnChanged()
Dvideo_destination_handler.cc184 std::string track_id; in Open() local
189 base::Base64Encode(base::RandBytesAsString(64), &track_id); in Open()
191 if (!factory->AddNativeVideoMediaTrack(track_id, &stream, writer)) { in Open()
Dmock_media_stream_dependency_factory.cc34 const std::string& track_id) { in FindTrack() argument
37 if ((*it)->id() == track_id) { in FindTrack()
90 FindAudioTrack(const std::string& track_id) OVERRIDE { in FindAudioTrack() argument
91 AudioTrackVector::iterator it = FindTrack(&audio_track_vector_, track_id); in FindAudioTrack()
95 FindVideoTrack(const std::string& track_id) OVERRIDE { in FindVideoTrack() argument
96 VideoTrackVector::iterator it = FindTrack(&video_track_vector_, track_id); in FindVideoTrack()
Dmedia_stream_dependency_factory.cc461 std::string track_id = UTF16ToUTF8(track.id()); in CreateNativeAudioMediaStreamTrack() local
467 CreateLocalAudioTrack(track_id, in CreateNativeAudioMediaStreamTrack()
499 std::string track_id = UTF16ToUTF8(track.id()); in CreateNativeVideoMediaStreamTrack() local
501 CreateLocalVideoTrack(track_id, source_data->video_source())); in CreateNativeVideoMediaStreamTrack()
560 const std::string& track_id, in AddNativeVideoMediaTrack() argument
570 CreateLocalVideoTrack(track_id, capturer); in AddNativeVideoMediaTrack()
581 blink::WebString webkit_track_id(UTF8ToUTF16(track_id)); in AddNativeVideoMediaTrack()
601 std::string track_id = UTF16ToUTF8(track.id()); in RemoveNativeMediaStreamTrack() local
605 native_stream->FindAudioTrack(track_id)); in RemoveNativeMediaStreamTrack()
608 native_stream->FindVideoTrack(track_id)); in RemoveNativeMediaStreamTrack()
Dmock_media_stream_registry.h20 bool AddVideoTrack(const std::string& track_id);
Dmedia_stream_dependency_factory.h113 bool AddNativeVideoMediaTrack(const std::string& track_id, in NON_EXPORTED_BASE()