mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-01 16:00:51 +02:00
fix v4l2sink sync.
This commit is contained in:
parent
6431f63da7
commit
b653856994
1 changed files with 6 additions and 3 deletions
|
@ -128,22 +128,25 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
|
|||
"! rtpvp8depay " +
|
||||
"! decodebin " +
|
||||
"! videoconvert " +
|
||||
"! videorate " +
|
||||
"! identity drop-allocation=true " +
|
||||
"! v4l2sink device=/dev/video0",
|
||||
"! v4l2sink sync=false device=/dev/video0",
|
||||
codec.VP9().Name: "appsrc format=time is-live=true do-timestamp=true name=appsrc " +
|
||||
"! application/x-rtp " +
|
||||
"! rtpvp9depay " +
|
||||
"! decodebin " +
|
||||
"! videoconvert " +
|
||||
"! videorate " +
|
||||
"! identity drop-allocation=true " +
|
||||
"! v4l2sink device=/dev/video0",
|
||||
"! v4l2sink sync=false device=/dev/video0",
|
||||
codec.H264().Name: "appsrc format=time is-live=true do-timestamp=true name=appsrc " +
|
||||
"! application/x-rtp " +
|
||||
"! rtph264depay " +
|
||||
"! decodebin " +
|
||||
"! videoconvert " +
|
||||
"! videorate " +
|
||||
"! identity drop-allocation=true " +
|
||||
"! v4l2sink device=/dev/video0",
|
||||
"! v4l2sink sync=false device=/dev/video0",
|
||||
}, "webcam"),
|
||||
microphone: streamSrcNew(map[string]string{
|
||||
codec.Opus().Name: "appsrc format=time is-live=true do-timestamp=true name=appsrc " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue