Sorry if this question was asked before (I searched but found nothing). I want to run RTMP stream via MX Player on Android. But I must precise in my app a playPath, pageUrl and possibly swfURL. How exactly can I accomplish that? Something like this doesn't work:
...where URL parameter is something like this:
It just doesn't work. It only works for RTMP stream without a playpath. Can anyone help me with that? Or MX Player doesn't support this? Which would be very weird...
Code:
Intent := TJIntent.Create;
Intent.setAction(TJIntent.JavaClass.ACTION_VIEW);
Intent.setPackage(StringtoJString('com.mxtech.videoplayer.ad'));
Intent.setData(StrToJURI(URL));
SharedActivity.startActivity(Intent);
Code:
rtmp://10.10.10.0/stream playpath=myvideo swfUrl=some.address/player.swf pageUrl=some.address.com live=true
It just doesn't work. It only works for RTMP stream without a playpath. Can anyone help me with that? Or MX Player doesn't support this? Which would be very weird...