Class
AuroraLivePlayer
@objc
public class AuroraLivePlayer: NSObject, ObservableObject, Loggable
Relationships
Conforms To
MulticastDelegateProtocol
NSObject
ObservableObject
Initializers
init()
@objc
public override init()
Properties
version
@objc(sdkVersion)
public static let version = "1.0.1"
videoTrack
@Published public var videoTrack: RTCVideoTrack?
currentLayer
@Published public var currentLayer: AuroraLiveLayer
Methods
close()
public func close()
layer(layer:)
public func layer(layer: AuroraLiveLayer)
getStats()
public func getStats()
play(playbackId:token:)
public func play(playbackId: String, token: String? = nil)
add(delegate:)
@objc(addDelegate:)
public func add(delegate: AuroraLivePlayerDelegate)
remove(delegate:)
@objc(removeDelegate:)
public func remove(delegate: AuroraLivePlayerDelegate)
removeAllDelegates()
@objc
public func removeAllDelegates()