[rtmpdump] [PATCH] Reorder sent commands when sending createStream
Martin Storsjö
martin at martin.st
Sun Mar 28 19:29:32 CEST 2010
Hi,
This makes the code send CreateStream before doing ReleaseStream and
FCPublish (when using write mode).
With Wowza 1.7.0 build 11414, only the first of the three commands sent
actually get a reply. Therefore, we have to do CreateStream as the first
one, otherwise we get stuck when trying to broadcast to the server.
I'm not sure if this is the correct solution, but without this change, the
lib simply gets stuck waiting for a reply to the createStream which never
is received.
Would the proper solution be to only send one command at a time, wait for
the reply to that one and then proceed?
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Send-the-CreateStream-command-before-doing-releasest.patch
Type: text/x-diff
Size: 1215 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100328/cf228be0/attachment.patch>
More information about the rtmpdump
mailing list