Difference between revisions of "HTTP"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
==Source code==
 
==Source code==
 
{{file|modules/access/http.c|access module}}
 
{{file|modules/access/http.c|access module}}
 
[[Category:Protocols]]
 

Revision as of 20:42, 7 March 2007

Did you want the HTTP Interface?

??
VLC uses this protocol (or access module) to read data from a device or network.

HTTP stands for HyperText Transport Procotol. It's a application network layer developed in early days of Internet for transmit html and text files. Today it's used for every kind of media, thanks to it's flexibility. VideoLAN can use this protocol for multimedia streaming. It can read a stream from an HTTP server like Apache, or act like a HTTP server dumping multimedia to the network.

Module options

  • --http-proxy (string)
    HTTP proxy to use
  • --http-caching (integer)
    Caching value in milliseconds
  • --http-user-agent (string)
    User agent string. For example, the default user-agent for version 0.9.0-svn is:
    VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2006 the VideoLAN team
  • --http-reconnect (boolean)
    Auto re-connect (default disabled)
  • --http-continuous (string)
    Continuous stream (default disabled)
  • --http-user (string)
  • --http-pwd (string)
    HTTP authentication [Please check this]

Source code