sipsorcery icon indicating copy to clipboard operation
sipsorcery copied to clipboard

How to implement Low Latency, 60 fps video encoding in WebRTC.

Open DigitalSerpant opened this issue 1 year ago • 2 comments

Hi, Does anyone know how to encode the video stream for webRTC at 60 fps? This might be a big ask but it's worth a shot. I'm trying to make a screen share application with high fps at 1080p. The compression does not matter to much so it can be VP8 or VP9 but I'm not sure how to make it go above 20 fps. My code is basically from the following issue but I changed the screenshot method to use direct x with SharpDX to do the screenshots.

https://github.com/sipsorcery-org/sipsorcery/issues/320 VideoEncoding.zip

Thanks in advanced for any help at all!

DigitalSerpant avatar Jul 30 '24 23:07 DigitalSerpant

Yes, I had changed it. Turns out I just needed to set the preset to low latency and that did the trick. Thanks though!

DigitalSerpant avatar Aug 10 '24 23:08 DigitalSerpant

Issue seems resovled. Please feel free to re-open if any further questions.

sipsorcery avatar Oct 27 '24 23:10 sipsorcery

Yes, I had changed it. Turns out I just needed to set the preset to low latency and that did the trick. Thanks though!

Hey, Could you explain about that ?

Butcher-vj avatar Dec 11 '24 13:12 Butcher-vj