Broadcast an audio stream
I'm building a c# application that caputures subtitles from TV-channels. The purpose of this is that visual impared persons are able to hear the translation.
I've managed to capture and convert the subtitles to a memory stream using directshow. Now i have a memor开发者_StackOverflow中文版y stream with the spoken subtitles.
This stream needs to be broadcasted to devices that can read PLS, M3U or ASX playlists. They support MP3 by http, WMA by http and MMS.
I'm really stuck atm..
I've tried Microsoft Expression encoder, but it doesn't seem to support memory-streams as input, only capture devices and files..
Any ideas?
Thanks in advance
Try taking a look at either the Windows Media Encoder SDK, or BASS.NET.
BASS.NET is extremely useful for anything audio/streaming based within the .NET framework. - I've successfully used it to stream audio before and there are a lot of examples floating around for BASS.NET too.
BASS.NET is free to use for non-profit, and cheap licenses if it's a commercial project.
Hope this helps.
精彩评论