Amazon Kinesis Webrtc C SDK
Rtp.c File Reference
#include "../Include_i.h"
Include dependency graph for Rtp.c:

Macros

#define LOG_CLASS   "RtcRtp"
 

Typedefs

typedef STATUS(* RtpPayloadFunc) (UINT32, PBYTE, UINT32, PBYTE, PUINT32, PUINT32, PUINT32)
 

Functions

STATUS createKvsRtpTransceiver (RTC_RTP_TRANSCEIVER_DIRECTION direction, PKvsPeerConnection pKvsPeerConnection, UINT32 ssrc, UINT32 rtxSsrc, PRtcMediaStreamTrack pRtcMediaStreamTrack, PJitterBuffer pJitterBuffer, RTC_CODEC rtcCodec, PKvsRtpTransceiver *ppKvsRtpTransceiver)
 
STATUS freeTransceiver (PRtcRtpTransceiver *pRtcRtpTransceiver)
 Frees the previously created transceiver object. More...
 
STATUS freeKvsRtpTransceiver (PKvsRtpTransceiver *ppKvsRtpTransceiver)
 
STATUS kvsRtpTransceiverSetJitterBuffer (PKvsRtpTransceiver pKvsRtpTransceiver, PJitterBuffer pJitterBuffer)
 
STATUS transceiverOnFrame (PRtcRtpTransceiver pRtcRtpTransceiver, UINT64 customData, RtcOnFrame rtcOnFrame)
 Set a callback for transceiver frame. More...
 
STATUS transceiverOnBandwidthEstimation (PRtcRtpTransceiver pRtcRtpTransceiver, UINT64 customData, RtcOnBandwidthEstimation rtcOnBandwidthEstimation)
 Set a callback for bandwidth estimation results. More...
 
STATUS transceiverOnPictureLoss (PRtcRtpTransceiver pRtcRtpTransceiver, UINT64 customData, RtcOnPictureLoss onPictureLoss)
 Set a callback for picture loss packet (PLI) More...
 
STATUS updateEncoderStats (PRtcRtpTransceiver pRtcRtpTransceiver, PRtcEncoderStats encoderStats)
 call this function to update stats which depend on external encoder More...
 
STATUS writeFrame (PRtcRtpTransceiver pRtcRtpTransceiver, PFrame pFrame)
 Packetizes and sends media via the configuration specified by the RtcRtpTransceiver. More...
 
STATUS writeRtpPacket (PKvsPeerConnection pKvsPeerConnection, PRtpPacket pRtpPacket)
 
STATUS hasTransceiverWithSsrc (PKvsPeerConnection pKvsPeerConnection, UINT32 ssrc)
 
STATUS findTransceiverBySsrc (PKvsPeerConnection pKvsPeerConnection, PKvsRtpTransceiver *ppTransceiver, UINT32 ssrc)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "RtcRtp"

Typedef Documentation

◆ RtpPayloadFunc

typedef STATUS(* RtpPayloadFunc) (UINT32, PBYTE, UINT32, PBYTE, PUINT32, PUINT32, PUINT32)

Function Documentation

◆ createKvsRtpTransceiver()

STATUS createKvsRtpTransceiver ( RTC_RTP_TRANSCEIVER_DIRECTION  direction,
PKvsPeerConnection  pKvsPeerConnection,
UINT32  ssrc,
UINT32  rtxSsrc,
PRtcMediaStreamTrack  pRtcMediaStreamTrack,
PJitterBuffer  pJitterBuffer,
RTC_CODEC  rtcCodec,
PKvsRtpTransceiver ppKvsRtpTransceiver 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findTransceiverBySsrc()

STATUS findTransceiverBySsrc ( PKvsPeerConnection  pKvsPeerConnection,
PKvsRtpTransceiver ppTransceiver,
UINT32  ssrc 
)
Here is the caller graph for this function:

◆ freeKvsRtpTransceiver()

STATUS freeKvsRtpTransceiver ( PKvsRtpTransceiver ppKvsRtpTransceiver)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasTransceiverWithSsrc()

STATUS hasTransceiverWithSsrc ( PKvsPeerConnection  pKvsPeerConnection,
UINT32  ssrc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvsRtpTransceiverSetJitterBuffer()

STATUS kvsRtpTransceiverSetJitterBuffer ( PKvsRtpTransceiver  pKvsRtpTransceiver,
PJitterBuffer  pJitterBuffer 
)
Here is the caller graph for this function:

◆ writeRtpPacket()

STATUS writeRtpPacket ( PKvsPeerConnection  pKvsPeerConnection,
PRtpPacket  pRtpPacket 
)
Here is the call graph for this function:
Here is the caller graph for this function: