summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2012-06-17 20:24:43 +0200
committerMartin Storsjö <martin@martin.st>2012-06-17 22:56:56 +0300
commit8e50c57dcb481479f2fd46f9bdb6a9776b0d9fa6 (patch)
tree2f2fc14e25bde9931fe32829352363423b655025 /libavformat/allformats.c
parent35127bf156df09ebf43f1ad7ea236653f7ba7707 (diff)
RTMPT protocol support
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c2
1 files changed, 2 insertions, 0 deletions
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);