RtpReceiver: Add RegisterReceivePayload function for VideoCodec
Turns out this function is needed by external code. BUG=webrtc:6743 Review-Url: https://codereview.webrtc.org/2532663002 Cr-Commit-Position: refs/heads/master@{#15237}
This commit is contained in:
@ -59,6 +59,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;
|
||||
// Registers a receive payload in the payload registry.
|
||||
virtual int32_t RegisterReceivePayload(const VideoCodec& video_codec) = 0;
|
||||
// TODO(magjed): Remove once external code is updated.
|
||||
virtual int32_t RegisterReceivePayload(
|
||||
const char payload_name[RTP_PAYLOAD_NAME_SIZE],
|
||||
|
||||
Reference in New Issue
Block a user