Swiftpack.co - twilio/twilio-video-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by twilio.
twilio/twilio-video-ios v2.0.0-preview9
Programmable Video SDK by Twilio
⭐️ 64
🕓 7 weeks ago
iOS
.package(url: "https://github.com/twilio/twilio-video-ios.git", from: "v2.0.0-preview9")

Twilio Programmable Video for iOS

[!WARNING]
We are no longer allowing new customers to onboard to Twilio Video. Effective December 5th, 2024, Twilio Video will End of Life (EOL) and will cease to function for all customers. Customers may transition to any video provider they choose, however, we are recommending customers migrate to the Zoom Video SDK and we have prepared a Migration Guide. Additional information on this EOL is available in our Help Center here.

This repository contains releases of Twilio's Programmable Video SDK for iOS. These releases can be consumed using Swift Package Manager, CocoaPods or manual integration into your project.

Swift Package Manager

You can add Programmable Video for iOS by adding the https://github.com/twilio/twilio-video-ios repository as a Swift Package.

In your Build Settings, you will also need to modify Other Linker Flags to include -ObjC.

As of the latest release of Xcode (currently 12.3), there is a known issue with consuming binary frameworks distributed via Swift Package Manager. The current workaround to this issue is to add a Run Script Phase to the Build Phases of your Xcode project. This Run Script Phase should come after the Embed Frameworks build phase. This new Run Script Phase should contain the following code:

find "${CODESIGNING_FOLDER_PATH}" -name '*.framework' -print0 | while read -d $'\0' framework
do
    codesign --force --deep --sign "${EXPANDED_CODE_SIGN_IDENTITY}" --preserve-metadata=identifier,entitlements --timestamp=none "${framework}"
done

CocoaPods Integration

We support integration using CocoaPods as well. You can add Programmable Video to your project using the following example Podfile:

source 'https://github.com/CocoaPods/Specs'

platform :ios, '12.2'

target 'TARGET_NAME' do
    pod 'TwilioVideo', '~> 5.8'
end

Then run pod install to install the dependencies for your project.

Manual Integration

See manual installation steps.

Carthage Integration

Carthage is not currently a supported distribution mechanism for Twilio Video. Carthage does not currently work with .xcframeworks as documented here. Once Carthage supports binary .xcframeworks, Carthage distribution will be re-added.

Issues and Support

Please file any issues you find here on Github.

Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

For general inquiries related to the Video SDK you can file a support ticket.

License

Twilio Programmable Video for iOS is distributed under TWILIO-TOS.

GitHub

link
Stars: 64
Last commit: 7 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Twilio Video SDK iOS 5.8.0
7 weeks ago

This release consumes twilio-video-cpp-6.9.0.

  • Programmable Video iOS SDK 5.8.0 [XCFramework] (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).

Enhancements

  • This version contains 'VideoTrackStoringSampleBufferVideoView' class which simplifies the implementation of Picture in Picture.
  • This release is based on Chromium WebRTC 112.
  • iSAC Codec is no longer supported.

Known Issues

  • Audio playback fails in some cases when running a simulator on a Mac Mini. #182
  • Unpublishing and republishing a LocalAudioTrack or LocalVideoTrack might not be seen by Participants. #34
  • H.264 video might become corrupted after a network handoff. #147
  • iOS devices do not support more than three H.264 encoders. Refer to #17 for suggested work arounds.
  • Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]

5.7.1 (November 1, 2023)

  • Programmable Video iOS SDK 5.7.1 [XCFramework] (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).

Bug Fixes

  • Updated documentation for didFailToPublishVideoTrack callback.

Known Issues

  • Audio playback fails in some cases when running a simulator on a Mac Mini. #182
  • Unpublishing and republishing a LocalAudioTrack or LocalVideoTrack might not be seen by Participants. #34
  • H.264 video might become corrupted after a network handoff. #147
  • iOS devices do not support more than three H.264 encoders. Refer to #17 for suggested work arounds.
  • Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]

5.7.0 (June 14, 2023)

  • Programmable Video iOS SDK 5.7.0 [XCFramework] (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).

New Features

  • This version add the possibility to use camera multitasking on devices that supports it.

Enabling camera multitasking can be done when creating a CameraSource via the TVICameraSourceOptionsBuilder. CameraMultitasking is enabled by default on device that support it. The feature is supported on iPad Pro (4th generation), iPad Pro (5th generation) and iPad Air (5th generation).

let options = CameraSourceOptions { builder in
    builder.enableCameraMultitasking = true
}
  • Add system pressure report from the camera pipeline. When the system is under pressure clients will be notified about system pressure changes via the TVICameraSourceDelegate method
- (void)capturePipeline:(TVICameraCapturePipeline *)pipeline isReportingSystemPressure:(AVCaptureSystemPressureLevel)pressureLevel

Known Issues

  • Audio playback fails in some cases when running a simulator on a Mac Mini. #182
  • Unpublishing and republishing a LocalAudioTrack or LocalVideoTrack might not be seen by Participants. #34
  • H.264 video might become corrupted after a network handoff. #147
  • iOS devices do not support more than three H.264 encoders. Refer to #17 for suggested work arounds.
  • Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]

5.6.0 (March 29, 2023)

  • Programmable Video iOS SDK 5.5.1 [XCFramework] (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).

New Features

  • This release now uses WebRTC-m105

Known Issues

  • Audio playback fails in some cases when running a simulator on a Mac Mini. #182
  • Unpublishing and republishing a LocalAudioTrack or LocalVideoTrack might not be seen by Participants. #34
  • H.264 video might become corrupted after a network handoff. #147
  • iOS devices do not support more than three H.264 encoders. Refer to #17 for suggested work arounds.
  • Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]

Size Report

Architecture Compressed Size Uncompressed Size
Universal 6.3 MB 21.2 MB
arm64 6.3 MB 21.2 MB

5.5.1

  • Programmable Video iOS SDK 5.5.1 [XCFramework] (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).

Known Issues

  • Audio playback fails in some cases when running a simulator on a Mac Mini. #182
  • Unpublishing and republishing a LocalAudioTrack or LocalVideoTrack might not be seen by Participants. #34
  • H.264 video might become corrupted after a network handoff. #147
  • iOS devices do not support more than three H.264 encoders. Refer to #17 for suggested work arounds.
  • Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]

Size Impact for 5.8.0

Architecture Compressed Size Uncompressed Size
Universal 6.0 MB 20.4 MB
arm64 6.0 MB 20.4 MB

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics