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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_receiver_video.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/source/rtp_receiver_video.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h
index f1628b10ef1a21aef053e7a4ca1d486862a6d208..c27fe45c823a84f27b3db8570674878a472a0a16 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h
@@ -39,10 +39,7 @@ class RTPReceiverVideo : public RTPReceiverStrategy {
bool ShouldReportCsrcChanges(uint8_t payload_type) const override;
- int32_t OnNewPayloadTypeCreated(
- const char payload_name[RTP_PAYLOAD_NAME_SIZE],
- int8_t payload_type,
- uint32_t frequency) override;
+ int32_t OnNewPayloadTypeCreated(const CodecInst& audio_codec) override;
int32_t InvokeOnInitializeDecoder(
RtpFeedback* callback,
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698