音频流传输和播放 [英] Audio stream transfer and play

查看:93
本文介绍了音频流传输和播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实时编写服务器客户端模型应用程序.
客户端需要服务器当前输出的音频数据.
服务器捕获自己的音频数据,并将其实时发送到cilent.
客户端接收数据并实时播放
我需要样品.
////////////////
什么会捕获输出音频数据.
帮我!而且我需要参考链接.

解决方案

김포스!
您可以阅读有关DirectShow(有时缩写为DS或DShow)的信息,它是Microsoft产生的一种多媒体框架和API,供软件开发人员对媒体文件或流执行各种操作.它是Microsoft早期的Windows视频技术的替代品. DirectShow基于Microsoft Windows组件对象模型(COM)框架,为跨各种编程语言的媒体提供了通用接口,并且是可扩展的基于筛选器的框架,可以根据用户或用户的要求按需呈现或记录媒体文件.开发人员. DirectShow开发工具和文档最初是DirectX SDK的一部分.
当前,它们作为Windows SDK(以前称为Platform SDK)的一部分进行分发.但是Microsoft计划在将来的Windows版本中逐步用Media Foundation逐步完全替代DirectShow. Windows Vista和Windows 7应用程序使用Media Foundation而不是DirectShow来完成与媒体相关的多项任务.
http://msdn.microsoft.com/zh-我们/library/windows/desktop/dd375454%28v=vs.85%29.aspx
http://www.laganiere.name/directshowTut/
http://www. codeguru.com/cpp/gm/directx/directshow/article.php/c9551/DirectShow-SingleFrame-Capture-Class-Without-MFC.htm [ 解决方案

Hi 김포스 !
You can read about DirectShow (sometimes abbreviated as DS or DShow), is a multimedia framework and API produced by Microsoft for software developers to perform various operations with media files or streams. It is the replacement for Microsoft''s earlier Video for Windows technology. Based on the Microsoft Windows Component Object Model (COM) framework, DirectShow provides a common interface for media across various programming languages, and is an extensible, filter-based framework that can render or record media files on demand at the request of the user or developer. The DirectShow development tools and documentation were originally distributed as part of the DirectX SDK.
Currently, they are distributed as part of the Windows SDK (formerly known as the Platform SDK). But Microsoft plans to completely replace DirectShow gradually with Media Foundation in future Windows versions. Windows Vista and Windows 7 applications use Media Foundation instead of DirectShow for several media related tasks.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd375454%28v=vs.85%29.aspx
http://www.laganiere.name/directshowTut/
http://www.codeguru.com/cpp/g-m/directx/directshow/article.php/c9551/DirectShow-SingleFrame-Capture-Class-Without-MFC.htm[^]


这篇关于音频流传输和播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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