Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DigitalSerpant opened this issue Jul 30, 2024 · 2 comments
Open

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

DigitalSerpant opened this issue Jul 30, 2024 · 2 comments

Comments

@DigitalSerpant
Copy link

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.

#320
VideoEncoding.zip

Thanks in advanced for any help at all!

@hossam14102010
Copy link

FFmpegScreenSource constructor has a frameRate paramater which is set to 20 by default. did you try to change it?

@DigitalSerpant
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants