All Projects → NexPlayer → Nexplayer_unity_plugin

NexPlayer / Nexplayer_unity_plugin

Stream videos in HLS & DASH with Widevine DRM using NexPlayer Video Streaming Player SDK for Unity on Android & iOS devices

Projects that are alternatives of or similar to Nexplayer unity plugin

Xgplayer
A HTML5 video player with a parser that saves traffic
Stars: ✭ 4,792 (+6464.38%)
Mutual labels:  player, video-player, dash, hls
Rx Player
DASH/Smooth HTML5 Video Player
Stars: ✭ 600 (+721.92%)
Mutual labels:  player, video-player, dash, streaming
shaka-player-react
A simple React component wrapper for shaka-player
Stars: ✭ 79 (+8.22%)
Mutual labels:  player, hls, video-player, dash
Clappr
🎬 An extensible media player for the web.
Stars: ✭ 5,436 (+7346.58%)
Mutual labels:  player, video-player, dash, hls
Awesome Video
A curated list of awesome streaming video tools, frameworks, libraries, and learning resources.
Stars: ✭ 397 (+443.84%)
Mutual labels:  player, dash, streaming, hls
kaltura-player-js
Kaltura Player JS Platform - Cloud TV and OVP Media Players
Stars: ✭ 83 (+13.7%)
Mutual labels:  player, hls, video-player
wsa
WSA(Websocket Streaming Agent) is a stream server target for mp4/h264 streaming over websocket
Stars: ✭ 35 (-52.05%)
Mutual labels:  streaming, hls, dash
Openplayerjs
Lightweight HTML5 video/audio player with smooth controls and ability to play VAST/VPAID/VMAP ads
Stars: ✭ 255 (+249.32%)
Mutual labels:  player, dash, hls
hms-video-demo-android
HUAWEI Video Kit supports streaming media in 3GP, MP4, or TS format and compliant with HTTP/HTTPS, HLS, or DASH. The Kit also provides abundant playback controls, delivering personalized video experiences to users.
Stars: ✭ 22 (-69.86%)
Mutual labels:  hls, video-player, dash
Vue Video Player
🎞 @videojs component for @vuejs
Stars: ✭ 4,026 (+5415.07%)
Mutual labels:  player, video-player, hls
Shaka Player
JavaScript player library / DASH & HLS client / MSE-EME player
Stars: ✭ 5,386 (+7278.08%)
Mutual labels:  video-player, dash, hls
P2p Media Loader
An open-source engine for P2P streaming of live and on demand video directly in a web browser HTML page
Stars: ✭ 822 (+1026.03%)
Mutual labels:  player, dash, hls
p2p-cdn-sdk-android
Free p2p cdn android github sdk to reduce video streaming costs of live and on demand video using webrtc by upto 90% and improve scalability by 6x - 🚀 Vadootv 🚀
Stars: ✭ 39 (-46.58%)
Mutual labels:  player, hls, dash
HJPlayer
A HTML5 Player, can play flv and hls by Media Source Extension, based on typescript.
Stars: ✭ 149 (+104.11%)
Mutual labels:  player, streaming, hls
abr-player
📼 Adaptive Streaming Test Player
Stars: ✭ 13 (-82.19%)
Mutual labels:  player, hls, dash
nsplayer
A web player with shakaplayer & hls.js both supported
Stars: ✭ 23 (-68.49%)
Mutual labels:  player, hls, dash
Rtsp.player.android
RTSP player for Android / IP camera viewer
Stars: ✭ 199 (+172.6%)
Mutual labels:  player, video-player, streaming
Indigo Player
Highly extensible, modern, JavaScript video player. Handles MPEG-Dash / HLS / MPEG-4 and is built on top of the HTML5 video element.
Stars: ✭ 1,173 (+1506.85%)
Mutual labels:  video-player, dash, hls
React Player
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
Stars: ✭ 5,931 (+8024.66%)
Mutual labels:  player, dash, hls
Video.js
Video.js - open source HTML5 & Flash video player
Stars: ✭ 32,478 (+44390.41%)
Mutual labels:  player, dash, hls

Unity video player

NexPlayer Unity Video Streaming Player 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


NexPlayer for Unity Video Player Sample Interface

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

  • HLS & DASH Streaming with ABR (Adaptive Bitrate)
  • Widevine DRM for Streaming and Local Playback for Android & iOS
  • Server-Side & Client-Side Ad Insertion
  • Windows & macOS Editor (Easy to Use)
  • Up to 8K (UHD) Resolution
  • Rendering Videos on 2D & 3D Objects

Basic Features

  • Auto Playback
  • Play / Pause
  • Seek
  • Audio Volume Adjustment
  • Loop Playback
  • Configurable Aspect Ratio
  • Portrait / Landscape Orientation

Advanced Features

  • Adjustable Buffering Time
  • Low Latency HLS & DASH Streaming
  • Offline Streaming Playback for HLS & DASH
  • Multi View Streaming (Display Multiple Synchronized Streams)
  • SRT, SMI, WebVTT Subtitles & CEA-608/708 Closed Captions
  • Multiple Audio & Subtitle Track Selection
  • Spread Video Across Multiple Objects
  • Content Information and Statistics (Audio & Video Bitrate, Codec, Average FPS, etc.)
  • Transparency and Chroma Support

360 Video Playback and Virtual Reality (VR)

  • Touch input which includes movement, and camera rotation
  • Gyroscope input to move the camera
  • Mouse input to move the camera
  • Automatic Ground Leveler to stabilize the video
  • Custom shaders to map 2D, 3D Over/Under and 3D Left/Right 360 videos
  • Compatible with VR libraries for Unity (Google Cardboard, Vive & Oculus)

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.

Quickstart_Step_0

Create the NexPlayer_Manager GameObject by either using the NexPlayer Context Menu at the top or right clicking in the Hierarchy (Object Context Menu).

Quickstart_Step_1

Create the NexPlayer_UI GameObject using the NexPlayer™ Context Menu.

Quickstart_Step_2

Set NexPlayer_Manager references to the UI elements by clicking on the button “Set UI References”.

Quickstart_Step_2_1

Create the NexPlayer Samples Controller GameObject using the NexPlayer™ Context Menu.

Quickstart_Step_3

Select any of the different samples provided by NexPlayer™.

Quickstart_Step_3_1

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.

NexPlayer Video Streaming Player Plugin

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

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].