Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to stream video in ASP.NET Core 2 with Web API

$
0
0

I need to stream video from our API to our web application client.


I found this pretty great tutorial on how to do this: http://anthonygiretti.com/2018/01/16/streaming-video-asynchronously-in-asp-net-core-2-with-web-api/

  • However, it seems to only work with .mp4 and Chrome.
  • I need something that will work across all browsers, and can handle multiple video files (at least .flv) Does anyone know how to achieve such a functionality?


I've seen a couple other posts regarding video streaming over .NET Core 2 API, but no solutions yet:

https://forums.asp.net/t/2107126.aspx

https://forums.asp.net/t/2131477.aspx


I've also seen solutions that would work with the older .NET Web API, but are incompatible with Core 2:

http://www.c-sharpcorner.com/article/asynchronous-videos-live-streaming-with-asp-net-web-apis-2-0/

https://www.strathweb.com/2013/01/asynchronously-streaming-video-with-asp-net-web-api/


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>