Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Question: How can I configure the client to only stream in HD #31

Closed
jose-rojas-internaut opened this issue Jun 18, 2022 · 2 comments
Closed

Comments

@jose-rojas-internaut
Copy link

I would like to use only HD, avoiding Full HD.

How can I configure it?

Thank you in advance.

@EkaanshArora
Copy link
Contributor

You can pass CameraVideoTrackInitConfig to the createMicrophoneAndCameraTracks function.

Use this preset:

const useMicrophoneAndCameraTracks = createMicrophoneAndCameraTracks({}, {encoderConfig: "720p_2"});

For:

Video Profile Resolution (Width×Height) Frame Rate (fps) Bitrate (Kbps)
720p_2 1280 × 720 30 2000

More presets here.

@jose-rojas-internaut
Copy link
Author

Cool, thanks

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

No branches or pull requests

2 participants