From 8e50c57dcb481479f2fd46f9bdb6a9776b0d9fa6 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Sun, 17 Jun 2012 20:24:43 +0200 Subject: RTMPT protocol support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Martin Storsjö --- libavformat/allformats.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/allformats.c') diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 1320a28ac6..42c588f294 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -256,6 +256,8 @@ void av_register_all(void) REGISTER_PROTOCOL (MD5, md5); REGISTER_PROTOCOL (PIPE, pipe); REGISTER_PROTOCOL (RTMP, rtmp); + REGISTER_PROTOCOL (RTMPHTTP, rtmphttp); + REGISTER_PROTOCOL (RTMPT, rtmpt); REGISTER_PROTOCOL (RTP, rtp); REGISTER_PROTOCOL (SCTP, sctp); REGISTER_PROTOCOL (TCP, tcp); -- cgit v1.2.3