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

#import <AXStreamSource.h>

Inheritance diagram for <AXStreamSourceDelegate >:

Instance Methods

(void) - streamSourceDidConnect:
 
(void) - streamSourceDidDisconnect:
 
(void) - streamSourceDidCloseConnection:
 
(void) - streamSource:didFailConnectingWithError:
 

Detailed Description

Stream source delegate. Can be used to receive the status of a particular source.

Method Documentation

◆ streamSource:didFailConnectingWithError:()

- (void AXStreamSourceDelegate) streamSource: (AXStreamSource *)  streamSource
didFailConnectingWithError: (AXError *)  error 
optional

Called if an error occurrs while connecting. This can happen when the on property is set YES.

Parameters
streamSourceThe stream source.

◆ streamSourceDidCloseConnection:()

- (void AXStreamSourceDelegate) streamSourceDidCloseConnection: (AXStreamSource *)  streamSource
optional

Called if the connection is closed. This happens when the on property is set NO.

Parameters
streamSourceThe stream source.

◆ streamSourceDidConnect:()

- (void AXStreamSourceDelegate) streamSourceDidConnect: (AXStreamSource *)  streamSource
optional

Called after the stream source successfully connected to the server. If the stream source cannot connect to the server, this method is never called.

Parameters
streamSourceThe stream source.

◆ streamSourceDidDisconnect:()

- (void AXStreamSourceDelegate) streamSourceDidDisconnect: (AXStreamSource *)  streamSource
optional

Called after the stream source disconnected from the server. This might happen from various reasons, for instance if the internet connection is lost.

Parameters
streamSourceThe stream source.

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