IVSBroadcastSessionState
Objective-C
enum IVSBroadcastSessionState : NSInteger {}
Swift
enum State : Int
A value representing the IVSBroadcastSessions current state.
-
The session is invalid. This is the initial state after creating a session but before starting a stream.
Declaration
Objective-C
IVSBroadcastSessionStateInvalidSwift
case invalid = 0 -
The session has disconnected. After stopping a stream the session should return to this state unless it has errored.
Declaration
Objective-C
IVSBroadcastSessionStateDisconnectedSwift
case disconnected = 1 -
The session is connecting to the ingest server.
Declaration
Objective-C
IVSBroadcastSessionStateConnectingSwift
case connecting = 2 -
The session has connected to the ingest server and is currently sending data.
Declaration
Objective-C
IVSBroadcastSessionStateConnectedSwift
case connected = 3 -
The session has had an error. Use the
IVSBroadcastSessionDelegateto catch errors thrown by the session.Declaration
Objective-C
IVSBroadcastSessionStateErrorSwift
case error = 4
IVSBroadcastSessionState Enumeration Reference