[Q] rtmp,m3ua,rtsp streaming on phonegaps - General Questions and Answers

Real Urgent Help please!
I coded HTML and have designed an app for streaming RTMP. Made an app with Appsgeyser to test. Works fine live on media player or MX player. Used Phonegaps, gives an error everytime I try to play the rtsp, m3ua or rtmp servers. Error goes like this
Application Error
The protocol isn't supported (rtsp://...........)

Related

Streaming to Windows Media Player Mobile

Hi,
I've been trying to stream video to my Leo but without success...
I'm using VLC as a streaming server and I already tried to use MMS/HTTP/RTP to transport streams encapsulating them using asx/avi and using multiple codecs such as h.264/mpeg4/wmv, etc.
WMP mobile doesn't seem to be able to use MMS streams without a file. mms://iport doesn't work but mms://iport/file do work. Same thing with HTTP. RTP I don't even know if it is supported.
All of these options work flawlessly under windows 7's windows media player.
Could anyone give me some hint ? How can I stream something to my HD2 ?

gmote and video playback

Whenever I use gmote I can play back video on my pc, but not on my phone. The message I keep getting says "gmote is unable to find an android application to play this file type". Is this a limitation of gmote or do I need a media player with codecs for the phone? If I do need a media player what should I be using?
Thanks ahead of time
Test with .mp4 videos.
I am having the same issue on my Fascinate. Keep trying different conversions, but can't get any videos to play.
I uninstalled vplayer app now im unable to play videos on my phone through gmote. Ive installed qqplayer and meridian player but I get the "unable to find an android application to play this file type" can anyone help?
What video types are they?
its all file types. Ive tried reinstalling gmote. what would b e the best media player to install to use with gmote??
i dont think this has been addressed in another post but if it has im sorry. anyways the solution for this problem for my was installing mx player + codecs from the market. gmote streams to my phone fine now.

[Q] DLNA Player?

Is there currently a DLNA / UPNP PLAYER (going from a server to the phone.... not the other way around) for Android?
I believe the Galaxy S phones were supposed to have one? If so, did anyone extract them?
I also would like to know if something like this is available. I can play back mp3 and jpg on my Desire HD, but not video files.
My GT-I9000 Galaxy has a program called AllShare. I just use Media player 12 on my WiN7 machine and it allows me to stream to AllShare. I can play divx movies, tv series, and other videos just fine off my home wifi network.
Gmote for audio works great.
I was looking for more for the video option. I have a ton of divx / xvid on my server.
When I use astro with the smb addon..... I can search the server but then I get an error when Rockplayer tries to play it.
estrongs isn't able to let me login for some reason.
But since my NAS has dlna and upnp I'm just looking for a simple player or app that can search dlna.
I've been looking for an app of this nature for over a year. Still no luck. I would guess that the developers that would be closest to being able to get this going would be one of the video player developers such as Rockplayer or Vplayer alpha. They've already got multi format playback for videos. Now if only they could playback these formats as a stream from dlna/upnp.........
Bumping. With the release of android based tablets dnla / upnp video players are going to be a huge win.
Anyone with a good answer?
Skifta?
Sent from my GT-I5700 using Tapatalk
tempest7 said:
My GT-I9000 Galaxy has a program called AllShare. I just use Media player 12 on my WiN7 machine and it allows me to stream to AllShare. I can play divx movies, tv series, and other videos just fine off my home wifi network.
Click to expand...
Click to collapse
I agree, AllShare works great with my Samsung TV and my laptop being the server with all the video files. My laptop has ubuntu with MiniDLNA as the server. http://forum.xda-developers.com/showthread.php?t=732005 has a link to dlna.apk (which is allshare) weird thing is all the permissions it asks for when installing :/ even wants access to SMS which i thought was weird
for video try http://www.appbrain.com/app/vlc-stream-convert/com.gmail.traveldevel.android.vlc.app with vlc on your pc
if you want only music http://www.appbrain.com/app/twonky-mobile-free/com.pv.twonkyremote works nicely with windows media player library shararing on local network
i've been searching for a good solution for a long time now. I have an ampache server setup now but its cumbersome, none of the ampache apps on android are that great.
Does twonky work over the internet?
no it doesn't but you can smoho get vlc stream and convert working over the internet
The best I have been able to come up with is using UPnP with an app called UPnPlay - in conjunction with VPlayer (which for me is working smoother than Rockplayer).
It's not dlna but it's something.
Sent from my HTC Incredible
iShareMedia
I have played with lots of different dlna players but by FAR.... the best app is called
iMediaShare - it works perfectly with windows 7/XP (windows media player). You can play music and videos that are on your pc on either your PC (using your phone as a remote control) or play them on your phone streaming them from your PC.
Also there are TV channels like Nasa or Youtube you can use your phone as a high tech tv remote.
Amazing!
P.S My frav before this was Twonk
P.P.S My frav phone browser/streamer is 'Browsix' (again AMAZING!)
P.P.P.S my title is not right sorry, it should say IMediaShare

Source code MX player for commercial use

I am creating an application on Android Google TV. And I want to Play HD channels and HD movies in that Application. The app is mostly finished the only part which is left that I want to embed MX player in that application. I have gone through lot of various methods to make that happen but all in vain. And if I try to download the MX player it gives me the APK file.
I am in a dead corner now, Any help regarding how to embed the MX player in latest google TV's application or getting the hands on the open source code library for playing UDP and multicast links would be dearly appreciated.

CDN-FastServer streams are not working on firestick with mx player

Any chance of getting cdn-FastServer streams to work in mx player
They work fine in vlc & yesplayer
When playing a video from a cdn-FastServer on my phone mx player can play it but on the firestick it just eventually comes up with unable to play video
However vlc player (and others such as yes player) can play the stream on the firestick without issue
See below post for logs/error report
Any reason why mx player won't play videos from cdn-FastServer
They play perfectly fine with vlc
TheFixItMan said:
Any chance of getting cdn-FastServer streams to work in mx player
They work fine in vlc & yesplayer
Click to expand...
Click to collapse
Could you please explain the issues in detail? It will be great if you can collect a bug report from MX Player help menu immediately after the issue.
NB: Kindly post the issues in a separate thread. Otherwise, It will be very difficult to track us.
Thirumalai.K said:
Could you please explain the issues in detail? It will be great if you can collect a bug report from MX Player help menu immediately after the issue.
NB: Kindly post the issues in a separate thread. Otherwise, It will be very difficult to track us.
Click to expand...
Click to collapse
Here are the error logs (in attachment)
If I play a video that is hosted on a cdn-FastServer on my phone in mx player it plays fine but on my firestick the buffer circle just spins and eventually says cannot play this video
However if I open the same video stream in vlc on my firestick it plays fine meaning its not a firestick limitation but a problem with mx player playing these streams on a firestick
TheFixItMan said:
Here are the error logs (in attachment)
If I play a video that is hosted on a cdn-FastServer on my phone in mx player it plays fine but on my firestick the buffer circle just spins and eventually says cannot play this video
However if I open the same video stream in vlc on my firestick it plays fine meaning its not a firestick limitation but a problem with mx player playing these streams on a firestick
Click to expand...
Click to collapse
It's strange. According to the logs, HW Decoder which is based on the android mediaplayer API implementation in your firmware has failed to play with unknown error. And FFMpeg has returned with 404 (File not found). Both are completely independent. Need to check whether there is something that is intercepting or blocking the connection of MX Player.
Thirumalai.K said:
It's strange. According to the logs, HW Decoder which is based on the android mediaplayer API implementation in your firmware has failed to play with unknown error. And FFMpeg has returned with 404 (File not found). Both are completely independent. Need to check whether there is something that is intercepting or blocking the connection of MX Player.
Click to expand...
Click to collapse
Any suggestions because like I said - the video plays fine in other players so it's not my Internet connection or anything on the firestick blocking it
MX player can play all other streams except from cdn-FastServer on the firestick
MX player can play cdn-FastServer streams on my phone
So there's something that mx player does differently on the firestick compared to my phone
The firestick is android 5 and my phone is android 7 both using the custom codec
So unless there are missing codecs that are native to android 7 & not 5 or just missing from the firestick I don't know what the difference is
TheFixItMan said:
Any suggestions because like I said - the video plays fine in other players so it's not my Internet connection or anything on the firestick blocking it
MX player can play all other streams except from cdn-FastServer on the firestick
MX player can play cdn-FastServer streams on my phone
So there's something that mx player does differently on the firestick compared to my phone
The firestick is android 5 and my phone is android 7 both using the custom codec
So unless there are missing codecs that are native to android 7 & not 5 or just missing from the firestick I don't know what the difference is
Click to expand...
Click to collapse
are your Mobile and Firestick on the same network?
can you change the MX Player user agent (Check general Settings) to something like your mobile & check again?
FFmpeg should work as long as you are using the right version for your CPU architecture. If your CPU architecture is different, MX Player itself will show the error.
The logs from FFmpeg was clear that it has received 404. But, we couldn't reproduce it any of our devices. We have even directly tried FFmpeg command line version on desktops. It also works. Even if it's an FFmpeg fault, It will affect only HW+ & SW decoders. HW decoder is independent. As we said earlier, it's just a wrapper of android mediaplayer API implementation on your device. So, MX Player does not have many controls. But, It is also having the issues.
It is the clear indication that there is something that is preventing MX from connecting to the CDN. If it possible, can you use any debugging proxies & check the connection logs of yours firestick? In our tests, it receives 302 (Moved Temporarily along with the new URL) and then it connects to redirected URL properly.
If You clearly receives 404, then there might be some server configuration which might be preventing you from connecting to the server.
Thirumalai.K said:
are your Mobile and Firestick on the same network?
can you change the MX Player user agent (Check general Settings) to something like your mobile & check again?
FFmpeg should work as long as you are using the right version for your CPU architecture. If your CPU architecture is different, MX Player itself will show the error.
The logs from FFmpeg was clear that it has received 404. But, we couldn't reproduce it any of our devices. We have even directly tried FFmpeg command line version on desktops. It also works. Even if it's an FFmpeg fault, It will affect only HW+ & SW decoders. HW decoder is independent. As we said earlier, it's just a wrapper of android mediaplayer API implementation on your device. So, MX Player does not have many controls. But, It is also having the issues.
It is the clear indication that there is something that is preventing MX from connecting to the CDN. If it possible, can you use any debugging proxies & check the connection logs of yours firestick? In our tests, it receives 302 (Moved Temporarily along with the new URL) and then it connects to redirected URL properly.
If You clearly receives 404, then there might be some server configuration which might be preventing you from connecting to the server.
Click to expand...
Click to collapse
Both firestick & phone are on same network
Both have exactly same settings in mx player
Both are arm v7 neon
It doesn't explain why other players can play the cdn link on the firestick but mx player can't
Surely if something was blocking the link it would block it across all players unless it was an app specific block & I have set up no such block of apps either individually or globally
Equally if there was a server configuration block I don't see why they would block mx player connecting & not other players on a firestick especially as it works on a phone
I don't know if this would help but Iv attached the log of vlc whilst playing the stream on the firestick
TheFixItMan said:
Both firestick & phone are on same network
Both have exactly same settings in mx player
Both are arm v7 neon
It doesn't explain why other players can play the cdn link on the firestick but mx player can't
Surely if something was blocking the link it would block it across all players unless it was an app specific block & I have set up no such block of apps either individually or globally
Equally if there was a server configuration block I don't see why they would block mx player connecting & not other players on a firestick especially as it works on a phone
I don't know if this would help but Iv attached the log of vlc whilst playing the stream on the firestick
Click to expand...
Click to collapse
There are plenty of ways, a server could block a particular device or app.
Have you tried after changing the User Agent on MX Player to something like in your mobile or something generic like MXPlayer/1.9.24 ?
Unlike others, MX Player generates a unique user agent for every device model based on its build properties. If the CDN's redirect conditions block the particular UA string, then it could happen. As it works everywhere except Firestick, it could be a possible reason.
Thirumalai.K said:
There are plenty of ways, a server could block a particular device or app.
Have you tried after changing the User Agent on MX Player to something like in your mobile or something generic like MXPlayer/1.9.24 ?
Unlike others, MX Player generates a unique user agent for every device model based on its build properties. If the CDN's redirect conditions block the particular UA string, then it could happen. As it works everywhere except Firestick, it could be a possible reason.
Click to expand...
Click to collapse
Yes Iv changed it & it made no difference
Apart from the Android version & the build name they both use mozilla 5.0
I changed it to the generic string but it made no difference
Guess I'll just to use vlc for these streams
TheFixItMan said:
Yes Iv changed it & it made no difference
Apart from the Android version & the build name they both use mozilla 5.0
I changed it to the generic string but it made no difference
Guess I'll just to use vlc for these streams
Click to expand...
Click to collapse
Can you collect the network data using a debugging proxy? It will help us to understand better.
Thirumalai.K said:
Can you collect the network data using a debugging proxy? It will help us to understand better.
Click to expand...
Click to collapse
Not sure if this exactly what you wanted as I can only use apps which I find (no pc)
Iv captured the packets whilst playing the stream in mx player & vlc
You can see that vlc redirects to a different server where as mx player fails to redirect & says file not found
TheFixItMan said:
Not sure if this exactly what you wanted as I can only use apps which I find (no pc)
Iv captured the packets whilst playing the stream in mx player & vlc
You can see that vlc redirects to a different server where as mx player fails to redirect & says file not found
Click to expand...
Click to collapse
Thanks for your efforts.
In fact, MX has tried the redirected URL. It looks like a server side restriction as we have expected.
If you look at the #1 of MX & VLC get requests, both MX & VLC has sent a GET request for the same URL.
Code:
GET: /storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
HOST: cdn.vidnode.net
If you look at the Server Reply, Both has returned with 302 (i.e redirection). But with the different target location
For VLC, the server has returned with a valid video URL which is same as what we are receiving on our mobiles.
Code:
Location: https://video.xx.fbcdn.net/v/t42.9040-2/10000000_403505290165887_8647744692890370048_n.mp4?_nc_cat=0&efg=eyJybHIiOjIwMDUsInJsYSI6NDA5NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2005&vabr=1337&oh=70cdf02f8b7a517206ca3be7918d6a2e&oe=5B18F57C
But, For MX, the server has returned with a URL which does not exist.
Code:
Location: http://cdn16.micetop.us/cdn2_vidcdn_pro/movie/hoaphuong/Thang 6/1.6/Watch World of Dance - Season 2 For Free On yesmovies.to.mp4
Then both VLC & MX has tried whatever URL it has received. As VLC has received a valid URL, it has played the file. But, MX has received an invalid URL. So, it has failed to play.
Can you provide the actual source of the URLs?
MX Player API allows passing any HTTP headers which are required for the connection. The application which calls MX through intents sends the referer as "https://vidnode.net/". When MX Passes the received referer on the GET request, the server returns with the invalid redirection URL. If there is no referer is passed on the headers, server properly returns the valid URL.
So, there might be some configs on the server which decides the redirection URL based on the Referer. We are not sure whether it's intentional or mistake.
So, it is something that has to be fixed on the app which calls MX Player or on the server end. We can't drop the HTTP referer on the GET requests as it will break the apps that genuinely rely on it.
You can confirm this by directly inputting the URL on the MX Player's network stream option.
Code:
http://cdn.vidnode.net/storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
If this works, Kindly contact the app developer of the parent app which is calling the MX.
Thirumalai.K said:
Thanks for your efforts.
In fact, MX has tried the redirected URL. It looks like a server side restriction as we have expected.
If you look at the #1 of MX & VLC get requests, both MX & VLC has sent a GET request for the same URL.
Code:
GET: /storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
HOST: cdn.vidnode.net
If you look at the Server Reply, Both has returned with 302 (i.e redirection). But with the different target location
For VLC, the server has returned with a valid video URL which is same as what we are receiving on our mobiles.
Code:
Location: https://video.xx.fbcdn.net/v/t42.9040-2/10000000_403505290165887_8647744692890370048_n.mp4?_nc_cat=0&efg=eyJybHIiOjIwMDUsInJsYSI6NDA5NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2005&vabr=1337&oh=70cdf02f8b7a517206ca3be7918d6a2e&oe=5B18F57C
But, For MX, the server has returned with a URL which does not exist.
Code:
Location: http://cdn16.micetop.us/cdn2_vidcdn_pro/movie/hoaphuong/Thang 6/1.6/Watch World of Dance - Season 2 For Free On yesmovies.to.mp4
Then both VLC & MX has tried whatever URL it has received. As VLC has received a valid URL, it has played the file. But, MX has received an invalid URL. So, it has failed to play.
Can you provide the actual source of the URLs?
MX Player API allows passing any HTTP headers which are required for the connection. The application which calls MX through intents sends the referer as "https://vidnode.net/". When MX Passes the received referer on the GET request, the server returns with the invalid redirection URL. If there is no referer is passed on the headers, server properly returns the valid URL.
So, there might be some configs on the server which decides the redirection URL based on the Referer. We are not sure whether it's intentional or mistake.
So, it is something that has to be fixed on the app which calls MX Player or on the server end. We can't drop the HTTP referer on the GET requests as it will break the apps that genuinely rely on it.
You can confirm this by directly inputting the URL on the MX Player's network stream option.
Code:
http://cdn.vidnode.net/storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
If this works, Kindly contact the app developer of the parent app which is calling the MX.
Click to expand...
Click to collapse
Yes inputting the stream directly into mx player alows it to work
So the app that calls mx player to play the link is doing something to stop it working
It's odd because on my phone that same app which calls mx player allows it to play fine
Thanks for your help
TheFixItMan said:
Yes inputting the stream directly into mx player alows it to work
So the app that calls mx player to play the link is doing something to stop it working
It's odd because on my phone that same app which calls mx player allows it to play fine
Thanks for your help
Click to expand...
Click to collapse
In fact, the calling app sends the full set of http headers to be used (including the user agent string). As the app has requested, It will be used on http connection despite your custom User Agent settings. You could see a Windows UA on the http logs.
As the invalid redirection URL also a media url, it could be even a conflict on server which is triggered when using the referer. So, we are not sure that whether intentionally done or not.
Btw, Can you specify the name of the app?
It will help us to provide a better support for those who has similar issues.
Thirumalai.K said:
In fact, the calling app sends the full set http headers to be used (including the user agent string). As the app has requested, It will be used on http connection despite your custom User Agent settings. You could see a Windows UA on the http logs.
As the invalid redirection URL also a media url, it could be even a conflict on server which is triggered when using the referer. So, we are not sure that whether intentionally done or not.
Btw, Can you specify the name of the app?
It will help us to provide a better support for those who has similar issues.
Click to expand...
Click to collapse
Imagine if there were hardly any planets in the planetarium
Bit cryptic but you should be able to work out the app from that lol as I can't post it here for obvious reasons
Volka IPTV crush
I have a similar issue, my iptv application "Volka Pro2" keeps crushing on amazon Fire stick but not on my Mobile phone. I get an error " error creating player"
Anyone with similar problem who have figured out the solution?
Mndj said:
I have a similar issue, my iptv application "Volka Pro2" keeps crushing on amazon Fire stick but not on my Mobile phone. I get an error " error creating player"
Anyone with similar problem who have figured out the solution?
Click to expand...
Click to collapse
It seems to be an issue with the app. As this subforum is dedicated for MX Player related queries, request you to post your query in an appropriate section for better support.

Categories

Resources