This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR is merging logic from https://github.com/jellyfish-dev/membrane-webrtc-ios into this repository. So we can keep only one SDK for iOS. Next phase would be to generate new documentation for joined library and update/release new version of `ios-client-sdk` > [!NOTE] > Commit history from previous repo is preserved using trick from https://gfscott.com/blog/merge-git-repos-and-keep-commit-history/ --------- Co-authored-by: Jakub Perżyło <[email protected]> Co-authored-by: Jakub Perżyło <[email protected]> Co-authored-by: Angelika Serwa <[email protected]> Co-authored-by: Rohan Panchal <[email protected]> Co-authored-by: pawelgil <[email protected]> Co-authored-by: Michał Śledź <[email protected]> Co-authored-by: Michał Śledź <[email protected]> Co-authored-by: Karol Sygiet <[email protected]> Co-authored-by: incubo4u <[email protected]> Co-authored-by: Michał Hoffmann <[email protected]> Co-authored-by: karkakol <[email protected]> Co-authored-by: Karol Kąkol <[email protected]>
- Loading branch information
1 parent
007d4ec
commit a3a1a65
Showing
66 changed files
with
5,228 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ on: [push] | |
|
||
jobs: | ||
lint: | ||
runs-on: macos-12 | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JellyfishClientDemo/JellyfishClientDemo/ParticipantVideoView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import MembraneRTC | ||
import JellyfishClientSdk | ||
import SwiftUI | ||
|
||
struct ParticipantVideoView: View { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Be sure to run `pod lib lint MembraneRTC.podspec' to ensure this is a | ||
# valid spec before submitting. | ||
# | ||
# Any lines starting with a # are optional, but their use is encouraged | ||
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html | ||
# | ||
|
||
Pod::Spec.new do |s| | ||
s.name = 'JellyfishSDK' | ||
s.version = '0.3.0' | ||
s.summary = 'Jellyfish SDK fully compatible with `Membrane RTC Engine` for iOS.' | ||
|
||
s.homepage = 'https://github.com/jellyfish-dev/ios-client-sdk' | ||
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | ||
s.license = { :type => 'Apache-2.0 license', :file => 'LICENSE' } | ||
s.author = { 'Software Mansion' => 'https://swmansion.com' } | ||
s.source = { :git => 'https://github.com/jellyfish-dev/ios-client-sdk.git', :tag => s.version.to_s } | ||
|
||
s.ios.deployment_target = '13.0' | ||
s.swift_version = '5.0' | ||
|
||
s.source_files = 'Sources/**/*' | ||
s.dependency 'WebRTC-SDK', '114.5735.08' | ||
s.dependency 'SwiftProtobuf' | ||
s.dependency 'PromisesSwift' | ||
s.dependency 'SwiftPhoenixClient', '~> 4.0.0' | ||
s.dependency 'SwiftLogJellyfish', '1.5.2' | ||
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' } | ||
|
||
s.subspec "Broadcast" do |spec| | ||
spec.source_files = "Sources/MembraneRTC/Media/BroadcastSampleSource.swift", "Sources/MembraneRTC/IPC/**/*.{h,m,mm,swift}" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# ``MembraneRTC`` | ||
|
||
MembraneRTC client. | ||
|
||
The client is responsible for relaying MembraneRTC Engine specific messages through given reliable transport layer. | ||
Once initialized, the client is responsbile for exchaning necessary messages via provided `EventTransport` and managing underlying | ||
`RTCPeerConnection`. The goal of the client is to be as lean as possible, meaning that all activies regarding the session such as moderating | ||
should be implemented by the user himself on top of the `MembraneRTC`. | ||
|
||
The user's ability of interacting with the client is greatly liimited to the essential actions such as joining/leaving the session, | ||
adding/removing local tracks and receiving information about remote peers and their tracks that can be played by the user. | ||
|
||
User can request 3 different types of local tracks that will get forwareded to the server by the client: | ||
- `LocalAudioTrack` - an audio track utilizing device's microphone | ||
- `LocalVideoTrack` - a video track that can utilize device's camera or if necessay use video playback from a file (useful for testing with a simulator) | ||
- `LocalBroadcastScreenTrack` - a screencast track taking advantage of `Broadcast Upload Extension` to record device's screen even if the app is minimized | ||
|
||
It is recommended to request necessary audio and video tracks before joining the room but it does not mean it can't be done afterwards (in case of screencast) | ||
|
||
Once the user received `onConnected` notification they can call the `join` method to initialize joining the session. | ||
After receiving `onJoinSuccess` a user will receive notification about various peers joining/leaving the session, new tracks being published and ready for playback | ||
or going inactive. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import MembraneRTC | ||
import Starscream | ||
import WebRTC | ||
|
||
|
Oops, something went wrong.