webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
webrtc::RTCPSender Class Reference

#include <rtcp_sender.h>

Classes

struct  FeedbackState
 
class  RtcpContext
 

Public Member Functions

 RTCPSender (bool audio, Clock *clock, ReceiveStatistics *receive_statistics, RtcpPacketTypeCounterObserver *packet_type_counter_observer, RtcEventLog *event_log, Transport *outgoing_transport)
 
virtual ~RTCPSender ()
 
RtcpMode Status () const
 
void SetRTCPStatus (RtcpMode method)
 
bool Sending () const
 
int32_t SetSendingStatus (const FeedbackState &feedback_state, bool enabled)
 
int32_t SetNackStatus (bool enable)
 
void SetTimestampOffset (uint32_t timestamp_offset)
 
void SetLastRtpTime (uint32_t rtp_timestamp, int64_t capture_time_ms)
 
void SetSSRC (uint32_t ssrc)
 
void SetRemoteSSRC (uint32_t ssrc)
 
int32_t SetCNAME (const char *cName)
 
int32_t AddMixedCNAME (uint32_t SSRC, const char *c_name)
 
int32_t RemoveMixedCNAME (uint32_t SSRC)
 
bool TimeToSendRTCPReport (bool sendKeyframeBeforeRTP=false) const
 
int32_t SendRTCP (const FeedbackState &feedback_state, RTCPPacketType packetType, int32_t nackSize=0, const uint16_t *nackList=0, uint64_t pictureID=0)
 
int32_t SendCompoundRTCP (const FeedbackState &feedback_state, const std::set< RTCPPacketType > &packetTypes, int32_t nackSize=0, const uint16_t *nackList=0, uint64_t pictureID=0)
 
bool REMB () const
 
void SetREMBStatus (bool enable)
 
void SetREMBData (uint32_t bitrate, const std::vector< uint32_t > &ssrcs)
 
bool TMMBR () const
 
void SetTMMBRStatus (bool enable)
 
void SetMaxRtpPacketSize (size_t max_packet_size)
 
void SetTmmbn (std::vector< rtcp::TmmbItem > bounding_set)
 
int32_t SetApplicationSpecificData (uint8_t subType, uint32_t name, const uint8_t *data, uint16_t length)
 
int32_t SetRTCPVoIPMetrics (const RTCPVoIPMetric *VoIPMetric)
 
void SendRtcpXrReceiverReferenceTime (bool enable)
 
bool RtcpXrReceiverReferenceTime () const
 
void SetCsrcs (const std::vector< uint32_t > &csrcs)
 
void SetTargetBitrate (unsigned int target_bitrate)
 
void SetVideoBitrateAllocation (const BitrateAllocation &bitrate)
 
bool SendFeedbackPacket (const rtcp::TransportFeedback &packet)
 
 RTCPSender (bool audio, Clock *clock, ReceiveStatistics *receive_statistics, RtcpPacketTypeCounterObserver *packet_type_counter_observer, RtcEventLog *event_log, Transport *outgoing_transport)
 
virtual ~RTCPSender ()
 
RtcpMode Status () const
 
void SetRTCPStatus (RtcpMode method)
 
bool Sending () const
 
int32_t SetSendingStatus (const FeedbackState &feedback_state, bool enabled)
 
int32_t SetNackStatus (bool enable)
 
void SetTimestampOffset (uint32_t timestamp_offset)
 
void SetLastRtpTime (uint32_t rtp_timestamp, int64_t capture_time_ms)
 
void SetSSRC (uint32_t ssrc)
 
void SetRemoteSSRC (uint32_t ssrc)
 
int32_t SetCNAME (const char *cName)
 
int32_t AddMixedCNAME (uint32_t SSRC, const char *c_name)
 
int32_t RemoveMixedCNAME (uint32_t SSRC)
 
bool TimeToSendRTCPReport (bool sendKeyframeBeforeRTP=false) const
 
int32_t SendRTCP (const FeedbackState &feedback_state, RTCPPacketType packetType, int32_t nackSize=0, const uint16_t *nackList=0, uint64_t pictureID=0)
 
int32_t SendCompoundRTCP (const FeedbackState &feedback_state, const std::set< RTCPPacketType > &packetTypes, int32_t nackSize=0, const uint16_t *nackList=0, uint64_t pictureID=0)
 
bool REMB () const
 
void SetREMBStatus (bool enable)
 
void SetREMBData (uint32_t bitrate, const std::vector< uint32_t > &ssrcs)
 
bool TMMBR () const
 
void SetTMMBRStatus (bool enable)
 
void SetMaxRtpPacketSize (size_t max_packet_size)
 
void SetTmmbn (std::vector< rtcp::TmmbItem > bounding_set)
 
int32_t SetApplicationSpecificData (uint8_t subType, uint32_t name, const uint8_t *data, uint16_t length)
 
int32_t SetRTCPVoIPMetrics (const RTCPVoIPMetric *VoIPMetric)
 
void SendRtcpXrReceiverReferenceTime (bool enable)
 
bool RtcpXrReceiverReferenceTime () const
 
void SetCsrcs (const std::vector< uint32_t > &csrcs)
 
void SetTargetBitrate (unsigned int target_bitrate)
 
void SetVideoBitrateAllocation (const BitrateAllocation &bitrate)
 
bool SendFeedbackPacket (const rtcp::TransportFeedback &packet)
 

Constructor & Destructor Documentation

◆ RTCPSender() [1/2]

webrtc::RTCPSender::RTCPSender ( bool  audio,
Clock clock,
ReceiveStatistics receive_statistics,
RtcpPacketTypeCounterObserver packet_type_counter_observer,
RtcEventLog event_log,
Transport outgoing_transport 
)

◆ ~RTCPSender() [1/2]

webrtc::RTCPSender::~RTCPSender ( )
virtual

◆ RTCPSender() [2/2]

webrtc::RTCPSender::RTCPSender ( bool  audio,
Clock clock,
ReceiveStatistics receive_statistics,
RtcpPacketTypeCounterObserver packet_type_counter_observer,
RtcEventLog event_log,
Transport outgoing_transport 
)

◆ ~RTCPSender() [2/2]

virtual webrtc::RTCPSender::~RTCPSender ( )
virtual

Member Function Documentation

◆ AddMixedCNAME() [1/2]

int32_t webrtc::RTCPSender::AddMixedCNAME ( uint32_t  SSRC,
const char *  c_name 
)

◆ AddMixedCNAME() [2/2]

int32_t webrtc::RTCPSender::AddMixedCNAME ( uint32_t  SSRC,
const char *  c_name 
)

◆ REMB() [1/2]

bool webrtc::RTCPSender::REMB ( ) const

◆ REMB() [2/2]

bool webrtc::RTCPSender::REMB ( ) const

◆ RemoveMixedCNAME() [1/2]

int32_t webrtc::RTCPSender::RemoveMixedCNAME ( uint32_t  SSRC)

◆ RemoveMixedCNAME() [2/2]

int32_t webrtc::RTCPSender::RemoveMixedCNAME ( uint32_t  SSRC)

◆ RtcpXrReceiverReferenceTime() [1/2]

bool webrtc::RTCPSender::RtcpXrReceiverReferenceTime ( ) const

◆ RtcpXrReceiverReferenceTime() [2/2]

bool webrtc::RTCPSender::RtcpXrReceiverReferenceTime ( ) const

◆ SendCompoundRTCP() [1/2]

int32_t webrtc::RTCPSender::SendCompoundRTCP ( const FeedbackState feedback_state,
const std::set< RTCPPacketType > &  packetTypes,
int32_t  nackSize = 0,
const uint16_t nackList = 0,
uint64_t  pictureID = 0 
)

◆ SendCompoundRTCP() [2/2]

int32_t webrtc::RTCPSender::SendCompoundRTCP ( const FeedbackState feedback_state,
const std::set< RTCPPacketType > &  packetTypes,
int32_t  nackSize = 0,
const uint16_t nackList = 0,
uint64_t  pictureID = 0 
)

◆ SendFeedbackPacket() [1/2]

bool webrtc::RTCPSender::SendFeedbackPacket ( const rtcp::TransportFeedback packet)

◆ SendFeedbackPacket() [2/2]

bool webrtc::RTCPSender::SendFeedbackPacket ( const rtcp::TransportFeedback packet)

◆ Sending() [1/2]

bool webrtc::RTCPSender::Sending ( ) const

◆ Sending() [2/2]

bool webrtc::RTCPSender::Sending ( ) const

◆ SendRTCP() [1/2]

int32_t webrtc::RTCPSender::SendRTCP ( const FeedbackState feedback_state,
RTCPPacketType  packetType,
int32_t  nackSize = 0,
const uint16_t nackList = 0,
uint64_t  pictureID = 0 
)

◆ SendRTCP() [2/2]

int32_t webrtc::RTCPSender::SendRTCP ( const FeedbackState feedback_state,
RTCPPacketType  packetType,
int32_t  nackSize = 0,
const uint16_t nackList = 0,
uint64_t  pictureID = 0 
)

◆ SendRtcpXrReceiverReferenceTime() [1/2]

void webrtc::RTCPSender::SendRtcpXrReceiverReferenceTime ( bool  enable)

◆ SendRtcpXrReceiverReferenceTime() [2/2]

void webrtc::RTCPSender::SendRtcpXrReceiverReferenceTime ( bool  enable)

◆ SetApplicationSpecificData() [1/2]

int32_t webrtc::RTCPSender::SetApplicationSpecificData ( uint8_t  subType,
uint32_t  name,
const uint8_t data,
uint16_t  length 
)

◆ SetApplicationSpecificData() [2/2]

int32_t webrtc::RTCPSender::SetApplicationSpecificData ( uint8_t  subType,
uint32_t  name,
const uint8_t data,
uint16_t  length 
)

◆ SetCNAME() [1/2]

int32_t webrtc::RTCPSender::SetCNAME ( const char *  cName)

◆ SetCNAME() [2/2]

int32_t webrtc::RTCPSender::SetCNAME ( const char *  cName)

◆ SetCsrcs() [1/2]

void webrtc::RTCPSender::SetCsrcs ( const std::vector< uint32_t > &  csrcs)

◆ SetCsrcs() [2/2]

void webrtc::RTCPSender::SetCsrcs ( const std::vector< uint32_t > &  csrcs)

◆ SetLastRtpTime() [1/2]

void webrtc::RTCPSender::SetLastRtpTime ( uint32_t  rtp_timestamp,
int64_t  capture_time_ms 
)

◆ SetLastRtpTime() [2/2]

void webrtc::RTCPSender::SetLastRtpTime ( uint32_t  rtp_timestamp,
int64_t  capture_time_ms 
)

◆ SetMaxRtpPacketSize() [1/2]

void webrtc::RTCPSender::SetMaxRtpPacketSize ( size_t  max_packet_size)

◆ SetMaxRtpPacketSize() [2/2]

void webrtc::RTCPSender::SetMaxRtpPacketSize ( size_t  max_packet_size)

◆ SetNackStatus() [1/2]

int32_t webrtc::RTCPSender::SetNackStatus ( bool  enable)

◆ SetNackStatus() [2/2]

int32_t webrtc::RTCPSender::SetNackStatus ( bool  enable)

◆ SetREMBData() [1/2]

void webrtc::RTCPSender::SetREMBData ( uint32_t  bitrate,
const std::vector< uint32_t > &  ssrcs 
)

◆ SetREMBData() [2/2]

void webrtc::RTCPSender::SetREMBData ( uint32_t  bitrate,
const std::vector< uint32_t > &  ssrcs 
)

◆ SetREMBStatus() [1/2]

void webrtc::RTCPSender::SetREMBStatus ( bool  enable)

◆ SetREMBStatus() [2/2]

void webrtc::RTCPSender::SetREMBStatus ( bool  enable)

◆ SetRemoteSSRC() [1/2]

void webrtc::RTCPSender::SetRemoteSSRC ( uint32_t  ssrc)

◆ SetRemoteSSRC() [2/2]

void webrtc::RTCPSender::SetRemoteSSRC ( uint32_t  ssrc)

◆ SetRTCPStatus() [1/2]

void webrtc::RTCPSender::SetRTCPStatus ( RtcpMode  method)

◆ SetRTCPStatus() [2/2]

void webrtc::RTCPSender::SetRTCPStatus ( RtcpMode  method)

◆ SetRTCPVoIPMetrics() [1/2]

int32_t webrtc::RTCPSender::SetRTCPVoIPMetrics ( const RTCPVoIPMetric VoIPMetric)

◆ SetRTCPVoIPMetrics() [2/2]

int32_t webrtc::RTCPSender::SetRTCPVoIPMetrics ( const RTCPVoIPMetric VoIPMetric)

◆ SetSendingStatus() [1/2]

int32_t webrtc::RTCPSender::SetSendingStatus ( const FeedbackState feedback_state,
bool  enabled 
)

◆ SetSendingStatus() [2/2]

int32_t webrtc::RTCPSender::SetSendingStatus ( const FeedbackState feedback_state,
bool  enabled 
)

◆ SetSSRC() [1/2]

void webrtc::RTCPSender::SetSSRC ( uint32_t  ssrc)

◆ SetSSRC() [2/2]

void webrtc::RTCPSender::SetSSRC ( uint32_t  ssrc)

◆ SetTargetBitrate() [1/2]

void webrtc::RTCPSender::SetTargetBitrate ( unsigned int  target_bitrate)

◆ SetTargetBitrate() [2/2]

void webrtc::RTCPSender::SetTargetBitrate ( unsigned int  target_bitrate)

◆ SetTimestampOffset() [1/2]

void webrtc::RTCPSender::SetTimestampOffset ( uint32_t  timestamp_offset)

◆ SetTimestampOffset() [2/2]

void webrtc::RTCPSender::SetTimestampOffset ( uint32_t  timestamp_offset)

◆ SetTmmbn() [1/2]

void webrtc::RTCPSender::SetTmmbn ( std::vector< rtcp::TmmbItem bounding_set)

◆ SetTmmbn() [2/2]

void webrtc::RTCPSender::SetTmmbn ( std::vector< rtcp::TmmbItem bounding_set)

◆ SetTMMBRStatus() [1/2]

void webrtc::RTCPSender::SetTMMBRStatus ( bool  enable)

◆ SetTMMBRStatus() [2/2]

void webrtc::RTCPSender::SetTMMBRStatus ( bool  enable)

◆ SetVideoBitrateAllocation() [1/2]

void webrtc::RTCPSender::SetVideoBitrateAllocation ( const BitrateAllocation bitrate)

◆ SetVideoBitrateAllocation() [2/2]

void webrtc::RTCPSender::SetVideoBitrateAllocation ( const BitrateAllocation bitrate)

◆ Status() [1/2]

RtcpMode webrtc::RTCPSender::Status ( ) const

◆ Status() [2/2]

RtcpMode webrtc::RTCPSender::Status ( ) const

◆ TimeToSendRTCPReport() [1/2]

bool webrtc::RTCPSender::TimeToSendRTCPReport ( bool  sendKeyframeBeforeRTP = false) const

◆ TimeToSendRTCPReport() [2/2]

bool webrtc::RTCPSender::TimeToSendRTCPReport ( bool  sendKeyframeBeforeRTP = false) const

◆ TMMBR() [1/2]

bool webrtc::RTCPSender::TMMBR ( ) const

◆ TMMBR() [2/2]

bool webrtc::RTCPSender::TMMBR ( ) const

The documentation for this class was generated from the following files: