GithubHelp home page GithubHelp logo

brminnick / azuremediaservicessampleapp Goto Github PK

View Code? Open in Web Editor NEW
10.0 6.0 5.0 80 KB

An iOS and Android app made in Xamarin.Forms that integrates with Azure Media Services

License: MIT License

C# 100.00%
xamarin-forms xamarin xamarin-android xamarin-ios azure azure-media-services media-manager

azuremediaservicessampleapp's People

Contributors

brminnick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

azuremediaservicessampleapp's Issues

Android: Native Video Player does not work

When watching the Encrypted Video Source on a physical Android Device the video won't load.

After specifying the MediaType as suggested here: Baseflow/XamarinMediaManager#450 you run into the problem that HLS doesn't support bearer tokens in the header.

This is something you can work around by using a HLS proxy as described here: http://mingfeiy.azurewebsites.net.

However; I am still left with the following stacktrace after successfully obtaining the manifest:

[ExoPlayerImplInternal] Source error.
[ExoPlayerImplInternal] com.google.android.exoplayer2.source.hls.SampleQueueMappingException: Unable to bind a sample queue to TrackGroup with mime type audio/mp4a-latm.
[ExoPlayerImplInternal] 	at com.google.android.exoplayer2.source.hls.HlsSampleStream.maybeThrowError(HlsSampleStream.java:64)
[ExoPlayerImplInternal] 	at com.google.android.exoplayer2.BaseRenderer.maybeThrowStreamError(BaseRenderer.java:129)
[ExoPlayerImplInternal] 	at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:538)
[ExoPlayerImplInternal] 	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:300)
[ExoPlayerImplInternal] 	at android.os.Handler.dispatchMessage(Handler.java:98)
[ExoPlayerImplInternal] 	at android.os.Looper.loop(Looper.java:154)
[ExoPlayerImplInternal] 	at android.os.HandlerThread.run(HandlerThread.java:61)
public const string EncryptedVideoUrl = @"http://mingfeiy.azurewebsites.net/Home/Manifest?playbackUrl=http%3a%2f%2famssamples.streaming.mediaservices.windows.net%2f830584f8-f0c8-4e41-968b-6538b9380aa5%2fTearsOfSteelTeaser.ism%2fmanifest(format%3dm3u8-aapl)&webtoken=Bearer%3deyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cm46bWljcm9zb2Z0OmF6dXJlOm1lZGlhc2VydmljZXM6Y29udGVudGtleWlkZW50aWZpZXIiOiI5ZGRhMGJjYy01NmZiLTQxNDMtOWQzMi0zYWI5Y2M2ZWE4MGIiLCJpc3MiOiJodHRwOi8vdGVzdGFjcy5jb20vIiwiYXVkIjoidXJuOnRlc3QiLCJleHAiOjE3MTA4MDczODl9.lJXm5hmkp5ArRIAHqVJGefW2bcTzd91iZphoKDwa6w8";

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.