DefaultDeviceController
@objcMembers
public class DefaultDeviceController : NSObject, DeviceController
-
Declaration
Swift
public init(audioSession: AudioSession, videoClientController: VideoClientController, eventAnalyticsController: EventAnalyticsController, logger: Logger)
-
Declaration
Swift
public func listAudioDevices() -> [MediaDevice]
-
Declaration
Swift
public func chooseAudioDevice(mediaDevice: MediaDevice)
-
Declaration
Swift
public func addDeviceChangeObserver(observer: DeviceChangeObserver)
-
Declaration
Swift
public func removeDeviceChangeObserver(observer: DeviceChangeObserver)
-
Declaration
Swift
public func switchCamera()
-
Declaration
Swift
public func getActiveCamera() -> MediaDevice?
-
Declaration
Swift
public func getActiveAudioDevice() -> MediaDevice?