Skip to main content

livqeno_live 0.2.1 copy "livqeno_live: ^0.2.1" to clipboard
livqeno_live: ^0.2.1 copied to clipboard

Livqeno Live Streaming for Flutter — join a stream as a host or a viewer, with the room and the live chat that come with it. Composes livqeno_rtc and livqeno_chat; adds no media or messaging stack of its own.

example/main.dart

// Join a live stream as host or co-host, or as a viewer.
//
// Host, co-host and viewer credentials are minted per stream, per role, by
// your backend; pass them in as LivqenoLiveStreamCredentials.
import 'package:livqeno_live/livqeno_live.dart';

Future<LivqenoLiveStream> goLive(LivqenoLiveStreamCredentials credentials) async {
  final stream = await LivqenoLiveStream.join(credentials);

  if (stream.isHost) {
    await stream.room.enableCamera();
    await stream.room.enableMicrophone();
  }
  return stream;
}

void main() {
  // ignore: avoid_print
  print('Call goLive() with credentials minted by your backend.');
}
0
likes
150
points
52
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Livqeno Live Streaming for Flutter — join a stream as a host or a viewer, with the room and the live chat that come with it. Composes livqeno_rtc and livqeno_chat; adds no media or messaging stack of its own.

Topics

#live-streaming #streaming #video #webrtc

License

MIT (license)

Dependencies

flutter, livqeno_chat, livqeno_rtc, meta, video_player

More

Packages that depend on livqeno_live