将C#中的音频流传输到icecast2(类似于Edcast) [英] Audio streaming in C# to icecast2 (something like Edcast)

查看:69
本文介绍了将C#中的音频流传输到icecast2(类似于Edcast)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个程序,以将音频从麦克风或立体声混音器流式传输到Icecast2服务器,例如Edcast.

I'm trying to create a program to stream audio from a microphone or stereo mixer to Icecast2 server, like Edcast.

我需要展示方法或可行的示例,以及如何进行操作.理想情况下,使其成为免费软件或开源软件.

I need show the way or a working example, how to do it. Ideally make it freeware or open source.

我以WPF格式进行此操作,非常感谢!

I do this in WPF form, thank you very much in advance!

推荐答案

我认为最明智的做法是将libshout包装为c#.好像有人以前做了类似的事情: http://wipsite.net/article/cs_cpp_interoperability/我会强烈建议使用最新版本的libshout进行此类练习.

I think the most sensible thing to do would be to wrap libshout for c#. Looks like someone has done something like that before: http://wipsite.net/article/cs_cpp_interoperability/ I'd strongly recommend to use the latest version of libshout for such an exercise.

如果您有兴趣为libshout的Windows构建设置贡献修补程序/更新,我建议与git head/master一起使用,因为我们最近一直在进行一些更改.

If you are interested to contribute fixes/updates to the windows build setup of libshout, I'd recommend to work with git head/master, as we've been changing some things recently.

这篇关于将C#中的音频流传输到icecast2(类似于Edcast)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆