Difference between revisions of "RTMP"

From VideoLAN Wiki
Jump to navigation Jump to search
(This protocol is handled by the avio module)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{protocol|RTMP|mod=avio}}
 
{{wikipedia|Real Time Messaging Protocol}}
 
{{wikipedia|Real Time Messaging Protocol}}
'''Real Time Messaging Protocol''' ('''RTMP''') is a [[protocol]] used by [[Macromedia Flash]].  
+
'''Real Time Messaging Protocol''' ('''RTMP''') is a [[protocol]] used by [[wikipedia:Macromedia Flash|Macromedia Flash]].  
  
 
{{clear}}
 
{{clear}}
==Compatability==
+
==Compatibility==
{{unsupported|RTMP}}
+
VLC supports RTMP and rtmp:// URLs as of version 1.1, through the [[Documentation:Modules/avio|avio]] module via the libavformat library. In past versions, use of rtmpdump was required in conjunction with VLC, but that is no longer needed after VLC 1.1.x.
RTMP is not supported by VLC.
 
  
Additionally, RTMP uses port 1935, which may be blocked for users behind a proxy server.
+
==URL format==
 +
The basic URL format is:
 +
rtmp://tcurl/app/playpath
 +
 
 +
==Options==
 +
Some options can be used in command line :
 +
 
 +
{| class="wikitable"
 +
! Option !! Description
 +
|-
 +
| rtmp_pageurl || 
 +
|-
 +
| rtmp_swfurl || 
 +
|-
 +
| rtmp_swfvfy || 
 +
|-
 +
| rtmp_live || 
 +
|-
 +
| rtmp_playpath || Playpath
 +
|-
 +
| rtmp_app  || Application
 +
|-
 +
| rtmp_tcurl || ip[:port]
 +
|-
 +
|}
 +
 
 +
==Example==
 +
Find the swfurl of the RTMP stream (if required), and place it in the appropriate location below:
 +
 
 +
vlc rtmp://10.12.34.56/ --avio-options "{rtmp_swfurl=http://path/to/the.swf}"
  
 
==See also==
 
==See also==
 +
* [[SoC_2009/RTMP_Flash_Streaming]]
 
* http://www.osflash.org/rtmp_os
 
* http://www.osflash.org/rtmp_os
  
 
[[Category:Protocols]]
 
[[Category:Protocols]]

Latest revision as of 05:03, 18 May 2019

RTMP
VLC uses this protocol (or access module) to read data from a device or network.
This protocol is handled by the avio module.

Real Time Messaging Protocol (RTMP) is a protocol used by Macromedia Flash.

Compatibility

VLC supports RTMP and rtmp:// URLs as of version 1.1, through the avio module via the libavformat library. In past versions, use of rtmpdump was required in conjunction with VLC, but that is no longer needed after VLC 1.1.x.

URL format

The basic URL format is: rtmp://tcurl/app/playpath

Options

Some options can be used in command line :

Option Description
rtmp_pageurl
rtmp_swfurl
rtmp_swfvfy
rtmp_live
rtmp_playpath Playpath
rtmp_app Application
rtmp_tcurl ip[:port]

Example

Find the swfurl of the RTMP stream (if required), and place it in the appropriate location below:

vlc rtmp://10.12.34.56/ --avio-options "{rtmp_swfurl=http://path/to/the.swf}"

See also