StreamState

@objc(GSStreamState)
public enum StreamState : Int, CustomStringConvertible

Stream state.

  • Stream is stopped.

    In this state, specific stream child interfaces do not provide any meaningful playback state information.

    Declaration

    Swift

    case stopped
  • Stream is suspended.

    In this state, specific stream child interfaces inform about the playback state that the stream will try to recover once it can start again.

    Note that only CameraLive stream supports suspension.

    Declaration

    Swift

    case suspended
  • Stream is starting.

    In this state, specific stream child interfaces inform about the playback state that the stream will try to apply once it is fully started.

    Declaration

    Swift

    case starting
  • Stream is started.

    In this state, specific stream child interfaces inform about the stream’s current playback state.

    Declaration

    Swift

    case started
  • Debug description.

    Declaration

    Swift

    public var description: String { get }