requestRemoteVideoKeyFrame method

FutureOr<int> requestRemoteVideoKeyFrame(
  1. String streamId
)

@detail api @brief After subscribing to the remote video stream, request the keyframe @param streamId Remote stream ID. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details @note - This method is only suitable for manual subscription mode and is used after successful subscription to the remote flow. - This method is suitable for calling setVideoDecoderConfig{@link #RTCEngine#setVideoDecoderConfig} to turn on the custom decoding function, and the custom decoding fails

Implementation

FutureOr<int> requestRemoteVideoKeyFrame(String streamId) async {
  return await nativeCall('requestRemoteVideoKeyFrame', [streamId]);
}