Python GStreamer client for minimal-webrtc
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Philipp Klaus 04958c28fd fixes needed on my up-to-date Arch Linux system 3 个月前
LICENSE Fix LICENSE and README. 8 个月前 Fix LICENSE and README. 8 个月前 fixes needed on my up-to-date Arch Linux system 3 个月前 Testing virtual microphone. 8 个月前


GStreamer client for minimal-webrtc. Primarily intended for getting camera/microphone streams from a smartphone into arbitrary GStreamer pipelines, but should be useful generally as a GStreamer WebRTC example application. Based on from gstwebrtc-demos.

Example usage:

./ --url "" --receiveAudio --receiveVideo any

Note that by default test video and audio patterns are sent. Use --sendAudio false/--sendVideo false to disable them.

Running that command will output a URL both as text and as a QR code to give to the web browser to connect to.

usage: [-h] [--url URL] [--roomName ROOMNAME]
                              [--sendAudio SENDAUDIO] [--sendVideo SENDVIDEO]
                              [--receiveAudio] [--receiveVideo RECEIVEVIDEO]
                              [--receiveAudioTo RECEIVEAUDIOTO]
                              [--receiveVideoTo RECEIVEVIDEOTO]

optional arguments:
  -h, --help            show this help message and exit
  --url URL             URL from minimal-webrtc
  --roomName ROOMNAME   room name to host
  --sendAudio SENDAUDIO
                        GStreamer audio pipeline to send
  --sendVideo SENDVIDEO
                        GStreamer video pipeline to send
  --receiveAudio        Enable receiving audio
  --receiveVideo RECEIVEVIDEO
                        Set video to receive ("screen", "environment",
                        "facing", "true", "false")
  --receiveAudioTo RECEIVEAUDIOTO
                        "auto" or file path or device=DEVICE where DEVICE is a
                        PulseAudio sink to send received audio to
  --receiveVideoTo RECEIVEVIDEOTO
                        "auto" or file path to send received video to