MediaOptions

public struct MediaOptions

A class that provides media options that can be set when establishing a media stream for a live event.

Since

1.0.0
  • Indicates whether to turn on video when the media streaming of host starts.

    Since

    1.0.0

    Declaration

    Swift

    public var turnVideoOn: Bool
  • Indicates whether to turn on audio when the media streaming of host starts.

    Since

    1.0.0

    Declaration

    Swift

    public var turnAudioOn: Bool
  • Undocumented

    Declaration

    Swift

    public var useFrontCamera: Bool
  • Indicates whether the live event will be streamed using an external video source instead of the default camera on a mobile device. If set to true, the live event will be streamed with the external video source when the live event starts and calling the startUsingExternalVideo() method won’t be necessary.

    Declaration

    Swift

    public var streamWithExternalVideo: Bool
  • Undocumented

    Declaration

    Swift

    public init()
  • Undocumented

    Declaration

    Swift

    public init(turnVideoOn: Bool, turnAudioOn: Bool)
  • Undocumented

    Declaration

    Swift

    public init(turnVideoOn: Bool, turnAudioOn: Bool, useFrontCamera: Bool)
  • Undocumented

    Declaration

    Swift

    public init(turnVideoOn: Bool, turnAudioOn: Bool, streamWithExternalVideo: Bool)