FMLiveSwitchWssMediaPacket Class Reference

Instance Methods

(instancetype) - initWithPayload:streamId:timestamp:
 
(instancetype) - initWithPayload:streamId:timestamp:width:height:
 
(instancetype) - initWithPayload:streamId:timestamp:width:height:dataBufferGetter:
 
(instancetype) - initWithPayload:streamId:timestamp:width:height:dataBufferGetterBlock:
 
(FMLiveSwitchDataBuffer *) - internalBuffer
 
(FMLiveSwitchDataBuffer *) - payload
 
(FMLiveSwitchSize *) - resolution
 
(void) - setPayload:
 
(void) - setPayloadBytes:
 
(void) - setTimestamp:
 
(long long) - timestamp
 
- Instance Methods inherited from FMLiveSwitchWssPacket
(instancetype) - init
 
(FMLiveSwitchWssPacketType) - packetType
 
(void) - release
 
(void) - setPacketType:
 
(void) - setStreamId:
 
(void) - setVersion:
 
(int) - streamId
 
(int) - version
 

Class Methods

(FMLiveSwitchWssMediaPacket *) + parseBuffer:
 
(FMLiveSwitchWssMediaPacket *) + wssMediaPacketWithPayload:streamId:timestamp:
 
(FMLiveSwitchWssMediaPacket *) + wssMediaPacketWithPayload:streamId:timestamp:width:height:
 
(FMLiveSwitchWssMediaPacket *) + wssMediaPacketWithPayload:streamId:timestamp:width:height:dataBufferGetter:
 
(FMLiveSwitchWssMediaPacket *) + wssMediaPacketWithPayload:streamId:timestamp:width:height:dataBufferGetterBlock:
 
- Class Methods inherited from FMLiveSwitchWssPacket
(FMLiveSwitchWssPacket *) + parseWithBuffer:
 
(FMLiveSwitchWssPacket *) + wssPacket
 

Method Documentation

◆ initWithPayload:streamId:timestamp:

- (instancetype) initWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp 

◆ initWithPayload:streamId:timestamp:width:height:

- (instancetype) initWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp
width: (int)  width
height: (int)  height 

◆ initWithPayload:streamId:timestamp:width:height:dataBufferGetter:

- (instancetype) initWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp
width: (int)  width
height: (int)  height
dataBufferGetter: (FMLiveSwitchFunction1< id, FMLiveSwitchDataBuffer * > *)  dataBufferGetter 

◆ initWithPayload:streamId:timestamp:width:height:dataBufferGetterBlock:

- (instancetype) initWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp
width: (int)  width
height: (int)  height
dataBufferGetterBlock: (FMLiveSwitchDataBuffer *(^)(int))  dataBufferGetterBlock 

◆ internalBuffer

- (FMLiveSwitchDataBuffer*) internalBuffer

◆ parseBuffer:

+ (FMLiveSwitchWssMediaPacket*) parseBuffer: (FMLiveSwitchDataBuffer *)  buffer

◆ payload

- (FMLiveSwitchDataBuffer*) payload

◆ resolution

- (FMLiveSwitchSize*) resolution

◆ setPayload:

- (void) setPayload: (FMLiveSwitchDataBuffer *)  value

◆ setPayloadBytes:

- (void) setPayloadBytes: (NSMutableData *)  value

◆ setTimestamp:

- (void) setTimestamp: (long long)  value

◆ timestamp

- (long long) timestamp

◆ wssMediaPacketWithPayload:streamId:timestamp:

+ (FMLiveSwitchWssMediaPacket*) wssMediaPacketWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp 

◆ wssMediaPacketWithPayload:streamId:timestamp:width:height:

+ (FMLiveSwitchWssMediaPacket*) wssMediaPacketWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp
width: (int)  width
height: (int)  height 

◆ wssMediaPacketWithPayload:streamId:timestamp:width:height:dataBufferGetter:

+ (FMLiveSwitchWssMediaPacket*) wssMediaPacketWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp
width: (int)  width
height: (int)  height
dataBufferGetter: (FMLiveSwitchFunction1< id, FMLiveSwitchDataBuffer * > *)  dataBufferGetter 

◆ wssMediaPacketWithPayload:streamId:timestamp:width:height:dataBufferGetterBlock:

+ (FMLiveSwitchWssMediaPacket*) wssMediaPacketWithPayload: (NSMutableData *)  payload
streamId: (int)  streamId
timestamp: (long long)  timestamp
width: (int)  width
height: (int)  height
dataBufferGetterBlock: (FMLiveSwitchDataBuffer *(^)(int))  dataBufferGetterBlock