NexPlayer / Nexplayer_unity_plugin
Projects that are alternatives of or similar to Nexplayer unity plugin
NexPlayer™ for Unity is a cross-platform video streaming player for Unity apps that supports both regular and 360 video playback across all Android, iOS, macOS, Windows devices and HTML5 Web Browsers, with more devices being worked on everyday. NexPlayer's Unity video plugin is the only player supporting Widevine DRM-protected HLS & DASH streaming on all Android & iOS devices.
This repository contains the NexPlayer™ Unity video streaming player plugin features list as well as an installation guide. If you want to get a copy of our fully working demo, contact us at our website.
Demo Examples
Our Unity video plugin allows for the introduction of new exciting scenes within your Unity projects. With our plugin, you can use in-game actions and objects to modify video content.
Play videos on any Unity Game Object
Multi Streaming
Table of Contents
Features
The NexPlayer™ for Unity video streaming player plugin contains the latest features. As our Unity video plugin is developed entirely in-house, we can implement any desired functionalities.
We support the following features:
Overview |
|
Basic Features |
|
Advanced Features |
|
360 Video Playback and Virtual Reality (VR) |
|
Supported Platforms
Platform | Supported Graphics APIs | HLS | DASH | Local | Inside App (Streaming Assets) |
---|---|---|---|---|---|
Android | OpenGLES2, OpenGLES3 | ✔️ | ✔️ | ✔️ | ✔️ |
iOS | Metal | ✔️ | ✔️ | ✔️ | ✔️ |
Windows | DirectX11 / DirectX12 | ✔️ | ✔️ | ✔️ | ✔️ |
macOS | Metal | ✔️ | ✔️ | ✔️ | |
HTML 5 | WebGL 1.0 / WebGL 2.0 | ✔️ | ✔️ |
Demo Installation Guide
1) Play Regular Video
Create a new Unity project and import the NexPlayer™ Unity video streaming player plugin.
Create the NexPlayer_Manager GameObject by either using the NexPlayer Context Menu at the top or right clicking in the Hierarchy (Object Context Menu).
Create the NexPlayer_UI GameObject using the NexPlayer™ Context Menu.
Set NexPlayer_Manager references to the UI elements by clicking on the button “Set UI References”.
Create the NexPlayer Samples Controller GameObject using the NexPlayer™ Context Menu.
Select any of the different samples provided by NexPlayer™.
Finally, Change the NexPlayer™ component inside NexPlayer_Manager with the desired stream settings.
2) Play a 360 Scene
Select the value Nex Player 360 for the Active Sample setting at the Samples Controller GameObject.
3) Load Any NexPlayer™ Sample Demo
Select any of the following samples as the Active Sample setting at the Samples Controller GameObject.
- Raw Image
- Render Texture
- Transparency
- Video Spread
- Material Override
- Multiple Renderers
- Change Render Mode
- NexPlayer360
- Multistream Raw Image
- Multistream Render Texture
Add the Scene to the list and switch to the desired platform.
4) Configuration Steps
Manually select the compatible graphics APIs in the "Player Settings" section of Unity for each platform.
Android Platform:
- To allow the application to have internet access for streaming videos, select the "Require" value for the "Internet Access" option in the Unity player settings.
- Set "Write Permission" to External (SDcard)
- Make sure to set a specific app ID under "Package Name" as required by Unity before compiling your application.
iOS Platform:
- To view HTTP videos, enable "Allow downloads over HTTP" option.
- After compilation, in XCode make sure to set a "Signing Team."
- Under embedded binaries, click the "Plus" button and add:
- widevine_cdm_sdk_release.framework
- WidevineIntegration.framework
A quick and easy way to enable these settings is by using the helper component (NexEditorHelper.cs). If the helper component NexEditorHelper.cs is attached to any GameObject, it will include a graphics UI to auto detect any conflict regarding the graphics API, and it will promptly solve it.
Frequently Asked Questions
To view the FAQ proceed to the Unity Support Page
Contact
[email protected]
+34 914 184 356