CBLCameraLiveViewTerminationReason
Objective-C
enum CBLCameraLiveViewTerminationReason : NSInteger {}
Swift
enum LiveViewTerminationReason : Int, @unchecked Sendable
Reasons the live view stream can stop.
-
The stream ended normally, due to mode switching or an explicit call to
endLiveViewStream.Declaration
Objective-C
CBLCameraLiveViewTerminationReasonEndedNormallySwift
case endedNormally = 0 -
The stream could not start because there is already a stream running from this camera.
Declaration
Objective-C
CBLCameraLiveViewTerminationReasonAlreadyStreamingSwift
case alreadyStreaming = 1 -
The stream failed, due to disconnection or another failure.
Declaration
Objective-C
CBLCameraLiveViewTerminationReasonFailedSwift
case failed = 2