I am experiencing a big latency in playing RSTP stream, I followed your description and the code but I haven't found yet where is the buffering mechanism that creates such a latency. Any hints?
There are multiple factors which could impact start time of playing RTSP links. Perhaps you can combine logcat and tcpdump output to have a rough idea of where most of the time is spent on first.
My first hunch would be UDP to TCP fail over. I too am dealing with this kind of problem, and reach this site looking for a RTCP-first transport setup on stagefright.
Could you magnify sequence diagram ? it's too small to see.
ReplyDeleteI am experiencing a big latency in playing RSTP stream, I followed your description and the code but I haven't found yet where is the buffering mechanism that creates such a latency.
ReplyDeleteAny hints?
Thanks in advance.
There are multiple factors which could impact start time of playing RTSP links. Perhaps you can combine logcat and tcpdump output to have a rough idea of where most of the time is spent on first.
ReplyDeleteMy first hunch would be UDP to TCP fail over. I too am dealing with this kind of problem, and reach this site looking for a RTCP-first transport setup on stagefright.
ReplyDeleteThis is a great post thankks
ReplyDelete