stream_player_push_encoded_packet function

  1. @Native<Int Function(Pointer<StreamPlayer>, Pointer<Void>, Int)>(ffi.Pointer<StreamPlayer>, ffi.Pointer<ffi.Void>, ffi.Int)>()
int stream_player_push_encoded_packet(
  1. Pointer<StreamPlayer> sp,
  2. Pointer<Void> packet,
  3. int packetBytes
)

Implementation

@ffi.Native<
    ffi.Int Function(
        ffi.Pointer<StreamPlayer>, ffi.Pointer<ffi.Void>, ffi.Int)>()
external int stream_player_push_encoded_packet(
  ffi.Pointer<StreamPlayer> sp,
  ffi.Pointer<ffi.Void> packet,
  int packetBytes,
);