PhoneGap - 可以在线视频流吗?
我刚刚提到了 PhoneGap Media 文档,其中指出:
“媒体对象提供了在设备上录制和播放音频文件的能力。”
我想知道PhoneGap框架是否可以实现视频流(RTSP)?我正在 Android 上尝试这个。
任何建议都将受到高度赞赏。
I have just referred to the PhoneGap Documentation for Media, which stated:
"The Media object provides the ability to record and play back audio files on a device."
I wonder whether video streaming (RTSP) is possible or not with PhoneGap framework? I am trying this out on Android.
Any suggestions highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,可以流式传输到设备。
就像普通的网站/网络应用程序一样。
我不知道它是否已经完成,但这是一个音频流脚本:
我希望这
能帮助您入门。
编辑:
也许这也将帮助您开始:
http://groups.google.com/group/phonegap/ browser_thread/thread/584028fe07b0c869/47a1af617c94540a?#47a1af617c94540a
Yes, streaming to the device is possible.
Just like with a normal website/webapplication.
I don't know if it's done yet, but this is a audio stream script:
http://www.joeldare.com/wiki/play_an_mp3_audio_stream_in_phonegap
I hope that will get you started.
EDIT:
Maby this will also help you to get started:
http://groups.google.com/group/phonegap/browse_thread/thread/584028fe07b0c869/47a1af617c94540a?#47a1af617c94540a
只需在子浏览器或应用程序浏览器中打开流视频即可播放视频。该解决方案适用于 Android 和 iOS。
此外,如果流媒体将在浏览器中打开,它将以全屏模式显示,因为 q 媒体播放器将在 safari 上播放视频。
希望这会有所帮助。
Simply the streaming video can be opened up in a child browser or in App browser to play the video. This solution will work both on Android as well as iOS.
Also if the streaming will be opened in the browser it will appear in full screen mode as q media player will play the video on safari.
Hope this will help.