onRequestKeyFrame method
@detail callback @author wangzhanqiang @brief This callback is used to inform the stream publisher that a keyframe needs to be regenerated. @param streamId Remote encoded stream ID @param streamInfo Remote encoded stream property @param videoIndex Subscript of the corresponding encoded stream
Implementation
FutureOr<void> onRequestKeyFrame(
String streamId, StreamInfo streamInfo, int videoIndex) async {}