Streaming and Launching VLC
Posted: 22 Apr 2008 20:08
Hi, im receiving a stream of data from a mobile phone via bluetooth and writing to a file. The file is a 3gp container encoded in h263 and audio in amr-nb.
I have been successfull in launching the player with the receiving file, prior to file completion.
My problem is now the following, I need to receive an amount of bytes prior to playing else VLC will not start playback.
How can I exactly know how much data I need prior to start playback, and
If I launch playback and the file is not ready to be opened (or let's say I have a buffer underrun) will VLC send a system error code so I can trap it and resume playback/restart playback?
Thanks
davi
I have been successfull in launching the player with the receiving file, prior to file completion.
My problem is now the following, I need to receive an amount of bytes prior to playing else VLC will not start playback.
How can I exactly know how much data I need prior to start playback, and
If I launch playback and the file is not ready to be opened (or let's say I have a buffer underrun) will VLC send a system error code so I can trap it and resume playback/restart playback?
Thanks
davi