720p Support
In this section, you will get to know how to send, receive and observe 720p video using iOS Client SDK.
Enabling 720p Video Capture
iOS Client SDK offers to capture/send outgoing video in 720p.
Pre-requisites
- Your current video devices must be supported at 720p.
- The sender must have a good WiFi and Internet connection and low CPU usage.
Disclaimer
- If your current video device does not have the exact resolution of 1280x720p, choose the next closest resolution to 720p.
- A switch to a different video device will turn off the 720p support.
- If you need to roll back to 720p and the newly selected video device can do it, call
is720pVideoCaptureEnabledagain when the video device state isVideoDeviceState.Opened.
Use the following code snippet, to enable the 720p video capture.
BlueJeansSDK.VideoDeviceService.VideoDeviceServiceProtocol.set720pVideoCaptureEnabled(_ enabled: Bool)
Use is720pVideoCaptureEnabled observable to track the enablement and disablement of 720p.
BlueJeansSDK.VideoDeviceService.VideoDeviceServiceProtocol(is720pVideoCaptureEnabled: BJNObservable<Bool> { get })
Enabling 720p Video Receive
BlueJeans SDK allows the reception of video in 720p. This depends on the CPU performance and bandwidth.
Use the following code snippet, to enable the 720p video receive.
BlueJeansSDK.VideoDeviceService.VideoDeviceServiceProtocol.set720pVideoReceiveEnabled(_ enabled: Bool)
Use is720pVideoReceiveEnabled observable to track the enablement and disablement of 720p.
BlueJeansSDK.VideoDeviceService.VideoDeviceServiceProtocol(is720pVideoReceiveEnabled: BJNObservable<Bool> { get })
The 720p reception depends on the CPU performance, Browser, and network conditions the resolution of the incoming video feed is split into multiple video configuration buckets that try to provide an immersive experience when 720p reception is not possible. These are the configuration buckets:
- 720p at 30fps
- 720p at 15fps
- 360p at 30 fps
- 360p at 15 fps
- 180p at 30fps
- 180p at 15fps
- 90p at 15fps
The configuration buckets are listed above in descending order; i.e. the 720p bucket at 30 frames per second will be selected if CPU performance and bandwidth are high. As CPU performance and bandwidth usage decrease, the list will continue to go down, and as soon as the CPU usage and the network improve, it will again rise to a higher bucket.