Starting with our 2.7.0 mobile SDK release, you can start a publisher with pre-determined video resolution and frames per seconds (fps). Before using the API, you should be aware of the following:
- Though HD video sounds like a good idea at first, from a practical standpoint you may run into issues with device CPU load on low to medium range devices. You may also be limited by the user’s available bandwidth. Lastly, data charges for your users could run high.
- Available on the device. The actual empirical values for these parameters will vary based on the specific device. Your selection can be seen as a maximum for the resolution and frame rate you are willing to publish.
- Automatically adjusted based on various parameters like a user’s packet loss, CPU utilization, and network bandwidth/bit-rate. Rather than attempting to do this dynamically on your own, we recommend picking meaningful values and allowing OpenTok to handle the fine tuning.
- Bandwidth, set your publisher video type property to “screen” instead of the default “camera” value.