Skip to content

thinkonmay/thinkremote-rtchub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webrtc-proxy

Peer to peer battery included WebRTC application built base on pion/webrtc

Dependencies

  • Ninja - Simple and efficient build tool.
  • Msys2 - Unix like terminal for building Window application using MinGW
    1. Download Msys2
    2. Prebuild script (Note: always run in mingw_x86_64 terminal)
    • pacman -S mingw-w64-x86_64-binutils mingw-w64-x86_64-cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-make cmake make gcc

Repository structure

|-- cmd                                  | Program
    |-- client                           | example client application
    |-- server                           | example server application
    |-- test                             | Test tool for GStreamer pipeline
|-- cgo                                  | Source code for C-GO binding
|-- hid                                  | HID (mouse/keyboard) adapter 
|-- lib                                  | Static library (built from cgo)
|-- broadcaster                          | RTP broadcaster package
|-- listener                             | RTP listener package
    |-- video                            | Video listener 
    |-- audio                            | Audio listener
    | listener.go                        | Listener interface definition
|-- signalling                           | Signalling package
    |-- gRPC                             | gRPC signalling client 
    |-- websocket                        | websocket signalling client 
    | signalling.go                      | Signalling interface definition
|-- util                                 | Utilities package
    |-- config                           | Configuration 
    |-- child-process                    | Child-process module (use by test module)
    |-- test                             | Gstreamer pipeline testcase
    |-- tool                             | Media device query tool
|-- proxy.go                             | Webrtc-proxy