bunny_dart 1.1.1 copy "bunny_dart: ^1.1.1" to clipboard
bunny_dart: ^1.1.1 copied to clipboard

Dart wrapper for Bunny.net APIs

(WIP) Dart Wrapper for Bunny.net API

import 'dart:io';
import 'package:bunny_dart/bunny_dart.dart';

const streamKey = 'YOUR_BUNNY_STREAM_KEY';
const libraryId = 12345;

void main() async {
  final bunnyStreamLibrary = BunnyStream(streamKey).library(libraryId);

  final store = BunnyTusFileStore(Directory('tus/fingerprint'));

  final upload = await bunnyStreamLibrary.createVideoWithTusUpload(
    title: 'Video Title',
    videoFile: XFile(customVideoPath),
    store: store,
    maxChunkSize: 512 * 1024,
  );
}

Credit: https://github.com/tomassasovsky/tus_client

1
likes
140
points
68
downloads

Publisher

verified publishermrcrbrth.my.id

Weekly Downloads

Dart wrapper for Bunny.net APIs

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cross_file, crypto, dio, path, speed_test_dart, web

More

Packages that depend on bunny_dart