开发者

Live streaming audio using ASP.NET

开发者 https://www.devze.com 2023-02-03 12:03 出处:网络
We have a need to stream live audio from remote devices and be able to listen to it in a web page.I can stream stored audio files, but the live stream has me a bit confused, since we will be adding th

We have a need to stream live audio from remote devices and be able to listen to it in a web page. I can stream stored audio files, but the live stream has me a bit confused, since we will be adding the data at runtime. Can someone point me in the right direction to show me how to do this?

Tha开发者_如何学Pythonnks


Two things:

  1. If all you want is simple streaming, that is, progressive download, then just define the mime type on the server, and it will stream. Keep in mind that you will have to have an audio format that plays progressively (most, but not all these days, do).

  2. If you're looking to take fine control over what's going on, you'll need to embed an audio player and use a media server SDK. Here is the link to Microsoft's product for this: Windows Media Server SDK.

0

精彩评论

暂无评论...
验证码 换一张
取 消