5 #ifndef __KINESIS_VIDEO_WEBRTC_CLIENT_SDP_SDP__
6 #define __KINESIS_VIDEO_WEBRTC_CLIENT_SDP_SDP__
14 #define SDP_ATTRIBUTE_MARKER "a="
15 #define SDP_BANDWIDTH_MARKER "b="
16 #define SDP_CONNECTION_INFORMATION_MARKER "c="
17 #define SDP_EMAIL_ADDRESS_MARKER "e="
18 #define SDP_ENCRYPTION_KEY_MARKER "k="
21 #define SDP_INFORMATION_MARKER "i="
23 #define SDP_MEDIA_NAME_MARKER "m="
24 #define SDP_ORIGIN_MARKER "o="
25 #define SDP_PHONE_NUMBER_MARKER "p="
26 #define SDP_SESSION_NAME_MARKER "s="
27 #define SDP_TIME_DESCRIPTION_MARKER "t="
28 #define SDP_TIMEZONE_MARKER "z="
29 #define SDP_URI_MARKER "u="
30 #define SDP_VERSION_MARKER "v="
36 #define SDP_LINE_SEPARATOR "\r\n"
38 #define SDP_CANDIDATE_TYPE_HOST "host"
39 #define SDP_CANDIDATE_TYPE_SERFLX "srflx"
40 #define SDP_CANDIDATE_TYPE_PRFLX "prflx"
41 #define SDP_CANDIDATE_TYPE_RELAY "relay"
42 #define SDP_CANDIDATE_TYPE_UNKNOWN "unknown"
44 #define SDP_ATTRIBUTE_LENGTH 2
46 #define MAX_SDP_OFFSET_LENGTH 255
47 #define MAX_SDP_ENCRYPTION_KEY_METHOD_LENGTH 255
48 #define MAX_SDP_ENCRYPTION_KEY_LENGTH 255
53 #define MAX_SDP_NETWORK_TYPE_LENGTH 7
58 #define MAX_SDP_ADDRESS_TYPE_LENGTH 7
64 #define MAX_SDP_CONNECTION_ADDRESS_LENGTH 63
67 #define MAX_SDP_SESSION_USERNAME_LENGTH 32
70 #define MAX_SDP_ATTRIBUTE_NAME_LENGTH 32
73 #define MAX_SDP_ATTRIBUTE_VALUE_LENGTH 512
75 #define MAX_SDP_MEDIA_NAME_LENGTH 255
81 #define MAX_SDP_MEDIA_TITLE_LENGTH 127
87 #define MAX_SDP_SESSION_INFORMATION_LENGTH 127
89 #define MAX_SDP_SESSION_NAME_LENGTH 255
90 #define MAX_SDP_SESSION_URI_LENGTH 255
91 #define MAX_SDP_SESSION_EMAIL_ADDRESS_LENGTH 255
92 #define MAX_SDP_SESSION_PHONE_NUMBER_LENGTH 255
94 #define MAX_SDP_TOKEN_LENGTH 128
95 #define MAX_SDP_FMTP_VALUES 64
97 #define MAX_SDP_SESSION_TIME_DESCRIPTION_COUNT 2
98 #define MAX_SDP_SESSION_TIMEZONE_COUNT 2
104 #define MAX_SDP_SESSION_MEDIA_COUNT 5
105 #define MAX_SDP_MEDIA_BANDWIDTH_COUNT 2
107 #define MAX_SDP_ATTRIBUTES_COUNT 256
#define MAX_SDP_SESSION_URI_LENGTH
Definition: Sdp.h:90
#define MAX_SDP_SESSION_NAME_LENGTH
Definition: Sdp.h:89
#define MAX_SDP_SESSION_PHONE_NUMBER_LENGTH
Definition: Sdp.h:92
#define MAX_SDP_SESSION_EMAIL_ADDRESS_LENGTH
Definition: Sdp.h:91
STATUS deserializeSessionDescription(PSessionDescription, PCHAR)
Definition: Deserialize.c:73
STATUS serializeSessionDescription(PSessionDescription, PCHAR, PUINT32)
Definition: Serialize.c:166
#define MAX_SDP_NETWORK_TYPE_LENGTH
Definition: Sdp.h:53
struct SdpOrigin * PSdpOrigin
#define MAX_SDP_MEDIA_NAME_LENGTH
Definition: Sdp.h:75
#define MAX_SDP_ENCRYPTION_KEY_METHOD_LENGTH
Definition: Sdp.h:47
struct SdpTimeDescription * PSdpTimeDescription
#define MAX_SDP_OFFSET_LENGTH
Definition: Sdp.h:46
#define MAX_SDP_ATTRIBUTE_VALUE_LENGTH
Definition: Sdp.h:73
#define MAX_SDP_SESSION_USERNAME_LENGTH
Definition: Sdp.h:67
struct SdpMediaDescription * PSdpMediaDescription
#define MAX_SDP_SESSION_TIME_DESCRIPTION_COUNT
Definition: Sdp.h:97
#define MAX_SDP_MEDIA_TITLE_LENGTH
Definition: Sdp.h:81
struct SdpAttributes * PSdpAttributes
#define MAX_SDP_SESSION_MEDIA_COUNT
Definition: Sdp.h:104
#define MAX_SDP_ENCRYPTION_KEY_LENGTH
Definition: Sdp.h:48
struct SdpConnectionInformation * PSdpConnectionInformation
#define MAX_SDP_ATTRIBUTE_NAME_LENGTH
Definition: Sdp.h:70
struct SessionDescription * PSessionDescription
struct SdpEncryptionKey * PSdpEncryptionKey
#define MAX_SDP_SESSION_INFORMATION_LENGTH
Definition: Sdp.h:87
#define MAX_SDP_CONNECTION_ADDRESS_LENGTH
Definition: Sdp.h:64
STATUS parseMediaAttributes(PSessionDescription, PCHAR, UINT32)
Definition: Deserialize.c:45
struct SdpTimeZone * PSdpTimeZone
STATUS parseMediaName(PSessionDescription, PCHAR, UINT32)
Definition: Deserialize.c:4
#define MAX_SDP_ATTRIBUTES_COUNT
Definition: Sdp.h:107
#define MAX_SDP_ADDRESS_TYPE_LENGTH
Definition: Sdp.h:58
STATUS parseSessionAttributes(PSessionDescription, PCHAR, UINT32)
Definition: Deserialize.c:19
#define MAX_SDP_SESSION_TIMEZONE_COUNT
Definition: Sdp.h:98
UINT64 sessionVersion
Definition: Sdp.h:126
SdpConnectionInformation sdpConnectionInformation
Definition: Sdp.h:127
UINT64 sessionId
Definition: Sdp.h:125
UINT64 startTime
Definition: Sdp.h:135
UINT64 stopTime
Definition: Sdp.h:136
UINT64 adjustmentTime
Definition: Sdp.h:144
UINT16 mediaCount
Definition: Sdp.h:225
SdpEncryptionKey sdpEncryptionKey
Definition: Sdp.h:217
SdpConnectionInformation sdpConnectionInformation
Definition: Sdp.h:211
UINT8 bandwidthCount
Definition: Sdp.h:231
UINT64 version
Definition: Sdp.h:187
UINT8 timezoneCount
Definition: Sdp.h:227
UINT16 sessionAttributesCount
Definition: Sdp.h:223
SdpOrigin sdpOrigin
Definition: Sdp.h:189
UINT8 timeDescriptionCount
Definition: Sdp.h:229