onRequestKeyFrame property

FutureOr<void> Function(String streamId, int videoIndex)? onRequestKeyFrame
getter/setter pair

@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> Function(String streamId, int videoIndex)? onRequestKeyFrame;