summaryrefslogtreecommitdiff
path: root/libavformat/rtmppkt.h
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2013-09-16 13:20:57 -0700
committerMartin Storsjö <martin@martin.st>2013-09-17 11:03:36 +0300
commitd4aef997809167832ecc64e89dda8cb445e5fe10 (patch)
tree9e2eab9d032cd2b2faf26103be7912b051a4f3d2 /libavformat/rtmppkt.h
parent120af23cd5fcfc539d9575d17d403247ab17109b (diff)
rtmp: Follow Flash player numbering for channels.
Channel 4 is typically used by the Flash player to transmit audio, channel 6 for video, and various stream-specific invokes get sent over channel 8, which is designated the source channel. This more closely matches the behavior of the Flash player, including the transmission of play requests over channel 8. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtmppkt.h')
-rw-r--r--libavformat/rtmppkt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtmppkt.h b/libavformat/rtmppkt.h
index ff5d1716df..e3120becc9 100644
--- a/libavformat/rtmppkt.h
+++ b/libavformat/rtmppkt.h
@@ -36,9 +36,9 @@
enum RTMPChannel {
RTMP_NETWORK_CHANNEL = 2, ///< channel for network-related messages (bandwidth report, ping, etc)
RTMP_SYSTEM_CHANNEL, ///< channel for sending server control messages
- RTMP_SOURCE_CHANNEL, ///< channel for sending a/v to server
- RTMP_VIDEO_CHANNEL = 8, ///< channel for video data
RTMP_AUDIO_CHANNEL, ///< channel for audio data
+ RTMP_VIDEO_CHANNEL = 6, ///< channel for video data
+ RTMP_SOURCE_CHANNEL = 8, ///< channel for a/v invokes
};
/**