Red5Pro IOS Client SDK

 10.0.0
Core SDK for IOS
<R5ConnectionDelegate> Protocol Reference

Delegate for handling R5Stream events. More...

#import <R5Connection.h>

Inherits <NSObjectNSObject>.

Instance Methods

(void) - onR5ConnectionStatus:withStatus:withMessage:
 

Detailed Description

Delegate for handling R5Stream events.

Method Documentation

◆ onR5ConnectionStatus:withStatus:withMessage:

- (void) onR5ConnectionStatus: (R5Connection *)  connection
withStatus: (int)  statusCode
withMessage: (NSString *)  msg 

Status handler for the R5Stream events

Parameters
streamStream that has dispatched the event.
statusCodeUnique status code of the event.
msgA string description of the event.
Status Code Msg
CONNECTED null
DISCONNECTED null
ERROR string message describing error
TIMEOUT null
CLOSE null
START_STREAMING null
STOP_STREAMING null
NET_STATUS "NetStream.Play.PublishNotify" - publisher started
"NetStream.Play.UnpublishNotify" - publisher stopped
"NetStream.Play.StreamDry" - Keep Alive while no publisher publishing
"NetStream.Play.InSufficientBW.Audio" - subscriber does not have enough bandwidth to accept audio in stream
"NetStream.Play.InSufficientBW.Video" - subsceiber does not have enough bandwidth to accept video in stream
"NetStream.Play.SufficientBW.Audio" - subscriber has regained enough bandwidth to consume audio
"NetStream.Play.SufficientBW.Video" - subscriber has regained enough bandwidth to consume video
AUDIO_MUTE null
AUDIO_UNMUTE null
VIDEO_MUTE null
VIDEO_UNMUTE null
LICENSE_ERROR null
LICENSE_VALID null
BUFFER_FLUSH_START null
BUFFER_FLUSH_EMPTY null
VIDEO_RENDER_START null

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