2002-07-25 16:03:55 +00:00
|
|
|
/*
|
|
|
|
* Register all the formats and protocols
|
|
|
|
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
|
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* This file is part of Libav.
|
2006-10-07 15:30:46 +00:00
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2002-07-25 16:03:55 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 15:30:46 +00:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-07-25 16:03:55 +00:00
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2002-07-25 16:03:55 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2011-03-18 17:35:10 +00:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2006-01-12 22:43:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-07-25 16:03:55 +00:00
|
|
|
*/
|
|
|
|
#include "avformat.h"
|
2009-01-27 12:23:16 +00:00
|
|
|
#include "rtp.h"
|
2008-09-07 01:21:24 +00:00
|
|
|
#include "rdt.h"
|
2011-04-04 18:35:04 +00:00
|
|
|
#include "url.h"
|
2002-07-25 16:03:55 +00:00
|
|
|
|
2008-12-13 17:04:22 +00:00
|
|
|
#define REGISTER_MUXER(X,x) { \
|
2011-01-25 22:03:28 +00:00
|
|
|
extern AVOutputFormat ff_##x##_muxer; \
|
|
|
|
if(CONFIG_##X##_MUXER) av_register_output_format(&ff_##x##_muxer); }
|
2008-12-13 13:39:13 +00:00
|
|
|
|
2008-12-13 17:04:22 +00:00
|
|
|
#define REGISTER_DEMUXER(X,x) { \
|
2011-01-25 22:03:28 +00:00
|
|
|
extern AVInputFormat ff_##x##_demuxer; \
|
|
|
|
if(CONFIG_##X##_DEMUXER) av_register_input_format(&ff_##x##_demuxer); }
|
2008-12-13 13:39:13 +00:00
|
|
|
|
2006-11-27 12:55:24 +00:00
|
|
|
#define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
|
2008-12-13 13:39:13 +00:00
|
|
|
|
2008-12-13 17:04:22 +00:00
|
|
|
#define REGISTER_PROTOCOL(X,x) { \
|
2011-01-25 22:03:28 +00:00
|
|
|
extern URLProtocol ff_##x##_protocol; \
|
2011-04-04 18:35:04 +00:00
|
|
|
if(CONFIG_##X##_PROTOCOL) ffurl_register_protocol(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); }
|
2006-11-27 12:55:24 +00:00
|
|
|
|
2002-07-25 16:03:55 +00:00
|
|
|
void av_register_all(void)
|
|
|
|
{
|
2008-02-13 09:26:10 +00:00
|
|
|
static int initialized;
|
2005-12-17 18:14:38 +00:00
|
|
|
|
2008-02-13 09:26:10 +00:00
|
|
|
if (initialized)
|
2004-10-07 21:11:08 +00:00
|
|
|
return;
|
2008-02-13 09:26:10 +00:00
|
|
|
initialized = 1;
|
2004-10-07 21:11:08 +00:00
|
|
|
|
2002-07-25 16:03:55 +00:00
|
|
|
avcodec_register_all();
|
|
|
|
|
2007-11-07 22:02:02 +00:00
|
|
|
/* (de)muxers */
|
2010-08-23 11:52:34 +00:00
|
|
|
REGISTER_MUXER (A64, a64);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (AAC, aac);
|
|
|
|
REGISTER_MUXDEMUX (AC3, ac3);
|
|
|
|
REGISTER_MUXER (ADTS, adts);
|
2009-09-22 17:28:03 +00:00
|
|
|
REGISTER_DEMUXER (AEA, aea);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (AIFF, aiff);
|
|
|
|
REGISTER_MUXDEMUX (AMR, amr);
|
2010-01-10 05:47:50 +00:00
|
|
|
REGISTER_DEMUXER (ANM, anm);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (APC, apc);
|
2007-09-13 03:22:47 +00:00
|
|
|
REGISTER_DEMUXER (APE, ape);
|
2010-08-19 14:54:37 +00:00
|
|
|
REGISTER_DEMUXER (APPLEHTTP, applehttp);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (ASF, asf);
|
2008-09-26 19:42:21 +00:00
|
|
|
REGISTER_MUXDEMUX (ASS, ass);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXER (ASF_STREAM, asf_stream);
|
|
|
|
REGISTER_MUXDEMUX (AU, au);
|
|
|
|
REGISTER_MUXDEMUX (AVI, avi);
|
2007-09-26 18:37:20 +00:00
|
|
|
REGISTER_DEMUXER (AVISYNTH, avisynth);
|
2008-01-20 18:31:56 +00:00
|
|
|
REGISTER_MUXER (AVM2, avm2);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (AVS, avs);
|
|
|
|
REGISTER_DEMUXER (BETHSOFTVID, bethsoftvid);
|
2008-04-13 21:06:31 +00:00
|
|
|
REGISTER_DEMUXER (BFI, bfi);
|
2010-01-31 12:35:09 +00:00
|
|
|
REGISTER_DEMUXER (BINK, bink);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (C93, c93);
|
2009-09-16 12:26:59 +00:00
|
|
|
REGISTER_DEMUXER (CAF, caf);
|
2010-07-27 07:18:36 +00:00
|
|
|
REGISTER_MUXDEMUX (CAVSVIDEO, cavsvideo);
|
2009-12-17 17:25:31 +00:00
|
|
|
REGISTER_DEMUXER (CDG, cdg);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXER (CRC, crc);
|
2008-08-04 07:35:07 +00:00
|
|
|
REGISTER_MUXDEMUX (DAUD, daud);
|
2011-03-15 08:37:48 +00:00
|
|
|
REGISTER_DEMUXER (DFA, dfa);
|
2008-05-02 14:52:39 +00:00
|
|
|
REGISTER_MUXDEMUX (DIRAC, dirac);
|
2008-10-24 01:42:57 +00:00
|
|
|
REGISTER_MUXDEMUX (DNXHD, dnxhd);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (DSICIN, dsicin);
|
2008-04-20 20:28:12 +00:00
|
|
|
REGISTER_MUXDEMUX (DTS, dts);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (DV, dv);
|
|
|
|
REGISTER_DEMUXER (DXA, dxa);
|
|
|
|
REGISTER_DEMUXER (EA, ea);
|
2007-11-03 22:42:20 +00:00
|
|
|
REGISTER_DEMUXER (EA_CDATA, ea_cdata);
|
2008-09-01 14:33:54 +00:00
|
|
|
REGISTER_MUXDEMUX (EAC3, eac3);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (FFM, ffm);
|
2010-12-27 07:46:53 +00:00
|
|
|
REGISTER_MUXDEMUX (FFMETADATA, ffmetadata);
|
2010-01-14 12:55:44 +00:00
|
|
|
REGISTER_MUXDEMUX (FILMSTRIP, filmstrip);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (FLAC, flac);
|
|
|
|
REGISTER_DEMUXER (FLIC, flic);
|
|
|
|
REGISTER_MUXDEMUX (FLV, flv);
|
|
|
|
REGISTER_DEMUXER (FOURXM, fourxm);
|
|
|
|
REGISTER_MUXER (FRAMECRC, framecrc);
|
2010-05-24 17:49:26 +00:00
|
|
|
REGISTER_MUXER (FRAMEMD5, framemd5);
|
2010-09-09 19:27:41 +00:00
|
|
|
REGISTER_MUXDEMUX (G722, g722);
|
2008-07-13 18:47:24 +00:00
|
|
|
REGISTER_MUXER (GIF, gif);
|
2008-04-28 18:29:42 +00:00
|
|
|
REGISTER_DEMUXER (GSM, gsm);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (GXF, gxf);
|
|
|
|
REGISTER_MUXDEMUX (H261, h261);
|
|
|
|
REGISTER_MUXDEMUX (H263, h263);
|
|
|
|
REGISTER_MUXDEMUX (H264, h264);
|
|
|
|
REGISTER_DEMUXER (IDCIN, idcin);
|
2008-03-30 19:17:01 +00:00
|
|
|
REGISTER_DEMUXER (IFF, iff);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (IMAGE2, image2);
|
|
|
|
REGISTER_MUXDEMUX (IMAGE2PIPE, image2pipe);
|
|
|
|
REGISTER_DEMUXER (INGENIENT, ingenient);
|
|
|
|
REGISTER_DEMUXER (IPMOVIE, ipmovie);
|
2008-03-16 13:36:36 +00:00
|
|
|
REGISTER_MUXER (IPOD, ipod);
|
2009-01-17 20:08:43 +00:00
|
|
|
REGISTER_DEMUXER (ISS, iss);
|
2009-12-01 13:17:10 +00:00
|
|
|
REGISTER_DEMUXER (IV8, iv8);
|
2011-01-18 06:59:49 +00:00
|
|
|
REGISTER_MUXDEMUX (IVF, ivf);
|
2011-03-10 12:29:22 +00:00
|
|
|
REGISTER_DEMUXER (JV, jv);
|
2008-01-07 23:52:51 +00:00
|
|
|
REGISTER_DEMUXER (LMLM4, lmlm4);
|
2010-10-01 11:08:24 +00:00
|
|
|
REGISTER_DEMUXER (LXF, lxf);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (M4V, m4v);
|
2010-05-23 13:07:33 +00:00
|
|
|
REGISTER_MUXER (MD5, md5);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (MATROSKA, matroska);
|
|
|
|
REGISTER_MUXER (MATROSKA_AUDIO, matroska_audio);
|
|
|
|
REGISTER_MUXDEMUX (MJPEG, mjpeg);
|
2009-04-21 23:23:15 +00:00
|
|
|
REGISTER_MUXDEMUX (MLP, mlp);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (MM, mm);
|
|
|
|
REGISTER_MUXDEMUX (MMF, mmf);
|
|
|
|
REGISTER_MUXDEMUX (MOV, mov);
|
|
|
|
REGISTER_MUXER (MP2, mp2);
|
|
|
|
REGISTER_MUXDEMUX (MP3, mp3);
|
|
|
|
REGISTER_MUXER (MP4, mp4);
|
|
|
|
REGISTER_DEMUXER (MPC, mpc);
|
2007-11-07 05:35:46 +00:00
|
|
|
REGISTER_DEMUXER (MPC8, mpc8);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXER (MPEG1SYSTEM, mpeg1system);
|
|
|
|
REGISTER_MUXER (MPEG1VCD, mpeg1vcd);
|
|
|
|
REGISTER_MUXER (MPEG1VIDEO, mpeg1video);
|
|
|
|
REGISTER_MUXER (MPEG2DVD, mpeg2dvd);
|
|
|
|
REGISTER_MUXER (MPEG2SVCD, mpeg2svcd);
|
|
|
|
REGISTER_MUXER (MPEG2VIDEO, mpeg2video);
|
|
|
|
REGISTER_MUXER (MPEG2VOB, mpeg2vob);
|
|
|
|
REGISTER_DEMUXER (MPEGPS, mpegps);
|
|
|
|
REGISTER_MUXDEMUX (MPEGTS, mpegts);
|
|
|
|
REGISTER_DEMUXER (MPEGTSRAW, mpegtsraw);
|
|
|
|
REGISTER_DEMUXER (MPEGVIDEO, mpegvideo);
|
|
|
|
REGISTER_MUXER (MPJPEG, mpjpeg);
|
2008-03-18 19:54:47 +00:00
|
|
|
REGISTER_DEMUXER (MSNWC_TCP, msnwc_tcp);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (MTV, mtv);
|
2008-07-10 03:02:19 +00:00
|
|
|
REGISTER_DEMUXER (MVI, mvi);
|
2008-08-26 15:58:25 +00:00
|
|
|
REGISTER_MUXDEMUX (MXF, mxf);
|
2009-02-13 07:28:20 +00:00
|
|
|
REGISTER_MUXER (MXF_D10, mxf_d10);
|
2010-11-26 10:11:16 +00:00
|
|
|
REGISTER_DEMUXER (MXG, mxg);
|
2009-02-08 18:50:32 +00:00
|
|
|
REGISTER_DEMUXER (NC, nc);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (NSV, nsv);
|
|
|
|
REGISTER_MUXER (NULL, null);
|
|
|
|
REGISTER_MUXDEMUX (NUT, nut);
|
|
|
|
REGISTER_DEMUXER (NUV, nuv);
|
2007-11-10 18:27:03 +00:00
|
|
|
REGISTER_MUXDEMUX (OGG, ogg);
|
2008-06-08 17:12:25 +00:00
|
|
|
REGISTER_DEMUXER (OMA, oma);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (PCM_ALAW, pcm_alaw);
|
|
|
|
REGISTER_MUXDEMUX (PCM_MULAW, pcm_mulaw);
|
2008-08-23 22:36:35 +00:00
|
|
|
REGISTER_MUXDEMUX (PCM_F64BE, pcm_f64be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_F64LE, pcm_f64le);
|
|
|
|
REGISTER_MUXDEMUX (PCM_F32BE, pcm_f32be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_F32LE, pcm_f32le);
|
|
|
|
REGISTER_MUXDEMUX (PCM_S32BE, pcm_s32be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_S32LE, pcm_s32le);
|
|
|
|
REGISTER_MUXDEMUX (PCM_S24BE, pcm_s24be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_S24LE, pcm_s24le);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (PCM_S16BE, pcm_s16be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_S16LE, pcm_s16le);
|
|
|
|
REGISTER_MUXDEMUX (PCM_S8, pcm_s8);
|
2008-08-23 22:36:35 +00:00
|
|
|
REGISTER_MUXDEMUX (PCM_U32BE, pcm_u32be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_U32LE, pcm_u32le);
|
|
|
|
REGISTER_MUXDEMUX (PCM_U24BE, pcm_u24be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_U24LE, pcm_u24le);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (PCM_U16BE, pcm_u16be);
|
|
|
|
REGISTER_MUXDEMUX (PCM_U16LE, pcm_u16le);
|
|
|
|
REGISTER_MUXDEMUX (PCM_U8, pcm_u8);
|
|
|
|
REGISTER_MUXER (PSP, psp);
|
2008-01-02 10:45:28 +00:00
|
|
|
REGISTER_DEMUXER (PVA, pva);
|
2009-05-20 17:19:39 +00:00
|
|
|
REGISTER_DEMUXER (QCP, qcp);
|
2009-01-20 07:42:14 +00:00
|
|
|
REGISTER_DEMUXER (R3D, r3d);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (RAWVIDEO, rawvideo);
|
2008-03-21 14:02:13 +00:00
|
|
|
REGISTER_DEMUXER (RL2, rl2);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (RM, rm);
|
|
|
|
REGISTER_MUXDEMUX (ROQ, roq);
|
2008-03-31 10:44:33 +00:00
|
|
|
REGISTER_DEMUXER (RPL, rpl);
|
2010-07-20 14:13:24 +00:00
|
|
|
REGISTER_MUXDEMUX (RSO, rso);
|
2010-10-19 07:38:53 +00:00
|
|
|
REGISTER_MUXDEMUX (RTP, rtp);
|
2010-02-22 21:28:19 +00:00
|
|
|
REGISTER_MUXDEMUX (RTSP, rtsp);
|
2010-10-13 09:06:59 +00:00
|
|
|
REGISTER_MUXDEMUX (SAP, sap);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (SDP, sdp);
|
2010-10-21 12:18:48 +00:00
|
|
|
#if CONFIG_RTPDEC
|
2006-10-26 18:36:03 +00:00
|
|
|
av_register_rtp_dynamic_payload_handlers();
|
2008-09-07 01:21:24 +00:00
|
|
|
av_register_rdt_dynamic_payload_handlers();
|
2006-07-10 21:14:37 +00:00
|
|
|
#endif
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (SEGAFILM, segafilm);
|
|
|
|
REGISTER_DEMUXER (SHORTEN, shorten);
|
2007-10-22 06:01:38 +00:00
|
|
|
REGISTER_DEMUXER (SIFF, siff);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (SMACKER, smacker);
|
|
|
|
REGISTER_DEMUXER (SOL, sol);
|
2009-05-30 18:51:15 +00:00
|
|
|
REGISTER_MUXDEMUX (SOX, sox);
|
2010-11-22 22:09:26 +00:00
|
|
|
REGISTER_MUXDEMUX (SPDIF, spdif);
|
2010-07-24 22:50:12 +00:00
|
|
|
REGISTER_MUXDEMUX (SRT, srt);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (STR, str);
|
|
|
|
REGISTER_MUXDEMUX (SWF, swf);
|
|
|
|
REGISTER_MUXER (TG2, tg2);
|
|
|
|
REGISTER_MUXER (TGP, tgp);
|
|
|
|
REGISTER_DEMUXER (THP, thp);
|
|
|
|
REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq);
|
2009-05-06 22:01:54 +00:00
|
|
|
REGISTER_DEMUXER (TMV, tmv);
|
2009-03-19 21:46:56 +00:00
|
|
|
REGISTER_MUXDEMUX (TRUEHD, truehd);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (TTA, tta);
|
|
|
|
REGISTER_DEMUXER (TXD, txd);
|
2010-07-18 08:06:55 +00:00
|
|
|
REGISTER_DEMUXER (TTY, tty);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (VC1, vc1);
|
2008-07-23 17:06:40 +00:00
|
|
|
REGISTER_MUXDEMUX (VC1T, vc1t);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (VMD, vmd);
|
|
|
|
REGISTER_MUXDEMUX (VOC, voc);
|
2009-03-07 22:42:09 +00:00
|
|
|
REGISTER_DEMUXER (VQF, vqf);
|
2009-08-10 16:27:33 +00:00
|
|
|
REGISTER_DEMUXER (W64, w64);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (WAV, wav);
|
|
|
|
REGISTER_DEMUXER (WC3, wc3);
|
2010-06-04 22:40:54 +00:00
|
|
|
REGISTER_MUXER (WEBM, webm);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (WSAUD, wsaud);
|
|
|
|
REGISTER_DEMUXER (WSVQA, wsvqa);
|
2010-12-26 01:28:25 +00:00
|
|
|
REGISTER_DEMUXER (WTV, wtv);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_DEMUXER (WV, wv);
|
2008-04-14 14:31:43 +00:00
|
|
|
REGISTER_DEMUXER (XA, xa);
|
2010-03-29 22:17:01 +00:00
|
|
|
REGISTER_DEMUXER (YOP, yop);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_MUXDEMUX (YUV4MPEGPIPE, yuv4mpegpipe);
|
2004-10-22 02:04:30 +00:00
|
|
|
|
2007-11-07 22:04:00 +00:00
|
|
|
/* external libraries */
|
|
|
|
REGISTER_MUXDEMUX (LIBNUT, libnut);
|
|
|
|
|
2007-11-07 22:02:02 +00:00
|
|
|
/* protocols */
|
2010-07-22 07:30:15 +00:00
|
|
|
REGISTER_PROTOCOL (APPLEHTTP, applehttp);
|
2010-07-27 14:34:56 +00:00
|
|
|
REGISTER_PROTOCOL (CONCAT, concat);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_PROTOCOL (FILE, file);
|
2009-02-11 16:28:46 +00:00
|
|
|
REGISTER_PROTOCOL (GOPHER, gopher);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_PROTOCOL (HTTP, http);
|
2010-08-21 19:04:41 +00:00
|
|
|
REGISTER_PROTOCOL (MMSH, mmsh);
|
2010-05-24 21:59:32 +00:00
|
|
|
REGISTER_PROTOCOL (MMST, mmst);
|
2010-07-18 20:19:08 +00:00
|
|
|
REGISTER_PROTOCOL (MD5, md5);
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_PROTOCOL (PIPE, pipe);
|
2009-07-31 06:49:36 +00:00
|
|
|
REGISTER_PROTOCOL (RTMP, rtmp);
|
2010-03-28 13:39:36 +00:00
|
|
|
#if CONFIG_LIBRTMP
|
|
|
|
REGISTER_PROTOCOL (RTMP, rtmpt);
|
|
|
|
REGISTER_PROTOCOL (RTMP, rtmpe);
|
|
|
|
REGISTER_PROTOCOL (RTMP, rtmpte);
|
|
|
|
REGISTER_PROTOCOL (RTMP, rtmps);
|
|
|
|
#endif
|
2007-09-05 20:42:17 +00:00
|
|
|
REGISTER_PROTOCOL (RTP, rtp);
|
|
|
|
REGISTER_PROTOCOL (TCP, tcp);
|
|
|
|
REGISTER_PROTOCOL (UDP, udp);
|
2002-07-25 16:03:55 +00:00
|
|
|
}
|