[Live-devel] Http tunneling with base64 encoded RTSP messages

Federico Ares federico.ares at gmail.com
Mon Dec 19 10:42:41 PST 2005


Hi Ross,

I found something weird in RTSPClient while trying to acces an Axis server with HTTP tunneling.
Joseph Lazaar became in touch with me asking me about HTTP tunneling with AXIS servers, he couldt make it to work. I tried to test tunneling with my server and at first didnt work out neither.

Symptom: 
The RTSPClient freezes in an infinite loop after sending the DESCRIBE command via HTTP POST.
(its like the answer never comes back)

It was quite odd, because when I placed a breakpoint in a specific place int the RTSPclient code (without changing a single line) RTSPClient didnt freeze at all !!! But when I compiled my app, and ran it, it kept frozen.
So It sounded like wrong timing for me: I was unintentionaly introducing a delay with the breakpoint that made things work (I leave the complete answer to the philosophers).

My homemade solution:
I placed Sleep(1)  before the following line in RTSPClient (where the breakpoint made things work):
if (!sendRequest(cmd, "DESCRIBE")) break;

I know its not very elegant, but maybe you had this sort of problems before and could advise me about how to avoid this.

I would really appreciate your feedback,

Thanks!

Federico Ares

PD: Any news about the Multicast port problem I wrote you about?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20051219/7bfc25fa/attachment.html


More information about the live-devel mailing list