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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.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_audio.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h b/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h
index 29a4c7c3912d614397b43a4c53f83bcd05fe777e..15d0bdeae671c4168c26f0c9ac9aa8c7c825e19c 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h
@@ -56,10 +56,7 @@ class RTPReceiverAudio : 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_payload_registry_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698