Does ExoPlayer support playlist as sourceData ?
I need to get an array of url's streaming videos and play them one after another.
My problem is that if I switch to next video after the first is finished, it will take time to load it and it is not playing them continuously (meaning starting to load the next before the first ends).
Is there any way to do that in ExoPlayer ? or any other player ?
Related
I am preparing an application that plays playlists of 10 songs in m3u8 format. I am using ResolvingDataSource because I am fetching the m3u8 url to the audio file before starting playback.
Is it possible for ResolvingDataSource.Resolver to invoke every time the track changes?
Thanks for any help
I noticed that when ResolvingDataSource.Resolver takes the url to track in the playlist one time, when I go back to the same position again the exoplayer takes the m3u8 url from memory without calling ResolvingDataSource.Resolver.
I want to make video list interface that look like in youtube playlist which we can play 1 video and after finished it automatically play next video on the playlist. And we have the list of video, then if we click the video it will play inside the player.
Can we achieve something like that? I only able to play one video inside 1 player, OR using 1 player (with next and prev button overlay the video) to play whole playlist, but this way, we cannot see what the video list on the playlist
I am working on Android App regarding video playing. I am facing 20 to 30 seconds delay in video playing. I have tried many players but issue was always same. should i use Android custom or third party player for video playing. or anyone can suggest me alternative approach. videos size is 5mb and in mp4 format. how can i minimize this time to 1 to 2 sec.
From the description of your issue it may simply be that the metadata is at the end of the container for the video, which is typical with mp4 videos.
For video you want to stream it is recommended to move this to the front of the video.
You can see some more info and examples here:
https://superuser.com/a/438471
https://multimedia.cx/eggs/improving-qt-faststart/
I want to play youtube videos in my application.I get this data from gdata.youtube.com with a xml.Is there a more suitable way to do this?
Also i want to play only audio part of a youtube video.I don't want to show video view.Is it possible in MediaPlayer component?
Attempting to do this is in violation of YouTube's Terms of Service (Section II, item 10 and item 14 stops you from creating tiny, unnoticeable player windows)
I have created one songs album app. In this app, i have to play the songs by using URLs. These URLs gave me 2 types of songs.The first one is on-demand songs, which are our regular songs limited to 5 or 6 minutes. I dont have any problems to play/stop these songs with MediaPlayer object. The second one is live streaming, which is nothing but shout casting.With this shout-casting URLs, the MediaPlayer object is not working properly that means after playing say some 5 seconds of song the mediaplyer stops playing. I dont know what is the problem with live streaming data. if anyone knows about this, please guide me to rock the Mediaplayer.
Thanks
Venu
To play live streaming we need to set mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
It works for me a lot.