Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

RTMP: how did we get to now? (Demuxed 2019)

95 views

Published on

RTMP: web video innovation or Web 1.0 hack… how did we get to now? (Demuxed 2019)
One of the creators of RTMP will take you back to a time before Firefox, Safari, and Chrome, when Internet Explorer was used by the majority of people on the Web, and over 98% of browsers had Flash installed. RTMP was first prototyped in late 2000 and released in July 2002. Sarah Allen shares the untold story of the origins of this protocol — careful design choices and unexpected hacks that led to a de-facto standard that still drives the majority of live web video today.

Published in: Internet
  • Be the first to comment

  • Be the first to like this

RTMP: how did we get to now? (Demuxed 2019)

  1. 1. RTMP How did we get to now? Sarah Allen Veriskope @ultrasaurus October 23, 2019
  2. 2. Internet Explorer 83.9% Netscape Navigator. 12.6% Opera 0.14% Flash 99.8% (bundled with IE & Netscape) timeline data: www.evolutionoftheweb.combrowser stats: TheCounter Q4 2000
  3. 3. 50K 100K 200K
  4. 4. two-way audio/video… < 100K of code
  5. 5. Streaming Low-latency Two-way (mux, demux) Data Privacy 2002 Key Features
  6. 6. 2002 Protocol Audio = 8, Video = 9, Data = 18, SharedObject (Sync) = 19, Command = 20 ------------------------------------------------------------------------- | | | | | | |Msg type |Payload Len |timestamp |Stream ID | Payload | | 1 Byte | 3 bytes | 3 bytes | 3 bytes | Size = Payload Len | | | | | | | -------------------------------------------------------------------------
  7. 7. 2002 Protocol ------------------------------------------------------------------------- | | | | | | |Msg type |Payload Len |timestamp |Stream ID | Payload | | 1 Byte | 3 bytes | 4 bytes | 3 bytes | Size = Payload Len | | | | odd order| | | ------------------------------------------------------------------------- Audio = 8, Video = 9, Data = 18, SharedObject (Sync) = 19, Command = 20
  8. 8. 2002 Protocol 0 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+-+ |fmt| cs id | +-+-+-+-+-+-+-+-+ 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |fmt| 0 | cs id - 64 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |fmt| 1 | cs id - 64 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Chunk Basic Header 1 byte 2 bytes 3 bytes Hint: 2^6 = 64
  9. 9. Asymptotic Traffic Flow in a Hyperbolic Network: Non-uniform Traffic, Baryshnikov, Tucci 2002 Protocol
  10. 10. Now?
  11. 11. Streaming Low-latency Two-way (mux, demux) Data Privacy 2019

×