DefaultAudioVideoFacade
@objcMembers
public class DefaultAudioVideoFacade : NSObject, AudioVideoFacade
-
Declaration
Swift
public let configuration: MeetingSessionConfiguration
-
Declaration
Swift
public let logger: Logger
-
init(audioVideoController:
realtimeController: deviceController: videoTileController: activeSpeakerDetector: contentShareController: eventAnalyticsController: meetingStatsCollector: ) Declaration
Swift
public init( audioVideoController: AudioVideoControllerFacade, realtimeController: RealtimeControllerFacade, deviceController: DeviceController, videoTileController: VideoTileController, activeSpeakerDetector: ActiveSpeakerDetectorFacade, contentShareController: ContentShareController, eventAnalyticsController: EventAnalyticsController, meetingStatsCollector: MeetingStatsCollector )
-
Declaration
Swift
public func start(audioVideoConfiguration: AudioVideoConfiguration) throws
-
Declaration
Swift
public func start(callKitEnabled: Bool = false) throws
-
Declaration
Swift
public func start() throws
-
Declaration
Swift
public func stop()
-
Declaration
Swift
public func startLocalVideo() throws
-
Declaration
Swift
public func startLocalVideo(config: LocalVideoConfiguration) throws
-
Declaration
Swift
public func startLocalVideo(source: VideoSource)
-
Declaration
Swift
public func startLocalVideo(source: VideoSource, config: LocalVideoConfiguration)
-
Declaration
Swift
public func stopLocalVideo()
-
Declaration
Swift
public func startRemoteVideo()
-
Declaration
Swift
public func stopRemoteVideo()
-
Declaration
Swift
public func realtimeLocalMute() -> Bool
-
Declaration
Swift
public func realtimeLocalUnmute() -> Bool
-
Declaration
Swift
public func addRealtimeObserver(observer: RealtimeObserver)
-
Declaration
Swift
public func removeRealtimeObserver(observer: RealtimeObserver)
-
Declaration
Swift
public func addRealtimeDataMessageObserver(topic: String, observer: DataMessageObserver)
-
Declaration
Swift
public func removeRealtimeDataMessageObserverFromTopic(topic: String)
-
Declaration
Swift
public func realtimeSendDataMessage(topic: String, data: Any, lifetimeMs: Int32 = 0) throws
-
Declaration
Swift
public func realtimeSetVoiceFocusEnabled(enabled: Bool) -> Bool
-
Declaration
Swift
public func realtimeIsVoiceFocusEnabled() -> Bool
-
Declaration
Swift
public func addAudioVideoObserver(observer: AudioVideoObserver)
-
Declaration
Swift
public func removeAudioVideoObserver(observer: AudioVideoObserver)
-
Declaration
Swift
public func addMetricsObserver(observer: MetricsObserver)
-
Declaration
Swift
public func removeMetricsObserver(observer: MetricsObserver)
-
Declaration
Swift
public func addRealtimeTranscriptEventObserver(observer: TranscriptEventObserver)
-
Declaration
Swift
public func removeRealtimeTranscriptEventObserver(observer: TranscriptEventObserver)
-
Declaration
Swift
public func updateVideoSourceSubscriptions(addedOrUpdated: Dictionary<RemoteVideoSource, VideoSubscriptionConfiguration>, removed: Array<RemoteVideoSource>)
-
Declaration
Swift
public func promoteToPrimaryMeeting(credentials: MeetingSessionCredentials, observer: PrimaryMeetingPromotionObserver)
-
Declaration
Swift
public func demoteFromPrimaryMeeting()
-
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?
-
Declaration
Swift
public func bindVideoView(videoView: VideoRenderView, tileId: Int)
-
Declaration
Swift
public func unbindVideoView(tileId: Int)
-
Declaration
Swift
public func addVideoTileObserver(observer: VideoTileObserver)
-
Declaration
Swift
public func removeVideoTileObserver(observer: VideoTileObserver)
-
Declaration
Swift
public func pauseRemoteVideoTile(tileId: Int)
-
Declaration
Swift
public func resumeRemoteVideoTile(tileId: Int)
-
Declaration
Swift
public func addActiveSpeakerObserver(policy: ActiveSpeakerPolicy, observer: ActiveSpeakerObserver)
-
Declaration
Swift
public func removeActiveSpeakerObserver(observer: ActiveSpeakerObserver)
-
Declaration
Swift
public func hasBandwidthPriorityCallback(hasBandwidthPriority: Bool)
-
Declaration
Swift
public func startContentShare(source: ContentShareSource)
-
Declaration
Swift
public func startContentShare(source: ContentShareSource, config: LocalVideoConfiguration)
-
Declaration
Swift
public func stopContentShare()
-
Declaration
Swift
public func addContentShareObserver(observer: ContentShareObserver)
-
Declaration
Swift
public func removeContentShareObserver(observer: ContentShareObserver)
-
Declaration
Swift
public func addEventAnalyticsObserver(observer: EventAnalyticsObserver)
-
Declaration
Swift
public func removeEventAnalyticsObserver(observer: EventAnalyticsObserver)
-
Declaration
Swift
public func getMeetingHistory() -> [MeetingHistoryEvent]
-
Declaration
Swift
public func getCommonEventAttributes() -> [AnyHashable : Any]