├── .gitignore ├── Examples ├── JanusStreaming │ ├── JanusStreaming.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── JanusStreaming.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── JanusStreaming │ │ ├── Configuration │ │ │ ├── AppDelegate.swift │ │ │ └── SceneDelegate.swift │ │ ├── SupportingFiles │ │ │ ├── Assets.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ └── Contents.json │ │ │ │ └── Contents.json │ │ │ ├── Base.lproj │ │ │ │ └── LaunchScreen.storyboard │ │ │ ├── Info.plist │ │ │ └── PreviewContent │ │ │ │ └── Preview Assets.xcassets │ │ │ │ └── Contents.json │ │ ├── ViewModel │ │ │ └── AppViewModel.swift │ │ ├── Views │ │ │ ├── AppView.swift │ │ │ ├── CheckBoxItem.swift │ │ │ ├── StreamView.swift │ │ │ └── VideoView.swift │ │ └── WebRTC │ │ │ └── WebRTCClient.swift │ ├── Podfile │ └── Podfile.lock └── Package.swift ├── JanusSwift.podspec ├── LICENSE ├── Package.swift ├── README.md ├── Sources └── Janus │ ├── API │ ├── APIClient.swift │ ├── APIClientProtocol.swift │ ├── APIError.swift │ ├── APIRoute.swift │ └── URLRequestConvertible.swift │ ├── Data │ ├── JSEP.swift │ ├── Plugin.swift │ ├── Request │ │ ├── AttachPluginRequest.swift │ │ ├── CreateRequest.swift │ │ ├── KeepAliveRequest.swift │ │ ├── Streaming │ │ │ ├── ListRequest.swift │ │ │ ├── StartRequest.swift │ │ │ └── WatchRequest.swift │ │ └── TrickleRequest.swift │ └── Response │ │ ├── AttachPluginResponse.swift │ │ ├── CreateResponse.swift │ │ ├── KeepAliveResponse.swift │ │ ├── Streaming │ │ ├── ListResult.swift │ │ ├── LongPollStartResult.swift │ │ ├── LongPollWatchResult.swift │ │ ├── StartResponse.swift │ │ └── WatchResponse.swift │ │ └── TrickleResponse.swift │ └── JanusAPI.swift └── Tests └── JanusTests ├── JanusAPITests.swift └── Stub └── APIClientStub.swift /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | Pods/ 7 | -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/Configuration/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/Configuration/AppDelegate.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/Configuration/SceneDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/Configuration/SceneDelegate.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/SupportingFiles/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/SupportingFiles/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/SupportingFiles/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/SupportingFiles/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/SupportingFiles/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/SupportingFiles/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/SupportingFiles/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/SupportingFiles/Info.plist -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/SupportingFiles/PreviewContent/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/SupportingFiles/PreviewContent/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/ViewModel/AppViewModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/ViewModel/AppViewModel.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/Views/AppView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/Views/AppView.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/Views/CheckBoxItem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/Views/CheckBoxItem.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/Views/StreamView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/Views/StreamView.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/Views/VideoView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/Views/VideoView.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/JanusStreaming/WebRTC/WebRTCClient.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/JanusStreaming/WebRTC/WebRTCClient.swift -------------------------------------------------------------------------------- /Examples/JanusStreaming/Podfile: -------------------------------------------------------------------------------- 1 | target 'JanusStreaming' do 2 | use_frameworks! 3 | 4 | pod 'GoogleWebRTC', '~> 1.1' 5 | end 6 | -------------------------------------------------------------------------------- /Examples/JanusStreaming/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/JanusStreaming/Podfile.lock -------------------------------------------------------------------------------- /Examples/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Examples/Package.swift -------------------------------------------------------------------------------- /JanusSwift.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/JanusSwift.podspec -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Janus/API/APIClient.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/API/APIClient.swift -------------------------------------------------------------------------------- /Sources/Janus/API/APIClientProtocol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/API/APIClientProtocol.swift -------------------------------------------------------------------------------- /Sources/Janus/API/APIError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/API/APIError.swift -------------------------------------------------------------------------------- /Sources/Janus/API/APIRoute.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/API/APIRoute.swift -------------------------------------------------------------------------------- /Sources/Janus/API/URLRequestConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/API/URLRequestConvertible.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/JSEP.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/JSEP.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Plugin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Plugin.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/AttachPluginRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/AttachPluginRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/CreateRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/CreateRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/KeepAliveRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/KeepAliveRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/Streaming/ListRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/Streaming/ListRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/Streaming/StartRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/Streaming/StartRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/Streaming/WatchRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/Streaming/WatchRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Request/TrickleRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Request/TrickleRequest.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/AttachPluginResponse.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Response/AttachPluginResponse.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/CreateResponse.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Response/CreateResponse.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/KeepAliveResponse.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | struct KeepAliveResponse: Decodable {} 4 | -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/Streaming/ListResult.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Response/Streaming/ListResult.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/Streaming/LongPollStartResult.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | struct LongPollStartResult: Decodable {} 4 | -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/Streaming/LongPollWatchResult.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Response/Streaming/LongPollWatchResult.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/Streaming/StartResponse.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | struct StartResponse: Decodable { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/Streaming/WatchResponse.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/Data/Response/Streaming/WatchResponse.swift -------------------------------------------------------------------------------- /Sources/Janus/Data/Response/TrickleResponse.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | struct TrickleResponse: Decodable {} 4 | -------------------------------------------------------------------------------- /Sources/Janus/JanusAPI.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Sources/Janus/JanusAPI.swift -------------------------------------------------------------------------------- /Tests/JanusTests/JanusAPITests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Tests/JanusTests/JanusAPITests.swift -------------------------------------------------------------------------------- /Tests/JanusTests/Stub/APIClientStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarantedaniel/JanusSwift/HEAD/Tests/JanusTests/Stub/APIClientStub.swift --------------------------------------------------------------------------------