]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blob - libavformat/rtmp.h
Let pmt override stream info when encoutered later in the ts file.
[frescor/ffmpeg.git] / libavformat / rtmp.h
1 /*
2  * RTMP definitions
3  * Copyright (c) 2009 Kostya Shishkov
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * FFmpeg is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with FFmpeg; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21
22 #ifndef AVFORMAT_RTMP_H
23 #define AVFORMAT_RTMP_H
24
25 #include "avformat.h"
26
27 #define RTMP_DEFAULT_PORT 1935
28
29 #define RTMP_HANDSHAKE_PACKET_SIZE 1536
30
31 /**
32  * emulated Flash client version - 9.0.124.2 on Linux
33  * @{
34  */
35 #define RTMP_CLIENT_PLATFORM "LNX"
36 #define RTMP_CLIENT_VER1    9
37 #define RTMP_CLIENT_VER2    0
38 #define RTMP_CLIENT_VER3  124
39 #define RTMP_CLIENT_VER4    2
40 /** @} */ //version defines
41
42 #endif /* AVFORMAT_RTMP_H */