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

Macros

#define LOG_CLASS   "SessionDescription"

Functions

PCHAR STRCASESTR (PCHAR haystack, PCHAR needle)
STATUS serializeSessionDescriptionInit (PRtcSessionDescriptionInit pSessionDescriptionInit, PCHAR sessionDescriptionJSON, PUINT32 sessionDescriptionJSONLen)
 Create a JSON string from RtcSessionDescriptionInit.
STATUS deserializeSessionDescriptionInit (PCHAR sessionDescriptionJSON, UINT32 sessionDescriptionJSONLen, PRtcSessionDescriptionInit pSessionDescriptionInit)
 Parses a JSON string and returns an allocated PSessionDescriptionInit.
STATUS setPayloadTypesForOffer (PHashTable codecTable)
STATUS setPayloadTypesFromOffer (PHashTable codecTable, PHashTable rtxTable, PSessionDescription pSessionDescription)
STATUS getRtxCodecKeyForCodec (RTC_CODEC codec, PUINT64 pRtxCodecKey)
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)
RTC_RTP_TRANSCEIVER_DIRECTION parseTransceiverDirection (PCHAR str, RTC_RTP_TRANSCEIVER_DIRECTION *pDirection)
RTC_RTP_TRANSCEIVER_DIRECTION intersectTransceiverDirection (RTC_RTP_TRANSCEIVER_DIRECTION local, RTC_RTP_TRANSCEIVER_DIRECTION remote)
STATUS writeTransceiverDirection (PCHAR buf, UINT32 len, RTC_RTP_TRANSCEIVER_DIRECTION direction)
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.
STATUS setReceiversSsrc (PSessionDescription pRemoteSessionDescription, PDoubleList pTransceivers, PHashTable codecTable)

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:

◆ getRtxCodecKeyForCodec()

STATUS getRtxCodecKeyForCodec ( RTC_CODEC codec,
PUINT64 pRtxCodecKey )
Here is the caller graph for this function:

◆ intersectTransceiverDirection()

Here is the caller graph for this function:

◆ isPresentInRemote()

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

◆ parseTransceiverDirection()

RTC_RTP_TRANSCEIVER_DIRECTION parseTransceiverDirection ( PCHAR str,
RTC_RTP_TRANSCEIVER_DIRECTION * pDirection )
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,
PHashTable codecTable )
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:

◆ STRCASESTR()

PCHAR STRCASESTR ( PCHAR haystack,
PCHAR needle )
Here is the caller graph for this function:

◆ writeTransceiverDirection()

STATUS writeTransceiverDirection ( PCHAR buf,
UINT32 len,
RTC_RTP_TRANSCEIVER_DIRECTION direction )
Here is the caller graph for this function: