 command
    
    
    
      command
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v1.1.0
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Oct  1, 2018
  
      
  
    License: MIT
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 9
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 0
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
        
  
    
       README
      ¶
      README
      ¶
    
    
      
        
  Examples
We've build an extensive collection of examples covering common use-cases. Modify and extend these examples to quickly get started.
- gstreamer-receive: Play video and audio from your Webcam live using GStreamer
- gstreamer-send: Send video generated from GStreamer to your browser
- save-to-disk: Save video from your Webcam to disk
- data-channels: Use data channels to send text between Pion WebRTC and your browser
- data-channels-create: Similar to data channels but now Pion initiates the creation of the data channel.
- sfu: Broadcast a video to many peers, while only requiring the broadcaster to upload once
- [WIP] pion-to-pion: An example of two Pion instances communicating directly.
All examples can be executed on your local machine.
Install
go get github.com/pions/webrtc
cd $GOPATH/src/github.com/pions/webrtc/examples
go run examples.go
Note: you can change the port of the server using the --address flag.
Finally, browse to localhost to browse through the examples.
 
      
      
    
   
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
           
          There is no documentation for this package.
         
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
        
  
    
       Directories
      ¶
      Directories
      ¶
    
    
    
      
      
          
  
  
    |  |  | 
      
          
  
  
    |  |  | 
      
          
  
  
    |  |  | 
      |  |  | 
      
          
  
  
    |  |  | 
      |  |  | 
      
          
  
  
    | 
        janus-gateway
       |  | 
      |  |  | 
      
          
  
  
    | 
        pion-to-pion
       |  | 
      |  |  | 
      |  |  | 
      
          
  
  
    |  |  | 
      
          
  
  
    |  |  | 
      
    
   
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.