How do I enable FHD resolution on the client?
Objective
To enable 1080p(FHD) resolution on the client while publishing the stream.
Applies To
- Vonage Video API
- Resolution
- FHD
Procedure
JS SDK: To set FHD(1080p) video resolution for a publisher stream, set the resolution property of the properties parameter to 1080p and pass into the OT.initPublisher() method.
iOS SDK: You can set the FHD resolution for a publisher's stream by setting the cameraResolution of the OTPublisherSettings object to 1080p and pass it into the OTPublisher init(delegate:settings:)method.
Android SDK: You can set the resolution for a publisher's stream to 1080p by calling the resolution() methods of the Publisher.
Windows SDK: You can set the resolution for a publisher's stream to 1080p by configuring the VideoCapturer object you use when you instantiate the Publisher object.
Linux SDK : You can set the resolution for a publisher’s stream to 1080p by configuring the otc_camera_capture_resolution parameter in the otc_publisher_settings_set_default_camera_capture_resolution() function when you instantiate the Publisher object.
Additional Information
For more information on setting the resolution, see our developer doc for JS, iOS, Android, and Windows.
For considerations to keep in mind when using 1080p resolution, please refer to our developer doc on 1080p resolution.
Comments
0 comments
Please sign in to leave a comment.