opentok / OpenTok-PHP-SDK

OpenTok PHP Server SDK
https://tokbox.com/developer/sdks/php/
MIT License
139 stars 146 forks source link

Added max bitrate and tests #349

Closed SecondeJK closed 1 week ago

SecondeJK commented 1 week ago

This PR adds the ability to add a cap to the bitrate when starting an archive.

Description

You can add maxBitrate within the startArchive() method when adding an options array.

$archive = $openTok->startArchive($sessionId, ['maxBitrate' => 2000000]);

Motivation and Context

Parity with Video APIs

How Has This Been Tested?

StartArchive test has been modified.

Example Output or Screenshots (if appropriate):

Types of changes

Checklist: