FMIceLinkSdpPacketTimeAttribute Class Reference

Inherits from FMIceLinkSdpAttribute : NSObject
Declared in FMIceLinkSdpPacketTimeAttribute.h
FMIceLinkSdpPacketTimeAttribute.m

Overview

This gives the length of time in milliseconds represented by the media in a packet. This is probably only meaningful for audio data, but may be used with other media types if it makes sense. It should not be necessary to know ptime to decode RTP or vat audio, and it is intended as a recommendation for the encoding/packetisation of audio. It is a media-level attribute, and it is not dependent on charset.

+ fromAttributeValue:

Initializes a new instance of the FMIceLinkSdpPacketTimeAttribute class.
+ (FMIceLinkSdpPacketTimeAttribute *)fromAttributeValue:(NSString *)value

Parameters

value

The attribute value.

Discussion

Initializes a new instance of the FMIceLinkSdpPacketTimeAttribute class.

Declared In

FMIceLinkSdpPacketTimeAttribute.h

– getAttributeValue

Gets the internal value of the attribute.
- (NSString *)getAttributeValue

Discussion

Gets the internal value of the attribute.

Declared In

FMIceLinkSdpPacketTimeAttribute.h

– initWithPacketTime:

Initializes a new instance of the FMIceLinkSdpPacketTimeAttribute class.
- (instancetype)initWithPacketTime:(int)packetTime

Parameters

packetTime

The length of time in milliseconds represented by the media in a packet.

Discussion

Initializes a new instance of the FMIceLinkSdpPacketTimeAttribute class.

Declared In

FMIceLinkSdpPacketTimeAttribute.h

– packetTime

Gets the length of time in milliseconds represented by the media in a packet.
- (int)packetTime

Discussion

Gets the length of time in milliseconds represented by the media in a packet.

Declared In

FMIceLinkSdpPacketTimeAttribute.h

+ packetTimeAttributeWithPacketTime:

Initializes a new instance of the FMIceLinkSdpPacketTimeAttribute class.
+ (FMIceLinkSdpPacketTimeAttribute *)packetTimeAttributeWithPacketTime:(int)packetTime

Parameters

packetTime

The length of time in milliseconds represented by the media in a packet.

Discussion

Initializes a new instance of the FMIceLinkSdpPacketTimeAttribute class.

Declared In

FMIceLinkSdpPacketTimeAttribute.h