How to play rtmp video in videoview in android?

百般思念 提交于 2019-12-07 07:30:41

问题


I want to play rtmp video in videoview , so how i can play rtmp video in my app?

String host = "rtmp://example.com";
String fileName = "www.mp4";
int port = 1935;

Connection string rtmp://example/cfx/st

How i can play video ?

Regards, girish


回答1:


You can do it using Flash (at least for devices with 2.2+ android and Flash-supported CPUs)

  • http://www.wowza.com/forums/showthread.php?13087-Android-RTMP-Live-Streaming
  • The easiest way to play an audio RTMP stream in Android


来源:https://stackoverflow.com/questions/10412305/how-to-play-rtmp-video-in-videoview-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!