Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sdp Namespace Reference

SDP protocol support. More...

Classes

class  ConnectionData
 SDP connection data field. More...
 
class  MediaDescription
 SDP media description. More...
 
class  SessionDescription
 SDP session description. More...
 

Enumerations

enum  MediaTransport { MediaTransport_None , MediaTransport_RTP_AVP }
 Media transport protocol. More...
 
enum  MediaType {
  MediaType_None , MediaType_Audio , MediaType_Video , MediaType_Text ,
  MediaType_Application
}
 Media type. More...
 

Functions

bool parse_sdp (const char *str, SessionDescription &result)
 Parse SDP session description from string. More...
 

Detailed Description

SDP protocol support.

Enumeration Type Documentation

◆ MediaTransport

Media transport protocol.

Enumerator
MediaTransport_None 

Media transport is not set.

MediaTransport_RTP_AVP 

RTP/AVP.

Definition at line 19 of file media_transport.h.

◆ MediaType

Media type.

Enumerator
MediaType_None 

Media type is not set.

MediaType_Audio 

audio.

MediaType_Video 

video.

MediaType_Text 

text.

MediaType_Application 

application.

Definition at line 19 of file media_type.h.

Function Documentation

◆ parse_sdp()

bool roc::sdp::parse_sdp ( const char *  str,
SessionDescription result 
)

Parse SDP session description from string.