rtmp: Follow Flash player numbering for channels.
authorJosh Allmann <joshua.allmann@gmail.com>
Mon, 16 Sep 2013 20:20:57 +0000 (13:20 -0700)
committerMartin Storsjö <martin@martin.st>
Tue, 17 Sep 2013 08:03:36 +0000 (11:03 +0300)
commitd4aef997809167832ecc64e89dda8cb445e5fe10
tree9e2eab9d032cd2b2faf26103be7912b051a4f3d2
parent120af23cd5fcfc539d9575d17d403247ab17109b
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>
libavformat/rtmppkt.h
libavformat/rtmpproto.c