WebrtcOptions

public class WebrtcOptions : NSObject, Codable

WebRTC configuration for a Millicast source.

  • Declaration

    Swift

    public let playoutDelayMs: PlayoutDelay?
  • Signaling events to subscribe to (e.g. “viewercount”, “vad”). When nil (default), all events are subscribed. When set, only the listed events are subscribed, plus the events the SDK always needs (active, inactive, updated, stopped, layers, migrate); unknown names are ignored. An empty array subscribes only to the events the SDK always needs.

    Declaration

    Swift

    public let events: [String]?
  • Declaration

    Swift

    public init(playoutDelayMs: PlayoutDelay? = nil, events: [String]? = nil)