Changes between Version 14 and Version 15 of Documentation/VLC


Ignore:
Timestamp:
Apr 30, 2010, 5:51:48 PM (14 years ago)
Author:
stud-hock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/VLC

    v14 v15  
    7676Vlc-mcpo uses a spontaneous virtual network (SpoVNet) for distributing the video content. Each SpoVNet have to consist of 0-1 senders and 0-N receivers. The connection procedure does not depend on the role (sender/receiver) one instance has. This could be a little bit confusion in the beginning, as on most streaming protocols the role defines whether one instance is client or server.
    7777
    78 ==== Creating a SpoVNet ====
    79 
    8078
    8179==== Parameters ====
    8280The vlc-mcpo plugin takes three connection parameters. source-port:destination-address:destination-port (e.g. 1234:localhost:5000)
    8381
    84 The source-port provides an interface for other instances to connect to this instances.
     82The "source-port" provides an entry point for other instances to the SpoVNet our instance is (or will be) in.
     83To access this entry point "destination address" and "destination port" must be set the ip-address (or domain name) and source-port of an instance in the targeted SpoVNet.
    8584
    86 [...]
     85An instance which has not connected to such an entry point makes up a SpoVNet with only itself in it.
     86
     87
     88==== Creating a SpoVNet ====
     89At first we need an initial SpoVNet, consisting of a single vlc-mcpo instance. This instance can be either server or client but must be accessible from the second instance. On the first instance we have to set the source-port. Destination-address and -port can be set but as long there is no other instance listening there, setting this parameters has no effect.
     90
     91
     92~~ For explanation purpose let's pretend we already have a SpoVNet (let's call it N) between some mcpo-vlc instances. If we now want to add a new instance (called C) to this net we will first need an 'entry point'. As an entry point we can use any instance in N. We pick an instance and call it E. E must be accessible from C (be careful with NATs). Let the ip-address of E be 1.1.1.1 and it's 'source-port' be 5000. Entering the N can be achieved with the parameters 5555:1.1.1.1:5000. The port 5555 on C can then be used as a new entry point. (Of course C can also use port 5000.)  ~~
     93
    8794
    8895==== Examples / Scenarios ====