KEMBAR78
RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP | PDF
2018.02.26
RTMP
Streaming Conference #1
AbemaTV
RTMP 1.0
AbemaTV
Masashi SHIBATA
c-bata c_bata_! "
https://developers.cyberagent.co.jp/blog/archives/13739/
RTMP
Real time message protocol


2012 Adobe
https://www.adobe.com/jp/devnet/rtmp.html
AbemaTV
!"
#
$
%
&
%
&
%
&
RTMP
MPEG-DASH
HLS
HTTP
HD-SDI
Media Server
Encoder
' ' '
AbemaTV
!"
#
$
%
&
%
&
%
&
RTMP
MPEG-DASH
HLS
HTTP
HD-SDI
Media Server
Encoder
' ' '
AbemaTV
03 00 00 00 00 00 b8 14 00 00 00 00 ….
∠
∠
∠
Hex to Binary
fmt: 0
cs id: 3
timestamp: 0
message length: 184
message type id: 20
message stream id: 0
※ extended timestamp
0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0
0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
03 00 00 00 00 00 b8 14 00 00 00 00 ….
∠
∠
∠
Hex to Binary
fmt: 0
cs id: 3
timestamp: 0
message length: 184
message type id: 20
message stream id: 0
※ extended timestamp
0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0
0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
fmt:
03 00 00 00 00 00 b8 14 00 00 00 00 ….
∠
∠
∠
Hex to Binary
fmt: 0
cs id: 3
timestamp: 0
message length: 184
message type id: 20
message stream id: 0
※ extended timestamp
0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0
0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
csid: ID
! !
" "
( ) 

Video Audio RPC
03 00 00 00 00 00 b8 14 00 00 00 00 ….
∠
∠
∠
Hex to Binary
fmt: 0
cs id: 3
timestamp: 0
message length: 184
message type id: 20
message stream id: 0
※ extended timestamp
0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0
0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
ID
/
20
/
AMF: Action Message Format
. . . . . . . . .
. . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. .
. . . . . . . . . . . . . .
http://wwwimages.adobe.com/content/dam/acom/en/devnet/pdf/
amf0-file-format-specification.pdf
AMF0 Specification
! !
!
!
!
!
!
"
"
"
"
"
"
"
"
nginx-rtmp-module ffmpeg
RTMP
github.com/c-bata/rtmp
Server implementation of RTMP 1.0 protocol in Go.
THANK YOU
RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP

RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP