Navigation:  Media Library > Class Library API > Video and Audio Streaming API >

IBroadcastStreamClientDelegate

Previous pageReturn to chapter overviewNext page

-(void)stateChangedEvent: description:

the BroadcastStreamClient client invokes the method every time when the the client state has changed. For additional information, see MediaStreamState

-(void)stateChangedEvent:(MediaStreamState)state description:(NSString *)description;

 

Arguments

 state

         a current state of the client

 description

         a description of the current state

 

-(void)connectFailedEvent:(int)code description:(NSString *)description:

the BroadcastStreamClient client invokes the method if an attempt to connect to the messaging server was unsuccessful.

-(void)connectFailedEvent:(int)code description:(NSString *)description;

 

Arguments

 code

         the event code. The value of -1 indicates the connection with the specified host over the specified port could not be established

 description

         the event description