Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Allow audio/mpeg streams next to m3u8 playlists #86

Closed
raboof opened this issue Dec 2, 2019 · 3 comments
Closed

Allow audio/mpeg streams next to m3u8 playlists #86

raboof opened this issue Dec 2, 2019 · 3 comments
Projects

Comments

@raboof
Copy link
Contributor

raboof commented Dec 2, 2019

For example the streams of the Dutch public radio, such as http://icecast.omroep.nl/radio2-bb-mp3, directly produce an audio/mpeg stream instead of wrapping them in an m3u8 playlist first. It would be cool if that was supported as well.

@raboof
Copy link
Contributor Author

raboof commented Dec 28, 2019

I did some digging: Alarmio uses the HLS media source. When I switched to https and used the ProgressiveMediaSource instead (https://pastebin.com/VBYavgPu) I could indeed hear the stream above.

It would be nice to support both - should we just catch the UnrecognizedInputFormatException from the HLS source and then try the Progressive one instead? Not very sophisticated, but might be OK?

@raboof
Copy link
Contributor Author

raboof commented Dec 28, 2019

should we just catch the UnrecognizedInputFormatException

Ah, but that'd have to be in onPlayerError... that's perhaps a bit obscure? Should we introduce a new 'type', and have the user choose between HLS and 'other' streams?

raboof added a commit to raboof/Alarmio that referenced this issue Dec 29, 2019
fennifith added a commit that referenced this issue Dec 30, 2019
Support 'progressive' radio sources #86
@fennifith fennifith added this to Done in Roadmap Dec 30, 2019
@raboof
Copy link
Contributor Author

raboof commented Dec 30, 2019

Fixed by #87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Roadmap
  
Done
Development

No branches or pull requests

2 participants