Skip to content

Commit

Permalink
release/0.9.0 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadymmarkov authored Oct 9, 2023
1 parent d0daebb commit 8c3a509
Show file tree
Hide file tree
Showing 17 changed files with 48 additions and 187 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,28 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.9.0] - 2023-10-08

### Added
- New `AudioSession` class for configuring audio on iOS
- New customization options for `VideoComponent`: background color, corner radius
- Sort SRV records according to RFC 2782 specs

## Changed
- **BREAKING**: `MediaConnection.secureCheckCode` is now a publisher
- **BREAKING**: All functions in `MediaConnection` are now async
- Update WebRTC to M115
- Make it possible to create `WebRTCMediaFactory` with video encoder and decoder factories
- Use `RTCDefaultVideoEncoderFactory` and `RTCDefaultVideoDecoderFactory` as default factories on all platforms

### Fixed
- Fix `DNSServiceProcessResult` crash
- Fix Xcode 15 warnings
- Fall back to `.invalidPin` error on 403
- Fix creating conference address with uri

## Removed
- Remove various deprecated methods and types

## [0.8.0] - 2023-08-03

Expand Down Expand Up @@ -125,7 +144,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Added
- Initial release

[Unreleased]: https://github.com/pexip/pexip-swift-sdk/compare/0.8.0...HEAD
[Unreleased]: https://github.com/pexip/pexip-swift-sdk/compare/0.9.0...HEAD
[0.9.0]: https://github.com/pexip/pexip-swift-sdk/releases/tag/0.9.0
[0.8.0]: https://github.com/pexip/pexip-swift-sdk/releases/tag/0.8.0
[0.7.0]: https://github.com/pexip/pexip-swift-sdk/releases/tag/0.7.0
[0.6.0]: https://github.com/pexip/pexip-swift-sdk/releases/tag/0.6.0
Expand Down
2 changes: 1 addition & 1 deletion Docs/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header>
<nav class="top-nav">
<a href="/pexip-swift-sdk/" class="library-name">sdk</a>
<div class="version">0.8.0</div>
<div class="version">0.9.0</div>
<a href="/pexip-swift-sdk/sdk/documentation/pexipswiftsdk/macos">macOS</a>
<a href="/pexip-swift-sdk/sdk/documentation/pexipswiftsdk/ios">iOS</a>
<a href="/pexip-swift-sdk/sdk/documentation/pexipswiftsdk/">Home</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-snapshot-testing.git",
"state" : {
"revision" : "696b86a6d151578bca7c1a2a3ed419a5f834d40f",
"version" : "1.13.0"
"revision" : "5b356adceabff6ca027f6574aac79e9fee145d26",
"version" : "1.14.1"
}
},
{
Expand Down
36 changes: 18 additions & 18 deletions Examples/VideoFilters/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ PODS:
- nanopb/encode (= 2.30909.0)
- nanopb/decode (2.30909.0)
- nanopb/encode (2.30909.0)
- PexipCore (0.8.0)
- PexipInfinityClient (0.8.0):
- PexipCore (= 0.8.0)
- PexipMedia (0.8.0):
- PexipCore (= 0.8.0)
- PexipScreenCapture (= 0.8.0)
- PexipRTC (0.8.0):
- PexipCore (= 0.8.0)
- PexipMedia (= 0.8.0)
- PexipCore (0.9.0)
- PexipInfinityClient (0.9.0):
- PexipCore (= 0.9.0)
- PexipMedia (0.9.0):
- PexipCore (= 0.9.0)
- PexipScreenCapture (= 0.9.0)
- PexipRTC (0.9.0):
- PexipCore (= 0.9.0)
- PexipMedia (= 0.9.0)
- WebRTCObjc (= 105.0.0)
- PexipScreenCapture (0.8.0)
- PexipVideoFilters (0.8.0):
- PexipCore (= 0.8.0)
- PexipScreenCapture (0.9.0)
- PexipVideoFilters (0.9.0):
- PexipCore (= 0.9.0)
- PromisesObjC (2.2.0)
- Protobuf (3.22.0)
- WebRTCObjc (105.0.0)
Expand Down Expand Up @@ -132,12 +132,12 @@ SPEC CHECKSUMS:
MLKitVision: 96c96571190b7f63eddf4a12068ce8a8689e0d2c
MLKitXenoCommon: 39b7097db51f4716a2a0ff4e4459e002499f5523
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
PexipCore: 72e346c8e7abbb406ce7aa95cb49bd812ea85d34
PexipInfinityClient: 731054f3cb253ec7962b50ab5ca7160eed7c1236
PexipMedia: e93049cc7ef74e3bb1db2d1eed0f14f017745140
PexipRTC: 4072509d7ac882824cf1933d94010541e32355bf
PexipScreenCapture: 46bd9222fcdcf19d272baf0f28182d4f9db39415
PexipVideoFilters: 35e90817df9d0eb42ba08ef99414496e90a1e23e
PexipCore: 4abb452e22d057ea385a1df982ea16477029e5e5
PexipInfinityClient: fad8cd957ea2d08951e7a5c4c09f2d35487ac1be
PexipMedia: 9ddbb81847cf8f787779681a22e3378fddb74a6e
PexipRTC: eda6331a59feacfcc8ccd32ec40dcc67ccb34593
PexipScreenCapture: c5f03a544d66bcdf1e322b93e5ae81339c31d0fe
PexipVideoFilters: b916cd035e9c2a9cef15e844b41df04cb003658e
PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
Protobuf: 5e6cbc143d02fe08585d86b0098f8b755d2caaab
WebRTCObjc: eafbb6955adb16faa7d369ff308796caf854abf3
Expand Down
2 changes: 1 addition & 1 deletion PexipCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PexipCore'
s.version = '0.8.0'
s.version = '0.9.0'
s.summary = 'Pexip Swift SDK extensions, utilities and shared components.'
s.description = <<-DESC
Pexip Swift SDK is designed for use by iOS/macOS voice/video applications
Expand Down
2 changes: 1 addition & 1 deletion PexipInfinityClient.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PexipInfinityClient'
s.version = '0.8.0'
s.version = '0.9.0'
s.summary = 'A fluent client for Pexip Infinity REST API v2, conference controls, events, media signaling and token refreshing.'
s.description = <<-DESC
Pexip Swift SDK is designed for use by iOS/macOS voice/video applications
Expand Down
2 changes: 1 addition & 1 deletion PexipMedia.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PexipMedia'
s.version = '0.8.0'
s.version = '0.9.0'
s.summary = 'Core components for working with audio and video in the Pexip Swift SDK'
s.description = <<-DESC
Pexip Swift SDK is designed for use by iOS/macOS voice/video applications
Expand Down
2 changes: 1 addition & 1 deletion PexipRTC.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PexipRTC'
s.version = '0.8.0'
s.version = '0.9.0'
s.summary = 'Pexip WebRTC-based media stack for sending and receiving video streams.'
s.description = <<-DESC
Pexip Swift SDK is designed for use by iOS/macOS voice/video applications
Expand Down
2 changes: 1 addition & 1 deletion PexipScreenCapture.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PexipScreenCapture'
s.version = '0.8.0'
s.version = '0.9.0'
s.summary = 'High level APIs for screen capture on iOS and macOS.'
s.description = <<-DESC
Pexip Swift SDK is designed for use by iOS/macOS voice/video applications
Expand Down
2 changes: 1 addition & 1 deletion PexipVideoFilters.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PexipVideoFilters'
s.version = '0.8.0'
s.version = '0.9.0'
s.summary = 'A set of built-in video filters ready to use in your video conferencing app.'
s.description = <<-DESC
Pexip Swift SDK is designed for use by iOS/macOS voice/video applications
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@

import Foundation

@available(*, deprecated, renamed: "ConferenceAddress")
public typealias ConferenceAlias = ConferenceAddress

/// An address of the conference you are connecting to.
public struct ConferenceAddress: Hashable {
public let alias: String
Expand Down
38 changes: 0 additions & 38 deletions Sources/PexipInfinityClient/InfinityClientFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,6 @@ public struct InfinityClientFactory {
)
}

/**
Creates a new instance of ``Registration`` type.

- Parameters:
- node: A conferencing node address in the form of https://example.com
- deviceAlias: A device alias
- token: A registration token

- Returns: A new instance of ``Registration``.
*/
@available(*, deprecated, message: "Use String based registration(node:deviceAlias:token) instead.")
public func registration(
node: URL,
deviceAlias: DeviceAddress,
token: RegistrationToken
) -> Registration {
registration(node: node, deviceAlias: deviceAlias.alias, token: token)
}

/**
Creates a new instance of ``Registration`` type.

Expand Down Expand Up @@ -128,25 +109,6 @@ public struct InfinityClientFactory {
)
}

/**
Creates a new instance of ``Conference`` type.

- Parameters:
- node: A conferencing node address in the form of https://example.com
- alias: A conference alias
- token: A token of the conference

- Returns: A new instance of ``Conference``.
*/
@available(*, deprecated, message: "Use String based conference(node:alias:token) instead.")
public func conference(
node: URL,
alias: ConferenceAddress,
token: ConferenceToken
) -> Conference {
conference(node: node, alias: alias.alias, token: token)
}

// swiftlint:disable function_body_length
/**
Creates a new instance of ``Conference`` type.
Expand Down
20 changes: 0 additions & 20 deletions Sources/PexipInfinityClient/Node/NodeService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ public protocol NodeService {
*/
func status() async throws -> Bool

/**
Sets the conference alias.

- Parameters:
- alias: A conference alias
- Returns: A conference service for the given alias.
*/
@available(*, deprecated, message: "Use String based conference(alias:) instead.")
func conference(alias: ConferenceAddress) -> ConferenceService

/**
Sets the conference alias.

Expand All @@ -57,16 +47,6 @@ public protocol NodeService {
*/
func conference(alias: String) -> ConferenceService

/**
Sets the registration alias.

- Parameters:
- alias: A device alias
- Returns: A registration service for the given alias.
*/
@available(*, deprecated, message: "Use String based registration(deviceAlias:) instead.")
func registration(deviceAlias: DeviceAddress) -> RegistrationService

/**
Sets the registration alias.

Expand Down
3 changes: 0 additions & 3 deletions Sources/PexipInfinityClient/Registration/DeviceAlias.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.

@available(*, deprecated, renamed: "DeviceAddress")
public typealias DeviceAlias = ConferenceAddress

public typealias DeviceAddress = ConferenceAddress
49 changes: 0 additions & 49 deletions Sources/PexipMedia/Bandwidth.swift

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/PexipMedia/MediaConnectionConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ public struct MediaConnectionConfig {
/// The list of ice servers.
public let iceServers: [IceServer]

/// The max bandwidth of a video stream.
public let bandwidth: Bandwidth

/// Sets whether DSCP is enabled (default is false).
///
/// DSCP (Differentiated Services Code Point) values mark individual packets
Expand All @@ -54,14 +51,12 @@ public struct MediaConnectionConfig {
- Parameters:
- signaling: The object responsible for setting up and controlling a communication session.
- iceServers: The list of ice servers.
- bandwidth: The max bandwidth of a video stream.
- dscp: Sets whether DSCP is enabled.
- presentationInMain: Sets whether presentation will be mixed with main video feed.
*/
public init(
signaling: SignalingChannel,
iceServers: [IceServer] = [],
bandwidth: Bandwidth = .high,
dscp: Bool = false,
presentationInMain: Bool = false
) {
Expand All @@ -76,7 +71,6 @@ public struct MediaConnectionConfig {
}

self.iceServers = iceServers
self.bandwidth = bandwidth
self.dscp = dscp
self.presentationInMain = presentationInMain
}
Expand Down
40 changes: 0 additions & 40 deletions Tests/PexipMediaTests/BandwidthTests.swift

This file was deleted.

0 comments on commit 8c3a509

Please sign in to comment.