A channel claim. More...
Instance Methods | |
(NSString *) | - action |
Gets the action of this channel claim. More... | |
(FMLiveSwitchNullableInt *) | - allowedLayoutPriority |
Gets the lowest allowed LayoutPriority. More... | |
(NSMutableArray *) | - allowedLayoutZones |
Gets the LayoutZones that can be used by upstream connections. More... | |
(NSMutableArray *) | - audioReceiveWhitelist |
Gets a whitelist of roles whose member's audio can be received from. More... | |
(bool) | - broadcast |
Gets if this is a broadcast channel or not. More... | |
(bool) | - canKick |
Gets whether the user is authorized kick other users from this channel. More... | |
(bool) | - canUpdate |
Gets whether the user is authorized to update a media server channel. More... | |
(bool) | - canUpdateLayout |
Gets whether the user is authorized to update the LayoutZone and LayoutPriority properties on connections. More... | |
(NSMutableArray *) | - dataReceiveWhitelist |
Gets a whitelist of roles whose member's data can be received from. More... | |
(bool) | - disableMcu |
Gets whether the user is NOT authorized to create MCU connections. More... | |
(bool) | - disablePeer |
Gets whether the user is NOT authorized to create peer connections. More... | |
(bool) | - disableRemoteClientEvents |
Gets whether to disable remote client join/update/leave messages and events. More... | |
(bool) | - disableRemoteUpstreamConnectionEvents |
Gets whether to disable remote connection open/update/close messages and events. More... | |
(bool) | - disableSendAudio |
Gets whether the user is NOT authorized to send audio. More... | |
(bool) | - disableSendData |
Gets whether the user is NOT authorized to send data. More... | |
(bool) | - disableSendMessage |
Gets whether the user is NOT authorized to send messages. More... | |
(bool) | - disableSendVideo |
Gets whether the user is NOT authorized to send video. More... | |
(bool) | - disableSfu |
Gets whether the user is NOT authorized to create SFU connections. More... | |
(bool) | - enableHiddenObserverMode |
Gets whether to stop remote users from being notified when a local user joins a channel. More... | |
(NSString *) | - id |
Gets the channel identifier. More... | |
(instancetype) | - initWithId: |
Initializes a new instance of the FMLiveSwitchChannelClaim class. More... | |
(void) | - setAction: |
Sets the action of this channel claim. More... | |
(void) | - setAllowedLayoutPriority: |
Sets the lowest allowed LayoutPriority. More... | |
(void) | - setAllowedLayoutZones: |
Sets the LayoutZones that can be used by upstream connections. More... | |
(void) | - setAudioReceiveWhitelist: |
Sets a whitelist of roles whose member's audio can be received from. More... | |
(void) | - setBroadcast: |
Sets if this is a broadcast channel or not. More... | |
(void) | - setCanKick: |
Sets whether the user is authorized kick other users from this channel. More... | |
(void) | - setCanUpdate: |
Sets whether the user is authorized to update a media server channel. More... | |
(void) | - setCanUpdateLayout: |
Sets whether the user is authorized to update the LayoutZone and LayoutPriority properties on connections. More... | |
(void) | - setDataReceiveWhitelist: |
Sets a whitelist of roles whose member's data can be received from. More... | |
(void) | - setDisableMcu: |
Sets whether the user is NOT authorized to create MCU connections. More... | |
(void) | - setDisablePeer: |
Sets whether the user is NOT authorized to create peer connections. More... | |
(void) | - setDisableRemoteClientEvents: |
Sets whether to disable remote client join/update/leave messages and events. More... | |
(void) | - setDisableRemoteUpstreamConnectionEvents: |
Sets whether to disable remote connection open/update/close messages and events. More... | |
(void) | - setDisableSendAudio: |
Sets whether the user is NOT authorized to send audio. More... | |
(void) | - setDisableSendData: |
Sets whether the user is NOT authorized to send data. More... | |
(void) | - setDisableSendMessage: |
Sets whether the user is NOT authorized to send messages. More... | |
(void) | - setDisableSendVideo: |
Sets whether the user is NOT authorized to send video. More... | |
(void) | - setDisableSfu: |
Sets whether the user is NOT authorized to create SFU connections. More... | |
(void) | - setEnableHiddenObserverMode: |
Sets whether to stop remote users from being notified when a local user joins a channel. More... | |
(void) | - setId: |
Sets the channel identifier. More... | |
(void) | - setVideoReceiveWhitelist: |
Sets a whitelist of roles whose member's video can be received from. More... | |
(NSString *) | - toJson |
Serializes this channel claim to JSON. More... | |
(NSMutableArray *) | - videoReceiveWhitelist |
Gets a whitelist of roles whose member's video can be received from. More... | |
Class Methods | |
(FMLiveSwitchChannelClaim *) | + channelClaimWithId: |
Initializes a new instance of the FMLiveSwitchChannelClaim class. More... | |
(NSMutableArray *) | + fromJsonArrayWithChannelClaimsJson: |
Deserializes an array of channel claims from JSON. More... | |
(FMLiveSwitchChannelClaim *) | + fromJsonWithChannelClaimJson: |
Deserializes a channel claim from JSON. More... | |
(NSString *) | + toJsonArrayWithChannelClaims: |
Serializes an array of channel claims to JSON. More... | |
(NSString *) | + toJsonWithChannelClaim: |
Serializes a channel claim to JSON. More... | |
A channel claim.
- (NSString*) action |
Gets the action of this channel claim.
Possible values are in the FMLiveSwitchClaimAction class.
- (FMLiveSwitchNullableInt*) allowedLayoutPriority |
Gets the lowest allowed LayoutPriority.
Lower numbers take priority over higher numbers.
- (NSMutableArray*) allowedLayoutZones |
Gets the LayoutZones that can be used by upstream connections.
- (NSMutableArray*) audioReceiveWhitelist |
Gets a whitelist of roles whose member's audio can be received from.
Null disables the whitelist whereas an empty list disables all receiving.
- (bool) broadcast |
Gets if this is a broadcast channel or not.
- (bool) canKick |
Gets whether the user is authorized kick other users from this channel.
- (bool) canUpdate |
Gets whether the user is authorized to update a media server channel.
- (bool) canUpdateLayout |
Gets whether the user is authorized to update the LayoutZone and LayoutPriority properties on connections.
+ (FMLiveSwitchChannelClaim*) channelClaimWithId: | (NSString *) | idValue |
Initializes a new instance of the FMLiveSwitchChannelClaim class.
idValue | The channel identifier. |
- (NSMutableArray*) dataReceiveWhitelist |
Gets a whitelist of roles whose member's data can be received from.
Null disables the whitelist whereas an empty list disables all receiving.
- (bool) disableMcu |
Gets whether the user is NOT authorized to create MCU connections.
- (bool) disablePeer |
Gets whether the user is NOT authorized to create peer connections.
- (bool) disableRemoteClientEvents |
Gets whether to disable remote client join/update/leave messages and events.
- (bool) disableRemoteUpstreamConnectionEvents |
Gets whether to disable remote connection open/update/close messages and events.
- (bool) disableSendAudio |
Gets whether the user is NOT authorized to send audio.
- (bool) disableSendData |
Gets whether the user is NOT authorized to send data.
- (bool) disableSendMessage |
Gets whether the user is NOT authorized to send messages.
- (bool) disableSendVideo |
Gets whether the user is NOT authorized to send video.
- (bool) disableSfu |
Gets whether the user is NOT authorized to create SFU connections.
- (bool) enableHiddenObserverMode |
Gets whether to stop remote users from being notified when a local user joins a channel.
When set to true, the local user won’t be able to initiate upstreams, send messages, update the channel, or kick users.
+ (NSMutableArray*) fromJsonArrayWithChannelClaimsJson: | (NSString *) | channelClaimsJson |
Deserializes an array of channel claims from JSON.
channelClaimsJson | The channel claims JSON. |
+ (FMLiveSwitchChannelClaim*) fromJsonWithChannelClaimJson: | (NSString *) | channelClaimJson |
Deserializes a channel claim from JSON.
channelClaimJson | The channel claim JSON. |
- (instancetype) initWithId: | (NSString *) | idValue |
Initializes a new instance of the FMLiveSwitchChannelClaim class.
idValue | The channel identifier. |
- (void) setAction: | (NSString *) | value |
Sets the action of this channel claim.
Possible values are in the FMLiveSwitchClaimAction class.
- (void) setAllowedLayoutPriority: | (FMLiveSwitchNullableInt *) | value |
Sets the lowest allowed LayoutPriority.
Lower numbers take priority over higher numbers.
- (void) setAllowedLayoutZones: | (NSMutableArray *) | value |
Sets the LayoutZones that can be used by upstream connections.
- (void) setAudioReceiveWhitelist: | (NSMutableArray *) | value |
Sets a whitelist of roles whose member's audio can be received from.
Null disables the whitelist whereas an empty list disables all receiving.
- (void) setBroadcast: | (bool) | value |
Sets if this is a broadcast channel or not.
- (void) setCanKick: | (bool) | value |
Sets whether the user is authorized kick other users from this channel.
- (void) setCanUpdate: | (bool) | value |
Sets whether the user is authorized to update a media server channel.
- (void) setCanUpdateLayout: | (bool) | value |
Sets whether the user is authorized to update the LayoutZone and LayoutPriority properties on connections.
- (void) setDataReceiveWhitelist: | (NSMutableArray *) | value |
Sets a whitelist of roles whose member's data can be received from.
Null disables the whitelist whereas an empty list disables all receiving.
- (void) setDisableMcu: | (bool) | value |
Sets whether the user is NOT authorized to create MCU connections.
- (void) setDisablePeer: | (bool) | value |
Sets whether the user is NOT authorized to create peer connections.
- (void) setDisableRemoteClientEvents: | (bool) | value |
Sets whether to disable remote client join/update/leave messages and events.
- (void) setDisableRemoteUpstreamConnectionEvents: | (bool) | value |
Sets whether to disable remote connection open/update/close messages and events.
- (void) setDisableSendAudio: | (bool) | value |
Sets whether the user is NOT authorized to send audio.
- (void) setDisableSendData: | (bool) | value |
Sets whether the user is NOT authorized to send data.
- (void) setDisableSendMessage: | (bool) | value |
Sets whether the user is NOT authorized to send messages.
- (void) setDisableSendVideo: | (bool) | value |
Sets whether the user is NOT authorized to send video.
- (void) setDisableSfu: | (bool) | value |
Sets whether the user is NOT authorized to create SFU connections.
- (void) setEnableHiddenObserverMode: | (bool) | value |
Sets whether to stop remote users from being notified when a local user joins a channel.
When set to true, the local user won’t be able to initiate upstreams, send messages, update the channel, or kick users.
- (void) setId: | (NSString *) | value |
Sets the channel identifier.
- (void) setVideoReceiveWhitelist: | (NSMutableArray *) | value |
Sets a whitelist of roles whose member's video can be received from.
Null disables the whitelist whereas an empty list disables all receiving.
- (NSString*) toJson |
Serializes this channel claim to JSON.
+ (NSString*) toJsonArrayWithChannelClaims: | (NSMutableArray *) | channelClaims |
Serializes an array of channel claims to JSON.
channelClaims | The channel claims. |
+ (NSString*) toJsonWithChannelClaim: | (FMLiveSwitchChannelClaim *) | channelClaim |
Serializes a channel claim to JSON.
channelClaim | The channel claim to serialize. |
- (NSMutableArray*) videoReceiveWhitelist |
Gets a whitelist of roles whose member's video can be received from.
Null disables the whitelist whereas an empty list disables all receiving.