Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

not connected to m3u8 stream #213

Closed
lcrippa opened this issue Sep 14, 2017 · 3 comments
Closed

not connected to m3u8 stream #213

lcrippa opened this issue Sep 14, 2017 · 3 comments

Comments

@lcrippa
Copy link

lcrippa commented Sep 14, 2017

I experienced bug #164, the stream was playing with the error message. After the fix, I can't connect to the station anymore (http://radio24-lh.akamaihd.net/i/radio24audio2_1@380795/master.m3u8). Reverting to the old program version the station plays (still displaying the error message though).

EDIT: the problem seems to be in gradio-audio-player.vala, in the portion

case Gst.MessageType.ELEMENT:
	state = Gst.State.NULL;

	// TODO: Improve the handling of missing codecs.
    	if(m.get_structure() != null && Gst.PbUtils.is_missing_plugin_message(m)) {
    		status_message = "A required codec is missing.";
    		codec.install_missing_codec(m);
    	}

			break;

a quick fix for my specific case is simply to remove the code above

@sispus
Copy link
Contributor

sispus commented Sep 24, 2017

version 6.0.1 also won't play m3u8 streams.
I don't know how to "revert" to the old one as @lcrippa did.

@lcrippa
Copy link
Author

lcrippa commented Sep 24, 2017

I would suggest you delete the aforementioned lines from gradio-audio-player.vala and compile from source using meson / ninja (it's a crude solution because it suppresses the "missing codec" warning, but for the time being it works and you don't lose all the new features in version 6)

@sispus
Copy link
Contributor

sispus commented Sep 24, 2017

Thank you, @lcrippa
I have already tried to compile it from the source, but I'm not good at compiling issues, and could not be successfull on it. Thanks to @haecker-felix, flatpak solution is rather preferable for me, but I don't know what's going on while installing by flatpak actually :) I think I will wait a fixed "flatpak version" for listening my favourite turkish radio "trt radyo 3" through my favourite gradio software :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants