Remove channel ids from various interfaces.
Starts by removing channel/engine id from ViEChannel which propagates down to the RTP/RTCP module as well as the transport class. IncomingVideoStream::RenderFrame() is untouched for now but receives a fake id instead of the previous channel id. Added a TODO to remove it later but the RenderFrame call is implemented in a lot of platform-dependent files and should probably remove the "manager" aspect of renderers, so preferring to do it separately BUG=webrtc:1695 R=henrika@webrtc.org, mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1335353005 . Cr-Commit-Position: refs/heads/master@{#9978}
This commit is contained in:
@ -25,8 +25,7 @@ class RtpReceiverImpl : public RtpReceiver {
|
||||
// Callbacks passed in here may not be NULL (use Null Object callbacks if you
|
||||
// want callbacks to do nothing). This class takes ownership of the media
|
||||
// receiver but nothing else.
|
||||
RtpReceiverImpl(int32_t id,
|
||||
Clock* clock,
|
||||
RtpReceiverImpl(Clock* clock,
|
||||
RtpAudioFeedback* incoming_audio_messages_callback,
|
||||
RtpFeedback* incoming_messages_callback,
|
||||
RTPPayloadRegistry* rtp_payload_registry,
|
||||
@ -79,8 +78,6 @@ class RtpReceiverImpl : public RtpReceiver {
|
||||
RTPPayloadRegistry* rtp_payload_registry_;
|
||||
rtc::scoped_ptr<RTPReceiverStrategy> rtp_media_receiver_;
|
||||
|
||||
int32_t id_;
|
||||
|
||||
RtpFeedback* cb_rtp_feedback_;
|
||||
|
||||
rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtp_receiver_;
|
||||
|
||||
Reference in New Issue
Block a user