ExoPlayer-with-MediaControls icon indicating copy to clipboard operation
ExoPlayer-with-MediaControls copied to clipboard

about hls stream

Open brdn opened this issue 9 years ago • 5 comments

hi, can you make a implement for use mp4 and hls url for your example?

brdn avatar May 05 '16 22:05 brdn

Hi, i added support for HLS. All the HLS specific code is in "initHLSPlayer()" . At the moment the only way to set the URLs is in the source code. It should play Mp4 Streams. If you want to play a local file you have create a File Object and change Uri.parse(url) to Uri.fromFile(yourfile) at ExtractorSampleSource in "initPlayer()"

Foso avatar May 06 '16 21:05 Foso

thank you for implement, i sent you e-mail

brdn avatar May 07 '16 14:05 brdn

Hi brdn, what does the error message say? Is your link working when you use it in my app ?

Foso avatar May 16 '16 16:05 Foso

yes in your app is working.. check your mail for details

brdn avatar May 16 '16 16:05 brdn

with your implement i cannot parse radio url and take radio name from external url db.. maybe bcz of this app stops.

brdn avatar Jun 12 '16 10:06 brdn