This gives the maximum amount of media that can be encapsulated in each packet, expressed as time in milliseconds. More...
Instance Methods | |
(NSString *) | - cryptoSuite |
Gets the crypto suite. More... | |
(NSString *) | - getAttributeValue |
Gets the internal value of the attribute. More... | |
(FMLiveSwitchDataBuffer *) | - getKey |
Gets the key from the "inline" key parameter. More... | |
(FMLiveSwitchDataBuffer *) | - getSalt |
Gets the salt from the "inline" key parameter. More... | |
(instancetype) | - initWithTag:cryptoSuite: |
Initializes a new instance of the FMLiveSwitchSdpCryptoAttribute class. More... | |
(NSMutableDictionary< NSString *, NSString * > *) | - keyParams |
Gets the key parameters. More... | |
(NSMutableArray< NSString * > *) | - sessionParams |
Gets the session parameters. More... | |
(FMLiveSwitchSdpCryptoAttribute *) | - setKeySaltWithKey:salt: |
Sets the key and salt for the "inline" key parameter. More... | |
(void) | - setTag: |
Sets the tag. More... | |
(int) | - tag |
Gets the tag. More... | |
Instance Methods inherited from FMLiveSwitchSdpAttribute | |
(FMLiveSwitchSdpAttributeType) | - attributeType |
Gets this Attribute's Type. More... | |
(NSString *) | - description |
Converts this instance to a string. More... | |
(instancetype) | - init |
(FMLiveSwitchSdpAttributeCategory) | - multiplexingCategory |
Gets the Multiplexing Category of this Attribute. More... | |
(void) | - setAttributeType: |
Sets this Attribute's Type. More... | |
(void) | - setMultiplexingCategory: |
Sets the Multiplexing Category of this Attribute. More... | |
Class Methods | |
(FMLiveSwitchSdpCryptoAttribute *) | + cryptoAttributeWithTag:cryptoSuite: |
Initializes a new instance of the FMLiveSwitchSdpCryptoAttribute class. More... | |
(FMLiveSwitchSdpCryptoAttribute *) | + fromAttributeValue: |
Initializes a new instance of the FMLiveSwitchSdpCryptoAttribute class. More... | |
Class Methods inherited from FMLiveSwitchSdpAttribute | |
(FMLiveSwitchSdpAttribute *) | + attribute |
(FMLiveSwitchSdpAttribute *) | + createAttributeWithName:value: |
Creates an attribute. More... | |
(NSString *) | + getTypeNameWithType: |
Gets the name of the attribute type. More... | |
(bool) | + isMediaLevelWithType: |
Determines whether the type applies to media streams. More... | |
(bool) | + isSessionLevelWithType: |
Determines whether the type applies to sessions. More... | |
(FMLiveSwitchSdpAttribute *) | + parseWithS: |
Creates an FMLiveSwitchSdpConnectionData instance from a string. More... | |
This gives the maximum amount of media that can be encapsulated in each packet, expressed as time in milliseconds.
The time SHALL be calculated as the sum of the time the media present in the packet represents. For frame-based codecs, the time SHOULD be an integer multiple of the frame size. This attribute is probably only meaningful for audio data, but may be used with other media types if it makes sense. It is a media-level attribute, and it is not dependent on charset. Note that this attribute was introduced after RFC 2327, and non-updated implementations will ignore this attribute.
+ (FMLiveSwitchSdpCryptoAttribute*) cryptoAttributeWithTag: | (int) | tag | |
cryptoSuite: | (NSString *) | cryptoSuite | |
Initializes a new instance of the FMLiveSwitchSdpCryptoAttribute class.
tag | The tag. |
cryptoSuite | The crypto suite. |
- (NSString*) cryptoSuite |
Gets the crypto suite.
See cryptoSuite for possible values.
+ (FMLiveSwitchSdpCryptoAttribute*) fromAttributeValue: | (NSString *) | value |
Initializes a new instance of the FMLiveSwitchSdpCryptoAttribute class.
value | The attribute value. |
- (NSString*) getAttributeValue |
Gets the internal value of the attribute.
Implements FMLiveSwitchSdpAttribute.
- (FMLiveSwitchDataBuffer*) getKey |
Gets the key from the "inline" key parameter.
- (FMLiveSwitchDataBuffer*) getSalt |
Gets the salt from the "inline" key parameter.
- (instancetype) initWithTag: | (int) | tag | |
cryptoSuite: | (NSString *) | cryptoSuite | |
Initializes a new instance of the FMLiveSwitchSdpCryptoAttribute class.
tag | The tag. |
cryptoSuite | The crypto suite. |
- (NSMutableArray<NSString*>*) sessionParams |
Gets the session parameters.
- (FMLiveSwitchSdpCryptoAttribute*) setKeySaltWithKey: | (NSMutableData *) | key | |
salt: | (NSMutableData *) | salt | |
Sets the key and salt for the "inline" key parameter.
key | The key. |
salt | The salt. |
- (void) setTag: | (int) | value |
Sets the tag.
- (int) tag |
Gets the tag.