Live Streaming Video On App Inventor - android

There is a live streaming video in one of my app which is from one of the websites http://shirdisaiholidays.com/live-dharsan-3/.
I used activity starter with URI as rtsp://cam.live-s.cdn.bitgravity.com/cdn-live2-b1/_definst_/cam/live/secure/feed022/playlist.m3u8?e=0&h=ba7f5c5f6bf8a02d29f909dfa8d0c075.
It worked for some time but now it has stopped altogether. Someone said I can use video player or player with the url as source which I have also used without any success. It shows an error 702. Other apps using the same live streaming are working fine.

Related

Youtube live streaming getting stuck in Android

I am using youtube api for android to display youtube videos in my app. Normal videos stream very well, but youtube live streaming videos get stuck after few minutes in certain hardwares. These live streaming videos even got stuck when played usiing youtube app within these devices, while were playing completely fine using chrome browser.
Once initialized, I use the following line to play any youtube video:
youTubePlayer.loadVideo(id);
My queries are the following ?
What streaming protocol does youtube use for live streaming within Android ? Is it different with chrome browser and youtube app ?
What can be done to enable my app with seamless youtube live streaming ?
P.S. All my devices I have tested use Android version 4.4+

Unable to play live video using HTML video tag

Wowza Media Server running Live Video Streaming.
When I view the live video using RTMP and HTTP streaming using wowza examples which has live video players I am able to view video for all.
I am also able to run mobile application using cordova(phonegap) for ios devices. I am using HTML video tag in cordova application and I am able to view live video on IPad simulator using HLS streaming but whenever I try to run the same application using android simulator I am not able to view video.
Can someone please let me know what player should be used to run the application in android devices so that I can be able to view the video for Android devices?
Online search has proved that android supports HTML video tag and it should be able to play the HLS stream but when I tried it does not support.
What video player to use for Android?
And which stream type to use for Android?
Thanks
I think this is the best Compatibility chart: http://www.projekktor.com/compatibility/

Using surfaceView to stream videos

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

Android -- Cannot get the videos streaming from my server

I am using the following code to stream the videos from my server on android phone:
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(videoUrl)); // When I hit this URL in web browser on my PC, it works
startActivity(i);
When I run the code, it asks me to select a player. When I select a player, that player opens up and then nothing happens. I've even tried waiting for minutes, but the video never starts.
My question is, is it really as simple to just put the video on my webserver and on android run the above code to get that video streaming?
Do I need to make any changes on my server? Can anyone please help me with this? I cannot figure out if the problem is with my sever or client side.
It was the problem of VLC player that I was using on my Android Phone for testing. I downloaded the MX Player and tried it with that. Everything is working fine now :-)
That means not every video player on Google Play is mature enough to take a URL and start streaming the video. For that you need a good video player that supports this feature.

Video playing on Android

I am working with an Android and PhoneGap application and am using the HTML5 video tag to play videos on my web page. When I play the video I get the audio output but the video is not visible. How can I play a HTML5 video on Android?
I've written about this issue a number of times. See my previous answer:
Playing video on AVD with phonegap
Also, I'm working on monkey patching the video tag on Android so hopefully we'll have something even better soon.

Categories

Resources