[*] setBitrate

This commit is contained in:
acgist
2024-04-19 15:16:03 +08:00
parent cd74941a36
commit 1ab550b002
2 changed files with 8 additions and 0 deletions

View File

@@ -37,6 +37,12 @@
* WebRtcAudioRecord
* WebRtcAudioTrack
## 动态修改码率
```
HardwareVideoEncoder#updateBitrate
```
## 学习资料
* https://developer.android.google.cn/docs?hl=zh-cn

View File

@@ -386,6 +386,8 @@ public class Room extends CloseableClient implements RouterCallback {
/**
* 动态设置帧率码率
*
* HardwareVideoEncoder#updateBitrate()
*
* @param maxFramerate 最大帧率
* @param minBitrate 最小码率
* @param maxBitrate 最大码率