Streamaxia Open SDK  3.2
Instance Methods | List of all members
<AXRecorderDelegate > Protocol Reference

#import <AXRecorder.h>

Inheritance diagram for <AXRecorderDelegate >:

Instance Methods

(void) - recorder:didChangeState:
 
(void) - recorder:didUpdateStreamTime:
 
(void) - recorder:didReceiveInfo:
 
(void) - recorder:didReceiveWarning:
 
(void) - recorder:didReceiveError:
 
(void) - recorder:didChangeNetworkStatus:
 

Detailed Description

The recorder delegate. It provides delegate methods for state changes, infos, warnings, errors, network status and others.

Method Documentation

◆ recorder:didChangeNetworkStatus:()

- (void AXRecorderDelegate) recorder: (AXRecorder *)  recorder
didChangeNetworkStatus: (AXNetworkStatus)  status 
optional

It's called when the network status has changed.

Parameters
recorderThe recorder.
statusThe new network status.

◆ recorder:didChangeState:()

- (void AXRecorderDelegate) recorder: (AXRecorder *)  recorder
didChangeState: (AXRecorderState)  state 
optional

It's called when the recorder state has changed. Implement this to react to the recorder state changes and display useful UI.

Parameters
recorderThe recorder.
stateThe new state of the recorder.

◆ recorder:didReceiveError:()

- (void AXRecorderDelegate) recorder: (AXRecorder *)  recorder
didReceiveError: (AXError *)  error 
optional

It's called when the recorder has received some errors.

Usually these are received when something went wrong during the streaming, invalid settings change or other misc errors have been encountered and that will cause the malfunction of the recorder.

Parameters
recorderThe recorder.
errorThe error.

◆ recorder:didReceiveInfo:()

- (void AXRecorderDelegate) recorder: (AXRecorder *)  recorder
didReceiveInfo: (AXInfo *)  info 
optional

It's called when the recorder has received some info.

Parameters
recorderThe recorder.
infoThe info.

◆ recorder:didReceiveWarning:()

- (void AXRecorderDelegate) recorder: (AXRecorder *)  recorder
didReceiveWarning: (AXWarning *)  warning 
optional

It's called when the recorder has received some warnings.

The warning should be monitored since they may point out incorrect settings, incorrect setups and others that may affect the correct functionality of the recorder.

Parameters
recorderThe recorder.
warningThe warning.

◆ recorder:didUpdateStreamTime:()

- (void AXRecorderDelegate) recorder: (AXRecorder *)  recorder
didUpdateStreamTime: (NSTimeInterval)  deltaTime 
optional

It's called when the recorder updates the passes time since the start of the streaming. The time passed is provided in seconds, since the start of the streaming.

Parameters
recorderThe recorder.
deltaTimeThe total time passed.

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