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

Unified Diff: webrtc/modules/rtp_rtcp/include/rtp_receiver.h

Issue 2523843002: Send audio and video codecs to RTPPayloadRegistry (Closed)
Patch Set: Change strcpy to strncpy Created 4 years, 1 month 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
Index: webrtc/modules/rtp_rtcp/include/rtp_receiver.h
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
index 9db1c63da78976d554d8530e916f017cf99a66be..799d6b64c399a6d5bb0f28fbe478aad4d9b0a789 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
@@ -16,7 +16,9 @@
namespace webrtc {
+struct CodecInst;
class RTPPayloadRegistry;
+class VideoCodec;
class TelephoneEventHandler {
public:
@@ -56,6 +58,8 @@ class RtpReceiver {
// Registers a receive payload in the payload registry and notifies the media
// receiver strategy.
+ virtual int32_t RegisterReceivePayload(const CodecInst& audio_codec) = 0;
+ // TODO(magjed): Remove once external code is updated.
virtual int32_t RegisterReceivePayload(
const char payload_name[RTP_PAYLOAD_NAME_SIZE],
const int8_t payload_type,
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h ('k') | webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698