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

Macros

#define LOG_CLASS   "SessionDescription"
 

Functions

STATUS serializeSessionDescriptionInit (PRtcSessionDescriptionInit pSessionDescriptionInit, PCHAR sessionDescriptionJSON, PUINT32 sessionDescriptionJSONLen)
 Create a JSON string from RtcSessionDescriptionInit. More...
 
STATUS deserializeSessionDescriptionInit (PCHAR sessionDescriptionJSON, UINT32 sessionDescriptionJSONLen, PRtcSessionDescriptionInit pSessionDescriptionInit)
 Parses a JSON string and returns an allocated PSessionDescriptionInit. More...
 
STATUS setPayloadTypesForOffer (PHashTable codecTable)
 
STATUS setPayloadTypesFromOffer (PHashTable codecTable, PHashTable rtxTable, PSessionDescription pSessionDescription)
 
STATUS setTransceiverPayloadTypes (PHashTable codecTable, PHashTable rtxTable, PDoubleList pTransceivers)
 
PCHAR fmtpForPayloadType (UINT64 payloadType, PSessionDescription pSessionDescription)
 
BOOL readHexValue (PCHAR input, PCHAR prefix, PUINT32 value)
 
UINT64 getH264FmtpScore (PCHAR fmtp)
 
STATUS populateSingleMediaSection (PKvsPeerConnection pKvsPeerConnection, PKvsRtpTransceiver pKvsRtpTransceiver, PSdpMediaDescription pSdpMediaDescription, PSessionDescription pRemoteSessionDescription, PCHAR pCertificateFingerprint, UINT32 mediaSectionId, PCHAR pDtlsRole, PHashTable pUnknownCodecPayloadTypesTable, PHashTable pUnknownCodecRtpmapTable, UINT32 unknownCodecHashTableKey)
 
STATUS populateSessionDescriptionDataChannel (PKvsPeerConnection pKvsPeerConnection, PSdpMediaDescription pSdpMediaDescription, PCHAR pCertificateFingerprint, UINT32 mediaSectionId, PCHAR pDtlsRole)
 
BOOL isPresentInRemote (PKvsRtpTransceiver pKvsRtpTransceiver, PSessionDescription pRemoteSessionDescription)
 
STATUS populateSessionDescriptionMedia (PKvsPeerConnection pKvsPeerConnection, PSessionDescription pRemoteSessionDescription, PSessionDescription pLocalSessionDescription)
 
STATUS populateSessionDescription (PKvsPeerConnection pKvsPeerConnection, PSessionDescription pRemoteSessionDescription, PSessionDescription pLocalSessionDescription)
 
STATUS findCodecInTransceivers (PKvsPeerConnection pKvsPeerConnection, RTC_CODEC rtcCodec, PBOOL pDidFindCodec, PHashTable pSeenTransceivers)
 
STATUS findTransceiversByRemoteDescription (PKvsPeerConnection pKvsPeerConnection, PSessionDescription pRemoteSessionDescription, PHashTable pUnknownCodecPayloadTypesTable, PHashTable pUnknownCodecRtpmapTable)
 
STATUS deserializeRtcIceCandidateInit (PCHAR pJson, UINT32 jsonLen, PRtcIceCandidateInit pRtcIceCandidateInit)
 Parses a JSON string and populates a PRtcIceCandidateInit. More...
 
STATUS setReceiversSsrc (PSessionDescription pRemoteSessionDescription, PDoubleList pTransceivers)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "SessionDescription"

Function Documentation

◆ findCodecInTransceivers()

STATUS findCodecInTransceivers ( PKvsPeerConnection  pKvsPeerConnection,
RTC_CODEC  rtcCodec,
PBOOL  pDidFindCodec,
PHashTable  pSeenTransceivers 
)
Here is the caller graph for this function:

◆ findTransceiversByRemoteDescription()

STATUS findTransceiversByRemoteDescription ( PKvsPeerConnection  pKvsPeerConnection,
PSessionDescription  pRemoteSessionDescription,
PHashTable  pUnknownCodecPayloadTypesTable,
PHashTable  pUnknownCodecRtpmapTable 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmtpForPayloadType()

PCHAR fmtpForPayloadType ( UINT64  payloadType,
PSessionDescription  pSessionDescription 
)
Here is the caller graph for this function:

◆ getH264FmtpScore()

UINT64 getH264FmtpScore ( PCHAR  fmtp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isPresentInRemote()

BOOL isPresentInRemote ( PKvsRtpTransceiver  pKvsRtpTransceiver,
PSessionDescription  pRemoteSessionDescription 
)
Here is the caller graph for this function:

◆ populateSessionDescription()

STATUS populateSessionDescription ( PKvsPeerConnection  pKvsPeerConnection,
PSessionDescription  pRemoteSessionDescription,
PSessionDescription  pLocalSessionDescription 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateSessionDescriptionDataChannel()

STATUS populateSessionDescriptionDataChannel ( PKvsPeerConnection  pKvsPeerConnection,
PSdpMediaDescription  pSdpMediaDescription,
PCHAR  pCertificateFingerprint,
UINT32  mediaSectionId,
PCHAR  pDtlsRole 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateSessionDescriptionMedia()

STATUS populateSessionDescriptionMedia ( PKvsPeerConnection  pKvsPeerConnection,
PSessionDescription  pRemoteSessionDescription,
PSessionDescription  pLocalSessionDescription 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateSingleMediaSection()

STATUS populateSingleMediaSection ( PKvsPeerConnection  pKvsPeerConnection,
PKvsRtpTransceiver  pKvsRtpTransceiver,
PSdpMediaDescription  pSdpMediaDescription,
PSessionDescription  pRemoteSessionDescription,
PCHAR  pCertificateFingerprint,
UINT32  mediaSectionId,
PCHAR  pDtlsRole,
PHashTable  pUnknownCodecPayloadTypesTable,
PHashTable  pUnknownCodecRtpmapTable,
UINT32  unknownCodecHashTableKey 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readHexValue()

BOOL readHexValue ( PCHAR  input,
PCHAR  prefix,
PUINT32  value 
)
Here is the caller graph for this function:

◆ setPayloadTypesForOffer()

STATUS setPayloadTypesForOffer ( PHashTable  codecTable)
Here is the caller graph for this function:

◆ setPayloadTypesFromOffer()

STATUS setPayloadTypesFromOffer ( PHashTable  codecTable,
PHashTable  rtxTable,
PSessionDescription  pSessionDescription 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setReceiversSsrc()

STATUS setReceiversSsrc ( PSessionDescription  pRemoteSessionDescription,
PDoubleList  pTransceivers 
)
Here is the caller graph for this function:

◆ setTransceiverPayloadTypes()

STATUS setTransceiverPayloadTypes ( PHashTable  codecTable,
PHashTable  rtxTable,
PDoubleList  pTransceivers 
)
Here is the call graph for this function:
Here is the caller graph for this function: