Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: webrtc/api/mediastreamprovider.h

Issue 1999853002: Forward the SignalFirstPacketReceived to RtpReceiver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Modified the unit test. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/api/peerconnection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastreamprovider.h
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h
index b508c39f7e0289e3fb3c79eac3491275c0022662..784a95423dc9afe423d90c94184b70e9c7de4161 100644
--- a/webrtc/api/mediastreamprovider.h
+++ b/webrtc/api/mediastreamprovider.h
@@ -72,6 +72,9 @@ class AudioProviderInterface {
uint32_t ssrc,
const RtpParameters& parameters) = 0;
+ // Called when the first audio packet is received.
+ sigslot::signal0<> SignalFirstAudioPacketReceived;
+
protected:
virtual ~AudioProviderInterface() {}
};
@@ -105,6 +108,9 @@ class VideoProviderInterface {
uint32_t ssrc,
const RtpParameters& parameters) = 0;
+ // Called when the first video packet is received.
+ sigslot::signal0<> SignalFirstVideoPacketReceived;
+
protected:
virtual ~VideoProviderInterface() {}
};
« no previous file with comments | « no previous file | webrtc/api/peerconnection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698