Page 1 of 1

Problems in playing an HTTP stream from a netty server

Posted: 23 Apr 2013 21:26
by the_dark_destructor
Hi all,

I need to play a video through HTTP. The HTTP server streaming the file is written in netty and it is actually quite similar to the one distributed with the netty examples.

I'm using the latest version of VLC 2.0.6. I'm able to start reproducing the stream and seeking through it a couple of times. However, after a random number of seeks, I get on the server side the following error: java.io.IOException: Connection reset by peer.

Using other players (e.g. winamp or windows media player) I'm able to reproduce and seek through the stream without problems. Can anyone help me to resolve this problem?

Thank you for your attention.

Re: Problems in playing an HTTP stream from a netty server

Posted: 23 Apr 2013 22:14
by Rémi Denis-Courmont
That's a perfectly normal TCP error you get when a client aborted a connection. That's how clients seek in HTTP.

Re: Problems in playing an HTTP stream from a netty server

Posted: 23 Apr 2013 22:40
by the_dark_destructor
I know that is a normal TCP error. The problem however is that the streaming from VLC STOPS when I get that error from the server side. To resume the stream I have to press play again.

This happens in particular when I seek backward in the stream from VLC ...

As I said with other player this does not occurs.

Any clue about why VLC is behaving differently?

Re: Problems in playing an HTTP stream from a netty server

Posted: 24 Apr 2013 17:32
by Rémi Denis-Courmont
Probably a bug in the HTTP access module.