• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavformat/rtp.h

Go to the documentation of this file.
00001 /*
00002  * RTP definitions
00003  * Copyright (c) 2002 Fabrice Bellard
00004  *
00005  * This file is part of FFmpeg.
00006  *
00007  * FFmpeg is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * FFmpeg is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with FFmpeg; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020  */
00021 #ifndef AVFORMAT_RTP_H
00022 #define AVFORMAT_RTP_H
00023 
00024 #include "libavcodec/avcodec.h"
00025 
00034 int ff_rtp_get_payload_type(AVCodecContext *codec);
00035 
00048 int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type);
00049 
00059 const char *ff_rtp_enc_name(int payload_type);
00060 
00069 enum CodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type);
00070 
00071 #define RTP_PT_PRIVATE 96
00072 #define RTP_VERSION 2
00073 #define RTP_MAX_SDES 256   
00075 /* RTCP paquets use 0.5 % of the bandwidth */
00076 #define RTCP_TX_RATIO_NUM 5
00077 #define RTCP_TX_RATIO_DEN 1000
00078 
00079 #endif /* AVFORMAT_RTP_H */

Generated on Fri Sep 16 2011 17:17:50 for FFmpeg by  doxygen 1.7.1