Login  Register

GLMediaPlayer Stream initialization

Posted by Stefko on Aug 05, 2013; 10:07pm
URL: https://forum.jogamp.org/GLMediaPlayer-Stream-initialization-tp4029746.html

Does anybody know the reason for having GLMediaPlayer initialized using a URLConnection as a parameter?
I mean, further down the code only the URL string is actually used, not the actual URLConnection. Having URLConnection imposes the Java limitations on the supported  protocols while in fact it's the ffmpeg code which handles the protocols/parses the URL etc.
I have a project which requires playing live rtsp stream and couldn't do it with the original JOGL code. Had to modify the Java and some of the C code, recompile etc to make it accept just a String with the URL for the stream initialization.

Isn't it better if we replace the URLConnection parameter with a String and use the full potential of the ffmpeg, or am I missing something very obvious?

Any comments are most welcome!