-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
7,054 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
## Build generated | ||
build/ | ||
DerivedData | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
|
||
## Other | ||
*.xccheckout | ||
*.moved-aside | ||
*.xcuserstate | ||
*.xcscmblueprint | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
# | ||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. | ||
# Packages/ | ||
.build/ | ||
|
||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# | ||
# Pods/ | ||
|
||
# Carthage | ||
# | ||
# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
# Carthage/Checkouts | ||
|
||
Carthage/Build | ||
Sora/Carthage/Build | ||
Sora/Carthage/Checkouts | ||
examples/SoraApp/Carthage/Build | ||
examples/SoraApp/Carthage/Checkouts | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md | ||
|
||
fastlane/report.xml | ||
fastlane/screenshots | ||
|
||
*.swp | ||
doc | ||
project.xcworkspace |
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,118 @@ | ||
# 変更履歴 | ||
|
||
- UPDATE | ||
- 下位互換がある変更 | ||
- ADD | ||
- 下位互換がある追加 | ||
- CHANGE | ||
- 下位互換のない変更 | ||
- FIX | ||
- バグ修正 | ||
|
||
## 1.0.0 | ||
|
||
- [CHANGE] WebRTC M57 に対応した | ||
|
||
- [CHANGE] 対応アーキテクチャを arm64 のみにした | ||
|
||
- [CHANGE] マルチストリームに対応した | ||
|
||
- [CHANGE] シグナリング: "notify" に対応した | ||
|
||
- [CHANGE] シグナリング: Sora の仕様変更に伴い、 "stats" への対応を廃止した | ||
|
||
- [CHANGE] シグナリング: Sora の仕様変更に伴い、 "connect" の "access_token" パラメーターを "metadata" に変更した | ||
|
||
- [CHANGE] API: ArchiveFinished: 削除した | ||
|
||
- [CHANGE] API: ArchiveFailed: 削除した | ||
|
||
- [CHANGE] API: MediaConnection: MediaStream を複数保持するようにした | ||
|
||
- [CHANGE] API: MediaConnection: ``multistreamEnabled`` プロパティを追加した | ||
|
||
- [CHANGE] API: MediaConnection: 次の変数の型を変更した | ||
|
||
- ``webSocketEventHandlers``: ``WebSocketEventHandlers?`` --> ``WebSocketEventHandlers`` | ||
- ``signalingEventHandlers``: ``SignalingEventHandlers?`` --> ``SignalingEventHandlers`` | ||
- ``peerConnectionEventHandlers``: ``PeerConnectionEventHandlers?`` --> ``PeerConnectionEventHandlers`` | ||
|
||
- [CHANGE] API: MediaConnection: ``connect(accessToken:timeout:handler:)`` メソッドの型を ``connect(metadata:timeout:handler:)`` に変更した | ||
|
||
- [CHANGE] API: MediaConnection, MediaStream: 次の API を MediaStream に移行した | ||
|
||
- ``var videoRenderer`` | ||
|
||
- ``func startConnectionTimer(timeInterval:handler:)`` | ||
|
||
- [CHANGE] API: MediaConnection.State: 削除した | ||
|
||
- [CHANGE] API: MediaOption.AudioCodec: ``unspecified`` を ``default`` に変更した | ||
|
||
- [CHANGE] API: MediaOption.VideoCodec: ``unspecified`` を ``default`` に変更した | ||
|
||
- [CHANGE] API: MediaPublisher: ``autofocusEnabled`` プロパティを追加した | ||
|
||
- [CHANGE] API: MediaStream: RTCPeerConnection のラッパーではなく、 RTCMediaStream のラッパーに変更した | ||
|
||
- [CHANGE] API: MediaStream: ``startConnectionTimer(timeInterval:handler:)``: タイマーを起動した瞬間もハンドラーを実行するようにした | ||
|
||
- [CHANGE] API: MediaStream.State: 削除した | ||
|
||
- [CHANGE] API: PeerConnection: RTCPeerConnection のラッパーとして追加した | ||
|
||
- [CHANGE] API: SignalingConnected: 削除した | ||
|
||
- [CHANGE] API: SignalingCompleted: 削除した | ||
|
||
- [CHANGE] API: SignalingDisconnected: 削除した | ||
|
||
- [CHANGE] API: SignalingFailed: 削除した | ||
|
||
- [CHANGE] API: StatisticsReport: RTCStatsReport の変更 (名前が RTCLegacyStatsReport に変更された) に伴い削除した | ||
|
||
- [CHANGE] API: VideoView: 映像のアスペクト比を保持するようにした | ||
|
||
- [UPDATE] API: MediaCapturer: 同一の RTCPeerConnectionFactory で再利用するようにした | ||
|
||
- [UPDATE] API: MediaCapturer: 映像トラック名と音声トラック名を自動生成するようにした | ||
|
||
- [UPDATE] API: VideoRenderer: 描画処理をメインスレッドで実行するようにした | ||
|
||
- [UPDATE] API: VideoView: UI の設計に Nib ファイルを利用するようにした | ||
|
||
- [UPDATE] API: VideoView: バックグラウンド (ビューがキーウィンドウに表示されていない) では描画処理を中止するようにした | ||
|
||
- [ADD] API: BuildInfo: 追加した | ||
|
||
- [ADD] API: ConnectionController: 追加した | ||
|
||
- [ADD] API: Connection: 次の API を追加した | ||
|
||
- ``var numberOfConnections`` | ||
|
||
- ``func onChangeNumberOfConnections(handler:)`` | ||
|
||
- [ADD] API: Connection, MediaConnection, MediaStream, PeerConnection: 次のイベントで (NotificationCenter による) 通知を行うようにした | ||
|
||
- onConnect | ||
- onDisconnect | ||
- onFailure | ||
|
||
- [ADD] API: WebSocketEventHandlers, SignalingEventHandlers, PeerConnectionEventHandlers: イニシャライザーを追加した | ||
|
||
- [FIX] シグナリング: 音声コーデック Opus を指定するためのパラメーターの間違いを修正した | ||
|
||
- [FIX] 接続解除後にイベントログを記録しようとして落ちる現象を修正した | ||
|
||
- [FIX] 接続失敗時にデバイスを初期化しようとして落ちる現象を修正した (接続成功時のみ初期化するようにした) | ||
|
||
- [FIX] 接続試行中にエラーが発生して失敗したにも関わらず、成功と判断されてしまう場合がある現象を修正した | ||
|
||
- [FIX] API: MediaConnection: 接続解除後もタイマーが実行されてしまう場合がある現象を修正した (タイマーに関する API は MediaStream に移動した) | ||
|
||
- [FIX] API: PeerConnection: 接続失敗時でもタイムアウト時のイベントハンドラが呼ばれる現象を修正した | ||
|
||
## 0.1.0 | ||
|
||
**0.1.0 リリース** |
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,2 +1,20 @@ | ||
# sora-ios-sdk-diet | ||
WebRTC SFU Sora iOS SDK | ||
# Sora iOS SDK | ||
|
||
Sora iOS SDK は [WebRTC SFU Sora](https://sora.shiguredo.jp) の iOS クライアントアプリケーションを開発するためのライブラリです。 | ||
|
||
使い方は [Sora iOS SDK ドキュメント](https://sora.shiguredo.jp/ios-sdk-doc/) を参照してください。 | ||
|
||
## システム条件 | ||
|
||
- iOS 10.1 以降 (シミュレーターは非対応) | ||
- Mac OS X 10.11.6 以降 | ||
- Xcode 8.1 以降 | ||
- Swift 3.0.1 | ||
- WebRTC M57 | ||
- WebRTC SFU Sora 17.02 以降 | ||
|
||
## サポートについて | ||
|
||
Sora iOS SDK に関する質問・要望・バグなどの報告は Issues の利用をお願いします。 | ||
ただし、 Sora のライセンス契約の有無に関わらず、 Issue への応答時間と問題の解決を保証しませんのでご了承ください。 | ||
Sora iOS SDK に対する有償のサポートについては sora at shiguredo.jp までお問い合わせください。 |
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,3 @@ | ||
github "shiguredo/sora-webrtc-ios" "57.0" | ||
github "facebook/SocketRocket" "0.4.2" | ||
github "johnsundell/unbox" "2.2.1" |
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,3 @@ | ||
github "facebook/SocketRocket" "0.4.2" | ||
github "shiguredo/sora-webrtc-ios" "57.0" | ||
github "johnsundell/unbox" "2.2.1" |
Oops, something went wrong.