I'm developing an augmented-reality application in unity which shows a video from the azure blobs, recently i changed the blob to have a streaming end point using the azure media services. But the problem is when i gave the streaming end point URL for the unity video player it shows error like below
Context: MFCreateSourceReaderFromURL Error details: The byte stream type of the given URL is unsupported. Track types
according to the Video file compatability page on the unity manual the only supported video formats for windows (linux and osx have a subsection of these) are:
.asf .avi .dv .m4v .mov .mp4 .mpg .mpeg .ogv .vp8 .webm .wmv
Seeing that HLS uses .m3u8 header files and .ts video files it is not supported by the native Unity video player.
There are however some plugins that do support these video formats, do note that some of these do cost money.
Note that I have no affiliation with any of these plugins, and there are possibly alternative options out there. these are just players i know are capable of playing HLS and on demand.
This NexPlayer Video Plugin supports HLS and DASH, as well as Video On Demand. It's the only video pluging that supports videos with DRM protection on all Android and iOS devices.
User contributions licensed under CC BY-SA 3.0