Re: GLMediaPlayer Stream initialization
Posted by Stefko on Aug 06, 2013; 11:23am
URL: https://forum.jogamp.org/GLMediaPlayer-Stream-initialization-tp4029746p4029748.html
Hi Sven !
Thank you very much for your quick reply !
As you point it out apparently using URI instead of simple String is a much better approach, it didn't occur to me so far.
Shame on me, but I have no knowledge of Android. But if as you say it requires just an URI, and not an active resolved connection, then again there is no use of the whole URLConnection object.
If I can find some time I could update my version of the code to accept URI instead of plain String and will send you the source files.
I wish I could contribute more efficiently to the project but I'm afraid I'm not that good with git to provide proper patches. I'd rather give my modified source files to someone interested and more skilled who can use them properly in the source tree and possibly do some further modifications to match the coding style and philosophy of the project.
Or could just point where I made the modifications and the guys working on the code would do the rest.
BTW, on a slightly different topic, it took me some time to realize that the gluegen source I was compiling was not up to date with the latest ffmpeg binaries, so I had to dig in the ffmpeg web site for earlier bin distros to match the gluegen code. Apparently there's been some changes in C structures which prevented me to from using the latest ffmpeg compilation.
Since I'm not good at gluegen as well I can't tell how difficult it'd be to make it in sync with the current ffmpeg code, but perhaps someone could help in that direction.... if not already done, of course.
Thank you and good luck !