尝试将PlayTo功能与“mms://..."”结合使用。流,失败。 [英] Trying to leverage PlayTo functionality with a "mms://..." stream, fails.

查看:74
本文介绍了尝试将PlayTo功能与“mms://..."”结合使用。流,失败。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在一个应用程序中实现PlayTo功能,该应用程序提供来自外部服务器的文件,两者都是"文件"。 .mp3扩展名和"stream"使用"mms://"绰号。它与文件完美匹配,但是当
尝试利用流时,没有例外或任何事情就失败了。尝试了两种"推迟"的方法。模式和直接的。两者都没有...

I'm trying to implement the PlayTo functionality in an app which serves files from external server, both as "files" with .mp3 extension and "streams" with the "mms://" moniker. It succeeds perfectly with files but fails without exceptions or anything when trying to leverage a stream. Have tried both the "deferral" pattern and the direct one. Neither works...

非常感谢帮助!

推荐答案

嗨Johan,

Hi Johan,

当您说"流"时,您是使用SetSource API提供流还是使用mms:// URL来表示网络流?

When you say "streams", are you using the SetSource API to provide a stream or you mean network stream using the mms:// URL?

你是否可以在没有playTo的情况下在应用程序中本地播放这两种类型,只是PlayTo失败了?

Are you able to play both types locally in the app without playTo and simply PlayTo fails?


这篇关于尝试将PlayTo功能与“mms://..."”结合使用。流,失败。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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