简体   繁体   English

使用C / C ++打开实时媒体流

[英]Opening a live media stream using C/C++

Can anyone tell me how to open a mms:// live media stream using C/C++. 谁能告诉我如何使用C / C ++打开mms://实时媒体流。 I am trying to do this for days. 我试图这样做几天。 but can not find any book regarding these information. 但找不到有关这些信息的任何书籍。 Please suggest any book or any helpful sites. 请建议任何书籍或任何有用的网站。 or if you know how to do this please teach me. 或者,如果您知道该怎么做,请教我。

Thank you A test stream 谢谢测试流

mms://a1926.l1856941925.c18569.g.lm.akamaistream.net/D/1926/18569/v0001/reflector:41925 mms://a1926.l1856941925.c18569.g.lm.akamaistream.net/D/1926/18569/v0001/reflector:41925

Stream is NASATV provided by akamai. 流是akamai提供的NASATV。

In VLC media player there is a pretty good example on solving this issue. 在VLC媒体播放器中,有一个很好的解决此问题的示例。 Download the sources from http://download.videolan.org/pub/videolan/vlc/2.0.1/ (it's the .xz file) and then just get the source from .\\vlc-2.0.1\\modules\\access\\mms\\ (if you're on windows 7z opens xz files). http://download.videolan.org/pub/videolan/vlc/2.0.1/ (这是.xz文件)下载源,然后从。\\ vlc-2.0.1 \\ modules \\ access \\中获取源。 mms \\(如果在Windows 7z上,则打开xz文件)。 The mmstu.c file is your source for information. mmstu.c文件是您的信息来源。

More info can be found at: http://get.to/sdp (address taken from mms.c) 更多信息,请访问: http ://get.to/sdp(地址来自mms.c)

Since this is Microsoft specific protocol, further reading can be found at http://msdn.microsoft.com/en-us/library/cc251059%28v=prot.10%29 由于这是Microsoft特定的协议,因此可以在http://msdn.microsoft.com/zh-cn/library/cc251059%28v=prot.10%29中找到更多内容。

检查live555项目,即可完成工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM