onRateUpdate method
FutureOr<void>
onRateUpdate(
- String streamId,
- StreamInfo streamInfo,
- int videoIndex,
- int fps,
- int bitrateKbps,
@detail callback @author wangzhanqiang @brief When the frame rate or bit rate of a custom encoded stream changes, the callback is triggered @param streamId The ID of the encoded stream that changes @param streamInfo The properties of the encoded stream that changes @param videoIndex The subscript of the corresponding encoded stream @param fps The frame rate after the change, the unit: fps @param bitrateKbps The code rate after the change, the unit: kbps
Implementation
FutureOr<void> onRateUpdate(String streamId, StreamInfo streamInfo,
int videoIndex, int fps, int bitrateKbps) async {}