FMLiveSwitchSrtpContext Class Reference

Instance Methods

(NSMutableArray *) - decryptRtcpWithBuffer:
 
(FMLiveSwitchRtpPacketPair *) - decryptRtpWithEncryptedBuffer:
 
(FMLiveSwitchRtpPacketPair *) - decryptRtpWithEncryptedBuffer:header:
 
(void) - destroy
 
(bool) - disabled
 
(FMLiveSwitchDataBuffer *) - encryptRtcpWithPackets:
 
(FMLiveSwitchDataBuffer *) - encryptRtpWithHeader:payload:
 
(long long) - getRtpDecryptionPacketIndexWithSequenceNumber:
 
(long long) - getRtpDecryptionPacketIndexWithSequenceNumber:roc:
 
(long long) - getRtpEncryptionPacketIndexWithSequenceNumber:roc:
 
(NSString *) - id
 
(instancetype) - initWithProtectionProfile:localKey:localSalt:remoteKey:remoteSalt:
 
(FMLiveSwitchDataBuffer *) - localKey
 
(FMLiveSwitchDataBuffer *) - localSalt
 
(long long) - localSynchronizationSource
 
(NSString *) - protectionProfile
 
(FMLiveSwitchDataBuffer *) - remoteKey
 
(FMLiveSwitchDataBuffer *) - remoteSalt
 
(long long) - remoteSynchronizationSource
 
(void) - setLocalSynchronizationSource:
 
(void) - setRemoteSynchronizationSource:
 
(void) - updateHmacWithPayload:
 

Class Methods

(FMLiveSwitchSrtpContext *) + contextWithProtectionProfile:localKey:localSalt:remoteKey:remoteSalt:
 

Method Documentation

◆ contextWithProtectionProfile:localKey:localSalt:remoteKey:remoteSalt:

+ (FMLiveSwitchSrtpContext*) contextWithProtectionProfile: (NSString *)  protectionProfile
localKey: (FMLiveSwitchDataBuffer *)  localKey
localSalt: (FMLiveSwitchDataBuffer *)  localSalt
remoteKey: (FMLiveSwitchDataBuffer *)  remoteKey
remoteSalt: (FMLiveSwitchDataBuffer *)  remoteSalt 

◆ decryptRtcpWithBuffer:

- (NSMutableArray*) decryptRtcpWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

◆ decryptRtpWithEncryptedBuffer:

- (FMLiveSwitchRtpPacketPair*) decryptRtpWithEncryptedBuffer: (FMLiveSwitchDataBuffer *)  encryptedBuffer

◆ decryptRtpWithEncryptedBuffer:header:

◆ destroy

- (void) destroy

◆ disabled

- (bool) disabled

◆ encryptRtcpWithPackets:

- (FMLiveSwitchDataBuffer*) encryptRtcpWithPackets: (NSMutableArray *)  packets

◆ encryptRtpWithHeader:payload:

- (FMLiveSwitchDataBuffer*) encryptRtpWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
payload: (FMLiveSwitchDataBuffer *)  payload 

◆ getRtpDecryptionPacketIndexWithSequenceNumber:

- (long long) getRtpDecryptionPacketIndexWithSequenceNumber: (int)  sequenceNumber

◆ getRtpDecryptionPacketIndexWithSequenceNumber:roc:

- (long long) getRtpDecryptionPacketIndexWithSequenceNumber: (int)  sequenceNumber
roc: (long long *)  roc 

◆ getRtpEncryptionPacketIndexWithSequenceNumber:roc:

- (long long) getRtpEncryptionPacketIndexWithSequenceNumber: (int)  sequenceNumber
roc: (long long *)  roc 

◆ id

- (NSString*) id

◆ initWithProtectionProfile:localKey:localSalt:remoteKey:remoteSalt:

- (instancetype) initWithProtectionProfile: (NSString *)  protectionProfile
localKey: (FMLiveSwitchDataBuffer *)  localKey
localSalt: (FMLiveSwitchDataBuffer *)  localSalt
remoteKey: (FMLiveSwitchDataBuffer *)  remoteKey
remoteSalt: (FMLiveSwitchDataBuffer *)  remoteSalt 

◆ localKey

- (FMLiveSwitchDataBuffer*) localKey

◆ localSalt

- (FMLiveSwitchDataBuffer*) localSalt

◆ localSynchronizationSource

- (long long) localSynchronizationSource

◆ protectionProfile

- (NSString*) protectionProfile

◆ remoteKey

- (FMLiveSwitchDataBuffer*) remoteKey

◆ remoteSalt

- (FMLiveSwitchDataBuffer*) remoteSalt

◆ remoteSynchronizationSource

- (long long) remoteSynchronizationSource

◆ setLocalSynchronizationSource:

- (void) setLocalSynchronizationSource: (long long)  value

◆ setRemoteSynchronizationSource:

- (void) setRemoteSynchronizationSource: (long long)  value

◆ updateHmacWithPayload:

- (void) updateHmacWithPayload: (FMLiveSwitchDataBuffer *)  payload