Swiftpack.co - twilio/twilio-live-player-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-live-player-ios 1.1.0
Twilio Player iOS SDK by Twilio
⭐️ 1
🕓 2 years ago
iOS
.package(url: "https://github.com/twilio/twilio-live-player-ios.git", from: "1.1.0")

Twilio Live Player SDK for iOS

This repository contains releases of Twilio's Player 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 Player SDK for iOS by adding the https://github.com/twilio/twilio-live-player-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 Player SDK to your project using the following example Podfile:

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

platform :ios, '11.0'

target 'TARGET_NAME' do
    pod 'TwilioLivePlayer', '1.0.0'
    pod 'AmazonIVSPlayer', '1.5.0'
end

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

Manual Integration

See manual installation steps.

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 Live Player for iOS is distributed under TWILIO-TOS.

GitHub

link
Stars: 1
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Twilio Player SDK iOS 1.1.0
2 years ago

Enhancements

  • Added arm64 simulator support to the Live Player SDK.
  • This version of Player SDK is built using Xcode 13.0.0.
  • Reduced occurrences of freezing during quality switches when playing recorded content.

Bug fixes

  • Fixed stuttering when playing a stream from a source media playlist.
  • Fixed rare crashes that could occur during app termination and media-service reset event.
  • Fixed warning that umbrella header for module 'TwilioLivePlayer' does not include header 'TPLDefaultLogger.h'

Size Impact for 1.1.0

Architecture Compressed Size Uncompressed Size
Universal 0.8 MB 1.9 MB
arm64 0.8 MB 1.9 MB

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