I am using YouTube’s RTSP link to demo some capability to the client. Occasionally the mediaplayer fails to display any video (Blank screen). However I am able to hear the sound. Can someone help me understand what is going wrong?
Thanks for the help in advance
I dont know much about youtubes RTSP, but I have had similar problems with youtube not loading the video (but the sound is ok) when the playback quality is changed. I bet that is where your problem lies. I would make sure that you specify playback quality and everything and request that feed before loading it into your player if at all possible.
The Android Emulator doesn't work with streaming RTSP video. So I suggest you should test your streaming application (video) on real device.
Hope it is useful for you
Related
I am a new bee in android application, here is the brief of my problem, I am creating an application where I need to get video from internet and stream in the device default players.
Note: I don't want to download entire video and play,I need something relevant to live streaming into the default players on the device.
Any idea or way how to start would be greatly appreciated.
Kind Regards,
Rojesh.
VideoView has a method setVideoPath(path) where the path can be also an HTTP URL.
I tried running the code is this link
but it is displaying application has stopped, I have been looking for an example to use surfaceView in live video streaming to android and Finally I found this but it is not working
I need live video streaming, since I'm streaming from an ip camera and I would like the streaming to be in real time
can someone tell me what the problem might be or help me with another example
i need to make an application that can retrieve and send video using video streaming. but i just do not have any clue how to make it.
what i understand, video streaming is something like when the user want to watch video from the server like youtube, etc. i also want to add on that the application can send the video to the server using android application.
i am using android 2.2. if anyone is willing to give me any keyword i should search for to get to such a tutorial or any tips i should know, that would be a great help.
thank you.
As i tried few months before, android versions bellow 4.0 doesn't support live video streaming from phone to the server :(
you can pipeline capturing and sending chunk of video using Threads, so that it feels like a video streaming having very less delay :)
and for stored media content search for RTSP and related protocols for streaming i hope 2.2 supports this .
I'd like to know how I can call a video from an external server database and play it in android? any helpful tutorials?
another question, when I play my video in emulator is it normal that it gives me a low quality and plays very slow..like moving in slow motion?
Emulators not responded quickly while you are playing video.I hope you understand that.
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.
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
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.