Allow to turn RtcpTransciever on and off at runtime.
Bug: webrtc:8239 Change-Id: I8678d1ee9cd0da194a1243d40b508bb62cb3f257 Reviewed-on: https://webrtc-review.googlesource.com/60180 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22311}
This commit is contained in:

committed by
Commit Bot

parent
70473fcac4
commit
e3927c5885
@ -43,6 +43,8 @@ class RtcpTransceiverImpl {
|
||||
void RemoveMediaReceiverRtcpObserver(uint32_t remote_ssrc,
|
||||
MediaReceiverRtcpObserver* observer);
|
||||
|
||||
void SetReadyToSend(bool ready);
|
||||
|
||||
void ReceivePacket(rtc::ArrayView<const uint8_t> packet, int64_t now_us);
|
||||
|
||||
void SendCompoundPacket();
|
||||
@ -88,6 +90,7 @@ class RtcpTransceiverImpl {
|
||||
|
||||
const RtcpTransceiverConfig config_;
|
||||
|
||||
bool ready_to_send_;
|
||||
rtc::Optional<rtcp::Remb> remb_;
|
||||
// TODO(danilchap): Remove entries from remote_senders_ that are no longer
|
||||
// needed.
|
||||
|
Reference in New Issue
Block a user