On Sun, Jun 17, 2012 at 6:00 PM, Samuel Pitoiset <samuel.pitoi...@gmail.com> wrote: > This adds two protocols, but one of them is an internal implementation > detail just used as an abstraction layer/generalization in the code. The > RTMPT protocol implementation uses rtmphttp:// as an alternative to the > tcp:// protocol. This allows moving most of the lower level logic out > from the higher level generic rtmp code. > --- > - Fix capacity of the output buffer. > - Free stuff allocated in rtmp_http_open in case of failure (ie. > rtmp_http_close()). > - Fix reading and parsing the client ID. > - Remove STATE_OPENED which is not necessary. > - Fix the 'close' request by reading previous unfinished request. > Changelog | 1 + > configure | 4 + > doc/protocols.texi | 8 ++ > libavformat/Makefile | 2 + > libavformat/allformats.c | 2 + > libavformat/rtmphttp.c | 247 > ++++++++++++++++++++++++++++++++++++++++++++++ > libavformat/rtmpproto.c | 31 +++++- > libavformat/version.h | 4 +- > 8 files changed, 294 insertions(+), 5 deletions(-) > create mode 100644 libavformat/rtmphttp.c
And fix building pinpointed by Diego. I still have to fix the nonblocking stuff for publishing a stream... :/ -- Best regards, Samuel Pitoiset. _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel