Streamaxia Open SDK  3.2
List of all members
AXRecorder(ExtraFeatures) Category Reference

#import <AXRecorder+ExtraFeatures.h>

Public methods



NSArray< AXStreamSource * > * streamSources
 
(void) - activateFeatureAdaptiveBitRateWithError:
 
(void) - deactivateFeatureAdaptiveBitRate
 
(void) - activateFeatureSaveLocallyWithError:
 
(void) - deactivateFeatureSaveLocallyWithError:
 
(AXStreamSource *) - addStreamingSourceWithInfo:
 
(void) - removeStreamingSourceWithInfo:
 

Detailed Description

The extra features category.

Method Documentation

◆ activateFeatureAdaptiveBitRateWithError:()

- (void) activateFeatureAdaptiveBitRateWithError: (AXError **)  error

Starts the adaptive bitrate service. If a constant bit rates were set they are ignored while adaptive bitrate is started.

Parameters
errorError object is set with an error code and a message if somethings goes wrong with the activation.

Extends class AXRecorder.

◆ activateFeatureSaveLocallyWithError:()

- (void) activateFeatureSaveLocallyWithError: (AXError **)  error

Activate the save locally feature. To be able to use this feature you must add photos privacy key in your Info.plist: <key>NSPhotoLibraryUsageDescription</key> <string>Some message.</string> The save locally feature can be activated only when the player is stopped, otherwise an error is returned. After calling this method when a stream is started it will autmatically be saved. When the stream is stopped it will be shared to the Photos app and camera roll.

Parameters
errorError object is set with an error code and a message if somethings goes wrong with the activation.

Extends class AXRecorder.

◆ deactivateFeatureAdaptiveBitRate()

- (void) deactivateFeatureAdaptiveBitRate

Stops the adaptive bitrate service.

Extends class AXRecorder.

◆ deactivateFeatureSaveLocallyWithError:()

- (void) deactivateFeatureSaveLocallyWithError: (AXError **)  error

Deactivate the local save feature. The save locally feature can be deactivated only when the player is stopped, otherwise an error is returned.

Parameters
errorError object is set with an error code and a message if somethings goes wrong with the activation.

Extends class AXRecorder.


The documentation for this category was generated from the following file: