fm.liveswitch.sdp.MediaType Class Referenceabstract

Defines valid SDP media types. More...

Static Public Member Functions

static String fromStreamType (fm.liveswitch.StreamType streamType)
 Convert a StreamType enum to an SDP media type. More...
 
static String getApplication ()
 Gets the SDP media type meaning "Application". More...
 
static String getAudio ()
 Gets the SDP media type meaning "Audio". More...
 
static String getMessage ()
 Gets the SDP media type meaning "Message". More...
 
static String getText ()
 Gets the SDP media type meaning "Text". More...
 
static String getVideo ()
 Gets the SDP media type meaning "Video". More...
 
static fm.liveswitch.StreamType toStreamType (String mediaType)
 Converts an SDP media type to a StreamType enum. More...
 

Detailed Description

Defines valid SDP media types.

Member Function Documentation

◆ fromStreamType()

static String fm.liveswitch.sdp.MediaType.fromStreamType ( fm.liveswitch.StreamType  streamType)
static

Convert a StreamType enum to an SDP media type.

Parameters
streamTypeThe StreamType enum.

◆ getApplication()

static String fm.liveswitch.sdp.MediaType.getApplication ( )
static

Gets the SDP media type meaning "Application".

◆ getAudio()

static String fm.liveswitch.sdp.MediaType.getAudio ( )
static

Gets the SDP media type meaning "Audio".

◆ getMessage()

static String fm.liveswitch.sdp.MediaType.getMessage ( )
static

Gets the SDP media type meaning "Message".

◆ getText()

static String fm.liveswitch.sdp.MediaType.getText ( )
static

Gets the SDP media type meaning "Text".

◆ getVideo()

static String fm.liveswitch.sdp.MediaType.getVideo ( )
static

Gets the SDP media type meaning "Video".

◆ toStreamType()

static fm.liveswitch.StreamType fm.liveswitch.sdp.MediaType.toStreamType ( String  mediaType)
static

Converts an SDP media type to a StreamType enum.

Parameters
mediaTypeThe SDP media type.