All Projects → bitmovin → bitmovin-player-ios-samples

bitmovin / bitmovin-player-ios-samples

Licence: other
bitmovin.com/docs/player/getting-started/ios

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to bitmovin-player-ios-samples

WWDCNotes
WWDCNotes.com content
Stars: ✭ 343 (+802.63%)
Mutual labels:  tvos, ipados
Swiftui Kit
A SwiftUI system components and interactions demo app
Stars: ✭ 1,733 (+4460.53%)
Mutual labels:  tvos, ipados
WacOS
A Linux distribution that mimics MacOS (modern and classic) iOS, and other Apple operating systems, but is open, customizable, and free to use on non-apple hardware.
Stars: ✭ 18 (-52.63%)
Mutual labels:  tvos, ipados
data-field
A SwiftUI view that wraps a text field to only accept specific data.
Stars: ✭ 13 (-65.79%)
Mutual labels:  tvos, ipados
Columbus
A feature-rich country picker for iOS, tvOS and watchOS.
Stars: ✭ 23 (-39.47%)
Mutual labels:  tvos
UitzendingGemist
An *Unofficial* Uitzending Gemist application for Apple TV 4 (**deprecated, use TV Gemist ☝🏻**)
Stars: ✭ 48 (+26.32%)
Mutual labels:  tvos
SDWebImageHEIFCoder
A SDWebImage coder plugin to support HEIF image without Apple's Image/IO framework
Stars: ✭ 31 (-18.42%)
Mutual labels:  tvos
bitmovin-player-ui
The Bitmovin Adaptive Streaming Player UI
Stars: ✭ 115 (+202.63%)
Mutual labels:  bitmovin
QuizKit
⁉️ A framework for developing local or remote quiz apps for iOS or tvOS
Stars: ✭ 28 (-26.32%)
Mutual labels:  tvos
Hostess.swift
A Swift implementation of NSHost that works on iOS, OS X and tvOS. Hostess.swift is safe to use in a framework because it does not require a bridging header. Hostess is Swift 4.0 (or newer) only and replaces the Swift 2.x only Host.swift.
Stars: ✭ 27 (-28.95%)
Mutual labels:  tvos
SwiftUIFormValidator
Declarative form validator for SwiftUI.
Stars: ✭ 34 (-10.53%)
Mutual labels:  tvos
bitmovin-player-web-samples
Showcases build around the Bitmovin Adaptive Streaming Player, demonstrating usage and capabilities of the HTML5 based HLS and MPEG-DASH player, as well as the Flash based Fallback.
Stars: ✭ 69 (+81.58%)
Mutual labels:  bitmovin
OpenAPI-ObjectiveC
KKBOX Open API Developer SDK for iOS/macOS/watchOS/tvOS
Stars: ✭ 19 (-50%)
Mutual labels:  tvos
ivysilani tvOS
Neoficiální klient iVysílání pro sledování videoobsahu veřejnoprávní České televize na Apple TV
Stars: ✭ 41 (+7.89%)
Mutual labels:  tvos
SPConfetti
Show the confetti only when the user is having fun, and if not having fun, don't show it.
Stars: ✭ 187 (+392.11%)
Mutual labels:  tvos
TVMLKitchen
Swifty TVML template manager with or without client-server
Stars: ✭ 82 (+115.79%)
Mutual labels:  tvos
SwiftSimctl
Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!
Stars: ✭ 50 (+31.58%)
Mutual labels:  tvos
aprenda-swift
Uma lista de conteúdos para você aprender Swift
Stars: ✭ 429 (+1028.95%)
Mutual labels:  ipados
Mechanica
A cross-platform library of Swift utils to ease your iOS | macOS | watchOS | tvOS and Linux development.
Stars: ✭ 27 (-28.95%)
Mutual labels:  tvos
Apple-Platform-Security-Guides
Every Apple Platform Security Guide
Stars: ✭ 106 (+178.95%)
Mutual labels:  tvos

bitmovin-player-ios-samples

This repository contains sample apps which are using the Bitmovin Player iOS SDK.

Table of Content


Available Sample Apps

Basics

  • BasicPlayback: Shows how to set up the Bitmovin Player for basic playback of HLS or progressive streams.
  • BasicPlaybackTV: Shows how to set up the Bitmovin Player for basic playback of HLS or progressive streams in a tvOS application.
  • BasicMetadataHandling Shows how to set up and configure the Bitmovin Player for playback of content that contains metadata.

DRM

  • BasicDRMPlayback: Shows how to set up and configure the Bitmovin Player for playback of FairPlay Streaming protected content.

Offline Playback

  • BasicOfflinePlayback Shows how to set up the Bitmovin Player to download protected and unprotected content for offline playback.

Playback & Casting

  • BackgroundPlayback Shows how to set up the Bitmovin Player for background playback (e.g. to play audio in silent mode).
  • BasicCasting Shows how to set up and configure Google ChromeCast support with the Bitmovin Player. (Please mind the Casting Requirements)
  • AdvancedCasting Shows how to implement advanced casting use cases. (Please mind the Casting Requirements)

Advertising

  • BasicAds Shows how to set up and configure the Bitmovin Player for playback of ads.

UI

  • CustomHtmlUi Shows how to set up and configured the Bitmovin Player to use a custom HTML UI. Besides, this sample includes how to communicate between the javascript UI and the native code.
  • SystemUI Shows how to use the system UI instead of the default UI.
  • BasicFullscreenHandling Shows how to use the BitmovinFullscreenHandler-protocol to implement basic fullscreen handling.

Playlist

  • BasicPlaylist Shows how to implement queueing / playlists.
  • BasicPlaylistTV Shows how to implement queueing / playlists in a tvOS application.

Next Up

  • NextUpTV Shows how to implement next-up feature in a tvOS application

Sample App Setup Instructions

Please execute pod install --repo-update to properly initialize the workspace. In each sample app, you also have to add your Bitmovin Player license key to Info.plist file as BitmovinPlayerLicenseKey or provide it via the PlayerConfig.key property.

In addition to that you have to log in to https://bitmovin.com/dashboard, where you have to add the following bundle identifier of the sample application as an allowed domain under Player -> Licenses:

com.bitmovin.player.samples.playback.basic
com.bitmovin.player.samples.tv.playback.basic
com.bitmovin.player.samples.drm.basic
com.bitmovin.player.samples.casting.basic
com.bitmovin.player.samples.metadata.basic
com.bitmovin.player.samples.custom.ui.html
com.bitmovin.player.samples.ads.basic
com.bitmovin.player.samples.systemui
com.bitmovin.player.samples.offline.basic
com.bitmovin.player.samples.playback.background
com.bitmovin.player.samples.casting.advanced
com.bitmovin.player.samples.fullscreen.basic
com.bitmovin.player.samples.playlist.basic
com.bitmovin.player.samples.tv.playlist.basic

How to integrate the Bitmovin Player iOS SDK

When you want to develop an own iOS application using the Bitmovin Player iOS SDK read through the following steps.

Adding the SDK To Your Project

To add the SDK as a dependency to your project, you have two options: Using CocoaPods or adding the SDK bundle directly.

Using CocoaPods

  1. Add source 'https://github.com/bitmovin/cocoapod-specs.git' to your Podfile.
  2. Run pod repo update to add the newly added source.
  3. Add pod 'BitmovinPlayer', '3.19.0' to your Podfile.
  4. Install the pod using pod install.

See the Podfile of this repository for a full example.

Adding the SDK Directly

When using Xcode, go to the General page or your app target and add the SDK bundle (BitmovinPlayer.xcframework) under Linked Frameworks and Libraries. The latest SDK for iOS and tvOS can be downloaded here.

Prepare your Bitmovin Player license

  • Add your Bitmovin player license key to the Info.plist file as BitmovinPlayerLicenseKey. Alternatively you can also set the license key via the PlayerConfig.key property when creating a Player instance.

    Your player license key can be found when logging in into https://bitmovin.com/dashboard and navigating to Player -> Licenses.

  • Add the Bundle identifier of the iOS application which is using the SDK as an allowed domain to the Bitmovin licensing backend. This can be also done under Player -> Licenses when logging in into https://dashboard.bitmovin.com with your account.

    When you do not do this, you'll get a license error when starting the application which contains the player.

Development Notes

Casting Requirements

  • If you are using the Google Cast SDK (BasicCasting or AdvancedCasting), make sure the following requirements are met:
  • Use a provisioning profile with Access WiFi Information enabled
  • The NSBluetoothAlwaysUsageDescription key is set in the info.plist

Documentation And Release Notes

  • You can find the latest API documentation here.
  • The release notes can be found here.

Support

If you have any questions or issues with this SDK or its examples, or you require other technical support for our services, please login to your Bitmovin Dashboard at https://bitmovin.com/dashboard and create a new support case. Our team will get back to you as soon as possible 👍

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].