broadcast media stream such as *mpg to the local LAN.But ...

attackboy 2001-07-21 07:59:27
Hi,
I want to write a project like some media players that can broadcast
media stream such as *avi ,*mpg,*dat,*.mp3 to the local LAN.But few men
discuss or write such a programme.Who can help me if you have some suggestions
or some codes in this subject.Thanks!
Oh,add more message about it,It work like this:When I select a song form the server,I set a broadcast IP address,and the client soft can search the channal and received the stream that I want(IP) form the server soft.
Another suggections?Thanks a lot!
...全文
84 点赞 收藏 10
写回复
10 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
Neo_P 2001-08-03
我回去查了好多资料,包括msdn ,发现媒体文件的广播用udp才合适(tcp效率低,建立连接也很占用带宽)。但msdn中udp编程属于sdk,介绍很少。mfc封装的类在这一块似乎也无能为力。在有,即使udp编程问题解决了,在这个工程中也需要采用多线程的技术处理好各种同步和errors,不过这方面的技术支持就多多了。
另,我上次有提到用已有的ActiveX控件"Windows Media Player",很抱歉,本人是用的D班的
Visual C++6.0 Enterprise Version自带的已注册组件。

如果那位朋友有优秀的udp方面的资料,请推荐一二,不胜感激!
继续关注!
回复
attackboy 2001-07-23
and it is also scilent.if anybody can help me ,give you suggestion to me ,thanks!
回复
attackboy 2001-07-22
how can you manage it?that software is written by you?Thanks!
回复
attackboy 2001-07-22
对阿,讲讲方法哦
回复
lin6194 2001-07-22
Suddy(风) 
能不能讲一讲,怎么实现的?
回复
Suddy 2001-07-21
I have this feature ,and I use it in my lan ,I broadcast my data to all users in my Lan ,use UDP ,they can use all programs play it and even browser
回复
attackboy 2001-07-21
再csdn的软件下在那里,有个人做的非常好噢。
回复
attackboy 2001-07-21
其实这个问题我是在www.codeproject.com发问的。到csdn中我发表了许多次。但大多人都没有
办法。曾经有个人认为,用media player sdk或其他的sdk可以解决问题。但说了就没有再回来了。虽然有比较多人关注。无奈。csdn中像你和pandw_a的人我看得多一点啊。不过请问你的Windows Media player的组件和相应的sdk你是哪里得来的。我曾经在软件杂志发现了。不过那张盘我不小心丢了。我发现有人用了DX6 media编了出来。不胜感谢Neo_P的再次参与。
回复
Neo_P 2001-07-21
I have the same question as yours.I am developing it use MFC.In the MSDN 2001,there have a class named CSocket.Reading it first if you have time.
Implementing broadcast is not question,the trouble is:how to send a media file as stream style?In my opinion,some media type isn't support for stream style.In my project,I use the ActiveX:"Windows Media Player".There are some methods for broadcast.Research it ,maybe you will find something.
I am working at this project also,I will be back later.
By the way,if you understand chinese,please use it.you will get more help.
回复
attackboy 2001-07-21
any suggestion?
回复
相关推荐
发帖
VC/MFC
创建于2007-09-28

1.5w+

社区成员

VC/MFC相关问题讨论
申请成为版主
帖子事件
创建了帖子
2001-07-21 07:59
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……