unity-game-enginevideo-streaming

How to load YouTube live video streaming in unity?


I have some doubts about YouTube live video streaming. How to load that YouTube live video stream inside of Unity if possible. Because the Unity default video player does not support YouTube URLs, only any other player for YouTube URL support.


Solution

  • asset store has plugins for youtube videos: https://www.assetstore.unity3d.com/en/?stay#!/search/page=1/sortby=relevance/query=youtube

    i'm pretty sure unity video player plays youtube videos also, if you pass it the actual mp4 youtube video url. (you need to extract it with those plugins, use some website api to extract it, or make your own)