Android Video Player Library options - android

Apart from exo player and VideoView are there any other reliable android studio video player libraries? I have tried using either can't find a solution to either problem (Exo Player not playing video from url) and (Video Playing But Audio Isn't On VideoView) this project is getting old I tried a videoView because the recommended exo player wasn't working now I wonder if there are other reliable ones I can try

Related

HLS streaming in ExoPlayer

I am making an tv app and the app is playing HLS media streaming using exoplayer.
when app starts it's playing default streaming link. i want to make functionality like if, i click different button it will play different streaming connected link with the button.
I am using java.
I tried button click listener event first release() the exoplayer then set the media player again
then add media item prepare the exoplayer and paly the exoplayer. its not working

How to set playback quality in youtube player api

I'm using Youtube Player API for playing Youtube videos in my app. The problem I'm facing is that the video when starts playing the quality of video is too low even if the device connected to the wifi. Is there any way to force Youtube Player to play high quality videos in my app using Youtube Player API?
Unfortunately, there is no method in the Android YouTube API to achieve this.
So the workaround is to use an IFrame associated with an Android WebView and then, control the video quality.
There is a function in the Youtube IFrame API See: Playback Quality in IFrame Player

Any ideas on how can i stream m3u8 video in android

I am working on Android TV app and have to stream some videos. I am facing problem in playing m3u8 videos in videoview. Videoview is not working fine in all the devices. So I tried GoogleExo player and Vitamio - it seems like both does not suppport m3u8 videos.
Does anyone know how to play m3u8 videos on android?
By m3u8 if you mean HLS videos, Google's ExoPlayer supports that. Also if you don't want to use ExoPlayer, android mediaplayer api has limited support for HLS stream from android 4.0.
I would suggest if you can spend some money on purchasing some thirdparty players, they'll give the best playabck experience and features. Refer the following players
NexStreaming
Akamai
Brightcove
JW Player - Its built on top of exoplayer

How to integrate HTML5 video player with seek, pause,play option in android code?

My requirement is to stream video using HTML5 player in android.
I referred this link to stream the -> WebView and HTML5
.
It's streaming properly but there is no option to play, pause and seek the video position.

How I play my rtsp videos on android webview?

I mean I have a link like this: http://15....../a.stream
I write this code to see the video on android :
VideoView wv = (VideoView)findViewById(R.id.videoView1);
wv.setVideoURI(Uri.parse("rtsp://15........./a.stream"));
MediaController controller = new MediaController(izle.this);
wv.setMediaController(controller);
wv.start();
This code works first.But one day the same code say :
Cannot play video
Sorry,this video cannot played.
My first question is why that alert me like that?
second question is maybe i play video in another way maybe it is work.Like if I play video in webview maybe it is work? How I play the rtsp video stream on webview?
Thanks...
You can't play rtsp in webview. Only Flash(rtmp) stream play in browser with flash player.If streams is rtsp, then browser will open it in the external video player.
HTTPS progressive streams are only supported under 3.0+.
WebView plays rtmp as well as rtsp if your device has somehow flash working on it. It won't play without that so API version is important because flash player used to work on earlier APIs.
The best way to stream live in Android is to use Vitamio. It's the best solution out there. It can play numerous stream formats including rtmp and rtsp.

Categories

Resources