mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
v4l2 drop-allocation.
This commit is contained in:
parent
9a6eb942a4
commit
6431f63da7
@ -128,18 +128,21 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
|
||||
"! rtpvp8depay " +
|
||||
"! decodebin " +
|
||||
"! videoconvert " +
|
||||
"! identity drop-allocation=true " +
|
||||
"! v4l2sink device=/dev/video0",
|
||||
codec.VP9().Name: "appsrc format=time is-live=true do-timestamp=true name=appsrc " +
|
||||
"! application/x-rtp " +
|
||||
"! rtpvp9depay " +
|
||||
"! decodebin " +
|
||||
"! videoconvert " +
|
||||
"! identity drop-allocation=true " +
|
||||
"! v4l2sink device=/dev/video0",
|
||||
codec.H264().Name: "appsrc format=time is-live=true do-timestamp=true name=appsrc " +
|
||||
"! application/x-rtp " +
|
||||
"! rtph264depay " +
|
||||
"! decodebin " +
|
||||
"! videoconvert " +
|
||||
"! identity drop-allocation=true " +
|
||||
"! v4l2sink device=/dev/video0",
|
||||
}, "webcam"),
|
||||
microphone: streamSrcNew(map[string]string{
|
||||
|
Loading…
Reference in New Issue
Block a user