|
| 1 | +// swift-interface-format-version: 1.0 |
| 2 | +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) |
| 3 | +// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name VideoSDK |
| 4 | +import AVFoundation |
| 5 | +import Foundation |
| 6 | +import Starscream |
| 7 | +import Swift |
| 8 | +@_exported import VideoSDK |
| 9 | +import WebRTC |
| 10 | +import _Concurrency |
| 11 | +import vl_mediasoup_client_ios |
| 12 | +extension Foundation.Data { |
| 13 | + public func toJSONString() -> Swift.String |
| 14 | + public func toJSON() -> [Swift.String : Any] |
| 15 | +} |
| 16 | +extension Swift.String { |
| 17 | + public func toJSON() -> [Swift.String : Any] |
| 18 | +} |
| 19 | +extension Swift.Dictionary { |
| 20 | + public func toJSONString() -> Swift.String |
| 21 | +} |
| 22 | +extension Swift.Array { |
| 23 | + public func toJSONString() -> Swift.String |
| 24 | +} |
| 25 | +public enum StreamKind : Swift.String { |
| 26 | + case video |
| 27 | + case audio |
| 28 | + case share |
| 29 | + public init?(rawValue: Swift.String) |
| 30 | + public typealias RawValue = Swift.String |
| 31 | + public var rawValue: Swift.String { |
| 32 | + get |
| 33 | + } |
| 34 | +} |
| 35 | +@_hasMissingDesignatedInitializers public class MediaStream : Swift.Equatable { |
| 36 | + public var id: Swift.String { |
| 37 | + get |
| 38 | + } |
| 39 | + public var kind: VideoSDK.StreamKind { |
| 40 | + get |
| 41 | + } |
| 42 | + public var track: WebRTC.RTCMediaStreamTrack { |
| 43 | + get |
| 44 | + } |
| 45 | + public var producer: vl_mediasoup_client_ios.Producer? { |
| 46 | + get |
| 47 | + } |
| 48 | + public var consumer: vl_mediasoup_client_ios.Consumer? { |
| 49 | + get |
| 50 | + } |
| 51 | + @objc deinit |
| 52 | +} |
| 53 | +extension VideoSDK.MediaStream { |
| 54 | + public static func == (lhs: VideoSDK.MediaStream, rhs: VideoSDK.MediaStream) -> Swift.Bool |
| 55 | +} |
| 56 | +@_hasMissingDesignatedInitializers public class Meeting : Swift.Equatable { |
| 57 | + public var id: Swift.String { |
| 58 | + get |
| 59 | + } |
| 60 | + public var localParticipant: VideoSDK.Participant { |
| 61 | + get |
| 62 | + } |
| 63 | + public var participants: [Swift.String : VideoSDK.Participant] { |
| 64 | + get |
| 65 | + } |
| 66 | + @objc deinit |
| 67 | +} |
| 68 | +extension VideoSDK.Meeting { |
| 69 | + public func join() |
| 70 | + public func leave() |
| 71 | + public func enableWebcam() |
| 72 | + public func disableWebcam() |
| 73 | + public func muteMic() |
| 74 | + public func unmuteMic() |
| 75 | + public func startRecording(webhookUrl: Swift.String) |
| 76 | + public func stopRecording() |
| 77 | +} |
| 78 | +extension VideoSDK.Meeting { |
| 79 | + public func addEventListener(_ meetingEventListener: VideoSDK.MeetingEventListener) |
| 80 | + public func removeEventListener(_ meetingEventListener: VideoSDK.MeetingEventListener) |
| 81 | +} |
| 82 | +extension VideoSDK.Meeting { |
| 83 | + public static func == (lhs: VideoSDK.Meeting, rhs: VideoSDK.Meeting) -> Swift.Bool |
| 84 | +} |
| 85 | +public protocol MeetingEventListener : AnyObject { |
| 86 | + func onMeetingJoined() |
| 87 | + func onMeetingLeft() |
| 88 | + func onParticipantJoined(_ participant: VideoSDK.Participant) |
| 89 | + func onParticipantLeft(_ participant: VideoSDK.Participant) |
| 90 | + func onRecordingStarted() |
| 91 | + func onRecordingStoppped() |
| 92 | +} |
| 93 | +extension VideoSDK.MeetingEventListener { |
| 94 | + public func onMeetingJoined() |
| 95 | + public func onMeetingLeft() |
| 96 | + public func onParticipantJoined(_ participant: VideoSDK.Participant) |
| 97 | + public func onParticipantLeft(_ participant: VideoSDK.Participant) |
| 98 | + public func onRecordingStarted() |
| 99 | + public func onRecordingStoppped() |
| 100 | +} |
| 101 | +@_hasMissingDesignatedInitializers public class Participant : Swift.Equatable { |
| 102 | + public var id: Swift.String { |
| 103 | + get |
| 104 | + } |
| 105 | + public var displayName: Swift.String { |
| 106 | + get |
| 107 | + } |
| 108 | + public var videoQuality: VideoSDK.VideoQuality { |
| 109 | + get |
| 110 | + } |
| 111 | + public var isLocal: Swift.Bool { |
| 112 | + get |
| 113 | + } |
| 114 | + public var streams: [Swift.String : VideoSDK.MediaStream] { |
| 115 | + get |
| 116 | + } |
| 117 | + @objc deinit |
| 118 | +} |
| 119 | +extension VideoSDK.Participant { |
| 120 | + public func addStream(_ stream: VideoSDK.MediaStream) |
| 121 | + @discardableResult |
| 122 | + public func removeStream(_ streamId: Swift.String) -> VideoSDK.MediaStream? |
| 123 | + public func removeAllStreams() |
| 124 | +} |
| 125 | +extension VideoSDK.Participant { |
| 126 | + public func addEventListener(_ listener: VideoSDK.ParticipantEventListener) |
| 127 | + public func removeEventListener(_ listener: VideoSDK.ParticipantEventListener) |
| 128 | +} |
| 129 | +extension VideoSDK.Participant { |
| 130 | + public static func == (lhs: VideoSDK.Participant, rhs: VideoSDK.Participant) -> Swift.Bool |
| 131 | +} |
| 132 | +public protocol ParticipantEventListener { |
| 133 | + func onStreamEnabled(_ stream: VideoSDK.MediaStream, forParticipant participant: VideoSDK.Participant) |
| 134 | + func onStreamDisabled(_ stream: VideoSDK.MediaStream, forParticipant participant: VideoSDK.Participant) |
| 135 | +} |
| 136 | +extension VideoSDK.ParticipantEventListener { |
| 137 | + public func onStreamEnabled(_ stream: VideoSDK.MediaStream, forParticipant participant: VideoSDK.Participant) |
| 138 | + public func onStreamDisabled(_ stream: VideoSDK.MediaStream, forParticipant participant: VideoSDK.Participant) |
| 139 | +} |
| 140 | +public enum VideoQuality : Swift.String, Swift.CaseIterable { |
| 141 | + case high, medium, low |
| 142 | + public init?(rawValue: Swift.String) |
| 143 | + public typealias AllCases = [VideoSDK.VideoQuality] |
| 144 | + public typealias RawValue = Swift.String |
| 145 | + public static var allCases: [VideoSDK.VideoQuality] { |
| 146 | + get |
| 147 | + } |
| 148 | + public var rawValue: Swift.String { |
| 149 | + get |
| 150 | + } |
| 151 | +} |
| 152 | +@_hasMissingDesignatedInitializers final public class VideoSDK { |
| 153 | + public static func config(token: Swift.String) |
| 154 | + public static func initMeeting(meetingId: Swift.String, participantName: Swift.String = "Guest", micEnabled: Swift.Bool = true, webcamEnabled: Swift.Bool = true) -> VideoSDK.Meeting |
| 155 | + @objc deinit |
| 156 | +} |
| 157 | +extension VideoSDK.StreamKind : Swift.Equatable {} |
| 158 | +extension VideoSDK.StreamKind : Swift.Hashable {} |
| 159 | +extension VideoSDK.StreamKind : Swift.RawRepresentable {} |
| 160 | +extension VideoSDK.VideoQuality : Swift.Equatable {} |
| 161 | +extension VideoSDK.VideoQuality : Swift.Hashable {} |
| 162 | +extension VideoSDK.VideoQuality : Swift.RawRepresentable {} |
0 commit comments