An SDP media element.
More...
◆ description
Converts this instance to a string.
◆ formatDescription
Gets the format description.
◆ init
◆ initWithMediaType:transportPort:transportProtocol:
- (instancetype) initWithMediaType: |
|
(NSString *) |
mediaType |
transportPort: |
|
(int) |
transportPort |
transportProtocol: |
|
(NSString *) |
transportProtocol |
|
|
| |
Initializes a new instance of the FMLiveSwitchSdpMedia class.
- Parameters
-
mediaType | The media type. See mediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
◆ initWithMediaType:transportPort:transportProtocol:formatDescription:
- (instancetype) initWithMediaType: |
|
(NSString *) |
mediaType |
transportPort: |
|
(int) |
transportPort |
transportProtocol: |
|
(NSString *) |
transportProtocol |
formatDescription: |
|
(NSString *) |
formatDescription |
|
|
| |
Initializes a new instance of the FMLiveSwitchSdpMedia class.
- Parameters
-
mediaType | The media type. See mediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
formatDescription | The format description. |
◆ media
◆ mediaType
Gets the media type.
See mediaType for possible values.
◆ mediaWithMediaType:transportPort:transportProtocol:
Initializes a new instance of the FMLiveSwitchSdpMedia class.
- Parameters
-
mediaType | The media type. See mediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
◆ mediaWithMediaType:transportPort:transportProtocol:formatDescription:
Initializes a new instance of the FMLiveSwitchSdpMedia class.
- Parameters
-
mediaType | The media type. See mediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
formatDescription | The format description. |
◆ numberOfPorts
Gets the number of ports.
◆ parseWithS:
◆ setFormatDescription:
- (void) setFormatDescription: |
|
(NSString *) |
value |
|
Sets the format description.
◆ setMediaType:
- (void) setMediaType: |
|
(NSString *) |
value |
|
Sets the media type.
See mediaType for possible values.
◆ setNumberOfPorts:
- (void) setNumberOfPorts: |
|
(short) |
value |
|
Sets the number of ports.
◆ setTransportPort:
- (void) setTransportPort: |
|
(int) |
value |
|
◆ setTransportProtocol:
- (void) setTransportProtocol: |
|
(NSString *) |
value |
|
Sets the transport protocol.
◆ transportPort
◆ transportProtocol
Gets the transport protocol.