Error while using MS Stream videos on Unity iOS app

%3CLINGO-SUB%20id%3D%22lingo-sub-1581975%22%20slang%3D%22en-US%22%3EError%20while%20using%20MS%20Stream%20videos%20on%20Unity%20iOS%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1581975%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20developing%20a%20small%20iOS%20application%20on%20Unity%20platform.%20I%20want%20to%20play%20the%20videos%20(on%20Unity%20Editor)%20from%20our%20Enterprise%20MS%20Stream%20server%20(using%20VPN%20on%20my%20Laptop).%3CBR%20%2F%3E%3CBR%20%2F%3EHowever%2C%20I'm%20getting%20an%20error%20on%20the%20Unity%20environment%3A%3CBR%20%2F%3EPlayer%20failed%20to%20load%20%22%3CA%20href%3D%22https%3A%2F%2Fweb.microsoftstream.com%2Fvideo%2F%26lt%3Benterprise-msstream-video-id%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fweb.microsoftstream.com%2Fvideo%2F%3CENTERPRISE-MSSTREAM-VIDEO-ID%3E%3C%2FENTERPRISE-MSSTREAM-VIDEO-ID%3E%3C%2FA%3E%26gt%3B%22%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20tested%20the%20same%20app%20on%20Unity%20Editor%20with%20another%20public%20video%20(%3CA%20href%3D%22https%3A%2F%2Ftest-videos.co.uk%2Fvids%2Fbigbuckbunny%2Fmp4%2Fh264%2F360%2FBig_Buck_Bunny_360_10s_5MB.mp4%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftest-videos.co.uk%2Fvids%2Fbigbuckbunny%2Fmp4%2Fh264%2F360%2FBig_Buck_Bunny_360_10s_5MB.mp4%3C%2FA%3E)%20that%20are%20available%20on%20the%20net.%20It%20is%20coming%20fine%20in%20the%20app%20though%20there%20is%20problem%20with%20aspect%20ratio.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20both%20the%20cases%20I%E2%80%99ve%20just%20used%20the%20video%20source%20URL%20in%20the%20Unity%20VideoPlayer%20component%20attached%20to%20the%20GameObject.%20The%20question%20is%20how%20I%20can%20play%20the%20MS%20Stream%20video%20on%20my%20Unity%20App.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanking%20all%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I'm developing a small iOS application on Unity platform. I want to play the videos (on Unity Editor) from our Enterprise MS Stream server (using VPN on my Laptop).

However, I'm getting an error on the Unity environment:
Player failed to load "https://web.microsoftstream.com/video/<enterprise-msstream-video-id>"

I've tested the same app on Unity Editor with another public video (https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_5MB.mp4) that are available on the net. It is coming fine in the app though there is problem with aspect ratio.

In both the cases I’ve just used the video source URL in the Unity VideoPlayer component attached to the GameObject. The question is how I can play the MS Stream video on my Unity App.


Thanking all in advance.

0 Replies