codec_runtime_push_packet function

  1. @Native<Int Function(Pointer<CodecRuntime>, Pointer<Uint8>, Int, Pointer<StreamPlayer>)>(ffi.Pointer<CodecRuntime>, ffi.Pointer<ffi.Uint8>, ffi.Int, ffi.Pointer<StreamPlayer>)>()
int codec_runtime_push_packet(
  1. Pointer<CodecRuntime> rt,
  2. Pointer<Uint8> packet,
  3. int len,
  4. Pointer<StreamPlayer> player,
)

Implementation

@ffi.Native<
    ffi.Int Function(ffi.Pointer<CodecRuntime>, ffi.Pointer<ffi.Uint8>, ffi.Int,
        ffi.Pointer<StreamPlayer>)>()
external int codec_runtime_push_packet(
  ffi.Pointer<CodecRuntime> rt,
  ffi.Pointer<ffi.Uint8> packet,
  int len,
  ffi.Pointer<StreamPlayer> player,
);