VIBroadcast
VoximplantCalls · iOS SDK v3
Class that represents broadcast screen sharing in a conference.
@objc class VIBroadcast
This class is designed to enable screen sharing on a device outside of the application using the ReplayKit framework and iOS application extension.
Properties
delegate
@objc weak var delegate: VIBroadcastDelegate?
Broadcast delegate.
duration
@objc var duration: TimeInterval { get }
Broadcast duration in seconds.
endpointId
@objc var endpointId: String? { get }
Broadcast endpoint id.
id
@objc var id: String { get }
Broadcast id.
localVideoStream
@objc let localVideoStream: VILocalVideoStream
Broadcast video stream.
state
@objc var state: VICallState { get }
Broadcast state.
Methods
hangup(withHeaders:)
@objc func hangup(withHeaders headers: [String : String]? = nil)
Stops the brodacst.
Parameters
headers [String : String]?
Optional set of headers to be sent. Names must begin with “X-” to be processed by the SDK. The default value is nil.
start()
@objc func start()
Starts the broadcast.
Relationships
Inherits From: NSObject
Conforms To: ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable