www.pudn.com > vls-0.5.6.rar > 3parts.sgml


Parts of vls in more details

Here is the global VLS framework :


  
    
  
  
    
  
  
    Sequence diagram
  


We can isolate 3 major parts :


the "source" thread (Reader+Converter)
which takes the data from the media and format them into TS packets.


The 



Here is a simplified sequence diagram to show what happens when a "start"
command is sent through the telnet interface:


  
    
  
  
    
  
  
    Sequence diagram
  





How is a TS packet sent ?




  
    
  
  
    
  
  
    Sequence diagram
  


The Packet Handler (C_SyncFifo) is shared between two threads: in one thread 
the Converter pushes TS packets in the fifo, and in another thread the Streamer
pops them.