多种音频,流畅直播
I could not find any document which explains how to provide multiple audio streams for Live Smooth Streaming.
For example, in Microsoft PDC's streams, it is possible to select languages.
Does SMF provide this feature? If it is, how? How my isml file will look like?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此链接提供了示例平滑流式传输中的音频的多种语言。
如果您正在寻找此内容,请注意,与视频不同,平滑流目前不支持音频的多个比特率。
This link gives a sample for multiple languages for Audio in Smooth streaming.
If you are looking for this, please note that unlike video smooth streaming currently does not support multiple bit rates for audio.
SmoothStreamingMediaElement.ManifestMerge 事件允许添加额外的流到打开媒体时加载的清单。这称为清单合并,如下所述:
http ://msdn.microsoft.com/en-us/library/ff432455%28v=vs.90%29.aspx
在 SMF 中,您可以通过 IAdaptiveMediaPlugin.VisualElement 接口访问 SSME。
因此,如果您有两个实时流端点:
AudioAndVideo.isml/Manifest(标准音频和视频流)
Audio2.isml/Manifest(带有虚拟视频流的第二个音频流),
您可以打开第一个端点并将其与第二个音频流合并一。这需要 Expression Encoder 的两次编码会话。
There is SmoothStreamingMediaElement.ManifestMerge event that enables adding additional streams to manifest loaded when opening media. This is called manifest merging and is described here:
http://msdn.microsoft.com/en-us/library/ff432455%28v=vs.90%29.aspx
In SMF you can access SSME by IAdaptiveMediaPlugin.VisualElement interface.
So if you have two live streaming endpoints:
AudioAndVideo.isml/Manifest (standard audio and video streams)
Audio2.isml/Manifest (second audio stream with dummy video streams)
you could open the first one and merge it with audio stream from the second one. This requires two encoding sessions of Expression Encoder.