- void SendRtcpReport(uint32 media_ssrc);
- void SendRtcpPli(uint32 media_ssrc);
- void SendRtcpCast(const RtcpCastMessage& cast_message);
- void SetRemoteSSRC(uint32 ssrc);
+ // |sender_log_message| is optional; without it no log messages will be
+ // attached to the RTCP report; instead a normal RTCP send report will be
+ // sent.
+ // Additionally if all messages in |sender_log_message| does
+ // not fit in the packet the |sender_log_message| will contain the remaining
+ // unsent messages.
+ void SendRtcpFromRtpSender(
+ const transport::RtcpSenderLogMessage& sender_log_message);
+
+ // |cast_message| and |event_subscriber| is optional; if |cast_message| is
+ // provided the RTCP receiver report will append a Cast message containing
+ // Acks and Nacks; if |event_subscriber| is provided the RTCP receiver report
+ // will append the log messages from the subscriber.
+ void SendRtcpFromRtpReceiver(const RtcpCastMessage* cast_message,
+ ReceiverRtcpEventSubscriber* event_subscriber);