Home
last modified time | relevance | path

Searched refs:MediaStream (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/pc/
Dmedia_stream.cc33 rtc::scoped_refptr<MediaStream> MediaStream::Create(const std::string& id) { in Create()
34 rtc::RefCountedObject<MediaStream>* stream = in Create()
35 new rtc::RefCountedObject<MediaStream>(id); in Create()
39 MediaStream::MediaStream(const std::string& id) : id_(id) {} in MediaStream() function in webrtc::MediaStream
41 bool MediaStream::AddTrack(AudioTrackInterface* track) { in AddTrack()
45 bool MediaStream::AddTrack(VideoTrackInterface* track) { in AddTrack()
49 bool MediaStream::RemoveTrack(AudioTrackInterface* track) { in RemoveTrack()
53 bool MediaStream::RemoveTrack(VideoTrackInterface* track) { in RemoveTrack()
57 rtc::scoped_refptr<AudioTrackInterface> MediaStream::FindAudioTrack( in FindAudioTrack()
65 rtc::scoped_refptr<VideoTrackInterface> MediaStream::FindVideoTrack( in FindVideoTrack()
[all …]
Dmedia_stream.h24 class MediaStream : public Notifier<MediaStreamInterface> {
26 static rtc::scoped_refptr<MediaStream> Create(const std::string& id);
43 explicit MediaStream(const std::string& id);
Drtp_receiver.cc41 rtc::Thread::Current(), MediaStream::Create(std::move(stream_ids[i]))); in CreateStreamsFromIds()
Dstats_collector_unittest.cc780 stream_ = MediaStream::Create("streamid"); in AddOutgoingVideoTrack()
795 stream_ = MediaStream::Create("streamid"); in AddIncomingVideoTrack()
814 stream_ = MediaStream::Create("streamid"); in AddOutgoingAudioTrack()
829 stream_ = MediaStream::Create("streamid"); in AddIncomingAudioTrack()
838 rtc::scoped_refptr<MediaStream> stream_;
1485 stream_ = MediaStream::Create("streamid"); in TEST_P()
1496 rtc::scoped_refptr<MediaStream> remote_stream( in TEST_P()
1497 MediaStream::Create("remotestreamid")); in TEST_P()
1666 rtc::scoped_refptr<MediaStream> remote_stream( in TEST_P()
1667 MediaStream::Create("remotestreamid")); in TEST_P()
Dmedia_stream_unittest.cc58 stream_ = MediaStream::Create(kStreamId1); in SetUp()
Drtc_stats_collector_unittest.cc407 rtc::scoped_refptr<MediaStream> local_stream; in SetupLocalTrackAndSender()
409 local_stream = MediaStream::Create("LocalStreamId"); in SetupLocalTrackAndSender()
439 rtc::scoped_refptr<MediaStream> remote_stream = in SetupRemoteTrackAndReceiver()
440 MediaStream::Create(stream_id); in SetupRemoteTrackAndReceiver()
1484 rtc::scoped_refptr<MediaStream> local_stream = in TEST_F()
1485 MediaStream::Create("LocalStreamId"); in TEST_F()
1540 rtc::scoped_refptr<MediaStream> remote_stream = in TEST_F()
1541 MediaStream::Create("RemoteStreamId"); in TEST_F()
1624 rtc::scoped_refptr<MediaStream> local_stream = in TEST_F()
1625 MediaStream::Create("LocalStreamId"); in TEST_F()
[all …]
Dpeer_connection_factory.cc312 MediaStream::Create(stream_id)); in CreateLocalMediaStream()
Dpeer_connection_interface_unittest.cc555 webrtc::MediaStream::Create(kStreams[i])); in CreateStreamCollection()
1106 webrtc::MediaStream::Create(mediastream_id)); in CreateSessionDescriptionAndReference()
3236 webrtc::MediaStream::Create(kStreams[1])); in TEST_F()
Dpeer_connection.cc3390 MediaStream::Create(stream_id)); in SetAssociatedRemoteStreams()
3402 rtc::Thread::Current(), MediaStream::Create(rtc::CreateRandomUuid())); in SetAssociatedRemoteStreams()
5357 MediaStream::Create(stream_id)); in UpdateRemoteSendersList()
5377 rtc::Thread::Current(), MediaStream::Create(kDefaultStreamId)); in UpdateRemoteSendersList()
Drtp_sender_receiver_unittest.cc116 local_stream_(MediaStream::Create(kStreamId1)) { in RtpSenderReceiverTest()
/external/webrtc/rtc_tools/loopback_test/
Dadapter.js124 if (!MediaStream.prototype.getVideoTracks) {
125 MediaStream.prototype.getVideoTracks = function() { class
130 if (!MediaStream.prototype.getAudioTracks) {
131 MediaStream.prototype.getAudioTracks = function() {
/external/webrtc/sdk/android/api/org/webrtc/
DMediaStream.java18 public class MediaStream { class
27 public MediaStream(long nativeStream) { in MediaStream() method in MediaStream
DPeerConnection.java129 @CalledByNative("Observer") void onAddStream(MediaStream stream); in onAddStream()
132 @CalledByNative("Observer") void onRemoveStream(MediaStream stream); in onRemoveStream()
144 @CalledByNative("Observer") void onAddTrack(RtpReceiver receiver, MediaStream[] mediaStreams); in onAddTrack()
818 private final List<MediaStream> localStreams = new ArrayList<>();
908 public boolean addStream(MediaStream stream) { in addStream()
922 public void removeStream(MediaStream stream) { in removeStream()
1202 for (MediaStream stream : localStreams) { in dispose()
DPeerConnectionFactory.java430 public MediaStream createLocalMediaStream(String label) { in createLocalMediaStream()
432 return new MediaStream(nativeCreateLocalMediaStream(nativeFactory, label)); in createLocalMediaStream()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DPeerConnectionEndToEndTest.java81 private Map<MediaStream, WeakReference<VideoSink>> videoSinks = new IdentityHashMap<>();
89 private final HashSet<MediaStream> gotRemoteStreams = new HashSet<>();
276 public synchronized void onAddStream(MediaStream stream) { in onAddStream()
298 public synchronized void onRemoveStream(MediaStream stream) { in onRemoveStream()
346 public synchronized void onAddTrack(RtpReceiver receiver, MediaStream[] mediaStreams) { in onAddTrack()
639 private static WeakReference<MediaStream> addTracksToPC(PeerConnectionFactory factory, in addTracksToPC()
642 MediaStream lMS = factory.createLocalMediaStream(streamLabel); in addTracksToPC()
654 return new WeakReference<MediaStream>(lMS); in addTracksToPC()
703 WeakReference<MediaStream> oLMS = in testCompleteSession()
734 WeakReference<MediaStream> aLMS = addTracksToPC(factory, answeringPC, videoSource, in testCompleteSession()
[all …]
/external/webrtc/
DREADME.chromium11 PeerConnection/MediaStream.
/external/webrtc/api/
Dmedia_stream_proxy.h23 BEGIN_SIGNALING_PROXY_MAP(MediaStream)
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java50 import org.webrtc.MediaStream;
1252 public void onAddStream(final MediaStream stream) {} in onAddStream()
1255 public void onRemoveStream(final MediaStream stream) {} in onRemoveStream()
1297 public void onAddTrack(final RtpReceiver receiver, final MediaStream[] mediaStreams) {} in onAddTrack()
/external/webrtc/modules/pacing/
Dpacing_controller_unittest.cc330 struct MediaStream { struct in webrtc::test::PacingControllerFieldTrialTest
340 void InsertPacket(PacingController* pacer, MediaStream* stream) { in InsertPacket()
359 MediaStream audio{/*type*/ RtpPacketMediaType::kAudio,
361 MediaStream video{/*type*/ RtpPacketMediaType::kVideo,
/external/webrtc/sdk/android/
DBUILD.gn273 "api/org/webrtc/MediaStream.java",
1231 "api/org/webrtc/MediaStream.java",