renderVideo method

double renderVideo({
  1. Object? vid,
})

Draw the current video frame and return frame timestamp in seconds. Usually NOT used in dart.

Implementation

double renderVideo({Object? vid}) => _player.ref.renderVideo
        .asFunction<double Function(Pointer<mdkPlayer>, Pointer<Void>)>()(
    _player.ref.object, Pointer.fromAddress(vid.hashCode));