Discussion:
RTSP streaming to Android Client
pankaj bansal
2014-10-10 20:14:31 UTC
Permalink
Hi


I have an server client application. client is an android client. I am
using the Live555 server for streaming. I have used VideoView Widget of
Android to play the stream. I am having an latency of about 2-3 seconds in
frames on server and client. Also the playback is not smooth, it bit
jittery.

Is this expected if using Live555 server or is it something to do with the
Android client?

I tried using some other FFMPEG based android clients also. There also I
can see the latency but the playback is smoother than while using the
android VideoView...

PS: have very good network bandwidth.

Regards

Pankaj Bansal
Ross Finlayson
2014-10-11 14:53:14 UTC
Permalink
I have an server client application. client is an android client. I am using the Live555 server for streaming. I have used VideoView Widget of Android to play the stream. I am having an latency of about 2-3 seconds in frames on server and client. Also the playback is not smooth, it bit jittery.
Is this expected if using Live555 server or is it something to do with the Android client?
No, latency like this is almost always occurring in the client (when it buffers, decodes, and renders incoming media data).

(The only exception is if you are streaming RTP-over-TCP over a very congested TCP connection, in which case some of the latency might be caused by network buffering inside the sender's OS (*not* the LIVE555 server code).)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

Loading...