iOS and tvOS Integration
iOS and tvOS Integration¶
Peer5 integrates with iOS and tvOS apps in a straightforward and simple way. Peer5 installs a proxy between your video player and your stream which intercepts network requests and proxies them through a P2P mesh network.
Peer5 supports hybrid applications. Peer5 has a plugin integration for Cordova/Ionic as well as solutions for other hybrid application frameworks. The native app SDK is also tested with hybrid applications. Integrating with a hybrid app is simple and easy.
Delivery of content via P2P will work on all Apple devices running iOS 11.0 and up and tvOS 11.0 and up (versions with WebRTC support). Peer5's SDK falls back on native video delivery on older versions of iOS and tvOS as well.
At the moment, the iOS hybrid app SDK is in private beta testing. If you'd like to apply please fill out this form. If you have any questions about the process don't hestiate to send us an email or Chat with us right now.
React Native Application¶
Integration through React Native depends on whether you're performing video playback using an HTML5 player or a native player.
If you're using an HTML5 player, please follow the hybrid app instructions. For native playback, please follow the native application instructions below.
Peer5 has a thin iOS/tvOS SDK that is embeddable in your native app. The SDK is installed through CocoaPods or Carthage.
The Peer5 iOS/tvOS SDK works with any video player that supports HLS or DASH, although we recommend AVPlayer as it is the built-in player for Apple devices and, in our experience, produces good playback results.
At the moment, the iOS/tvOS SDK is in private beta testing. If you'd like to apply please fill out this form. If you have any questions about the process don't hestiate to send us an email or Chat with us right now.