Move RTP module activation into PayloadRouter.
Simplifies PayloadRouter to not accept dynamically-changing modules as well as usage of PayloadRouter inside ViEChannel::SetSendCodec. BUG=webrtc:5494 R=stefan@webrtc.org TBR=mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1725363003 . Cr-Commit-Position: refs/heads/master@{#11787}
This commit is contained in:
@ -51,6 +51,9 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
||||
|
||||
int32_t RegisterSendPayload(const VideoCodec& video_codec) override;
|
||||
|
||||
void RegisterVideoSendPayload(int payload_type,
|
||||
const char* payload_name) override;
|
||||
|
||||
int32_t DeRegisterSendPayload(int8_t payload_type) override;
|
||||
|
||||
int8_t SendPayloadType() const;
|
||||
@ -369,7 +372,6 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
||||
uint32_t nack_last_time_sent_full_prev_;
|
||||
uint16_t nack_last_seq_number_sent_;
|
||||
|
||||
VideoCodec send_video_codec_;
|
||||
KeyFrameRequestMethod key_frame_req_method_;
|
||||
|
||||
RemoteBitrateEstimator* remote_bitrate_;
|
||||
|
||||
Reference in New Issue
Block a user