[vlc-devel] Re: JVLC & vlc testing status...
Filippo Carone
filippo at carone.org
Wed May 16 21:21:24 CEST 2007
Tony Anecito ha scritto:
> Hi Filippo,
>
> I got past my jvlc issues and wanted to mention another interesting
> issue. Seems the thread loop in the jvlc.java class was using up a bit
> of CPU. It caused repaints to occur very slowly for the application
> even though the movie did seem okay. I took the logic out and copied
> it to the method that checks if the movie is still running and removed
> the thread. Now I can play multiple movies without the application
> repaints being an issue.
So you moved the check on vout existance in hasVout()?
>
> This points out the need I mentioned for an event for the end of movie
> to be generated by the vlc code. With the callback it would have
> eliminated the need for the loop in the jvlc code.
Indeed. Pierre is in charge for callbacks, and I'm sure they'll be
available soon.
>
> Also, we should have an event generated for streaming status for the
> client. You can either get that via a thread checking the internal vlc
> status of how much of the movie has been streamed to the client or
> have vlc use a callback to the java binding every so often sending the
> download status of the movie via http or mms.
I'll test and report what happens.
>
> Let me know when I can download and test reading a stream via jvlc
> bindings from another server via http or mms at the client. I
> understand the vlm code is being reworked so the jvlc bindings can
> display a movie that is streamed to a client.
It's a matter of a few days ;)
Cheers,
Filippo
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list