Reply To: Parse secure RTMP urls to XMTV

About XMTV Player Forums Development Parse secure RTMP urls to XMTV Reply To: Parse secure RTMP urls to XMTV

#705

support
Keymaster

Below is example of method how to call XMTVPlayer to play video link:
Play single media: http://xmtvplayer.com/development-api, more info about complex rtmp: http://xmtvplayer.com/build-m3u-file.

String VideoUrl = “rtmp://$OPT:rtmp-raw=rtmp://xxx.xxx.xxx.xxx/app playpath=lxkcbvxdlkj swfUrl=http://www.xxxxxx.tv/resources/scripts/eplayer.swf live=1 pageUrl=http://www.xxxxxxxx.tv/ conn=S:OK live=1 token=SomeToken”;
XMTVPlayerPlayUri(“Name of stream”,VideoUrl);

/**
* @param Title – Media Name
* @param uri – path/url to media
*/
public void XMTVPlayerPlayUri(String Title,String uri){
Bundle bnd = new Bundle();
bnd.putString(“path”, uri);
bnd.putString(“name”, Title);
Intent intent = new Intent();
intent.setClassName(“com.xmtvplayer.watch.live.streams”,”org.zeipel.videoplayer.XMTVPlayer”);
intent.putExtras(bnd);
startActivityForResult(intent, 100);
}

IPTV | Smart TV | Mobile Theatre Software | Media Player for Android(tm)