zego_uikit_prebuilt_live_streaming 3.1.5 copy "zego_uikit_prebuilt_live_streaming: ^3.1.5" to clipboard
zego_uikit_prebuilt_live_streaming: ^3.1.5 copied to clipboard

PrebuiltLiveStreaming is a full-featured live streaming kit that provides realtime video/audio streaming, live text chat, face beautification, and supports unlimited viewers.

example/lib/main.dart

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:zego_uikit_prebuilt_live_streaming/zego_uikit_prebuilt_live_streaming.dart';

/// Here is the simplest demo.
///
/// Please follow the link below to see more details.
/// [Examples](https://github.com/ZEGOCLOUD/zego_uikit_prebuilt_live_streaming_example_flutter)

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  ZegoUIKit().initLog().then((value) {
    runApp(const MyApp());
  });
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Live Streaming Demo',
      home: liveStreamingPage(),
    );
  }

  Widget liveStreamingPage() {
    return ZegoUIKitPrebuiltLiveStreaming(
      appID: your AppID,
      appSign: your AppSign,
      userID: local user id,
      userName: local user name,
      liveID: live id,
      config: true
          ? ZegoUIKitPrebuiltLiveStreamingConfig.host()
          : ZegoUIKitPrebuiltLiveStreamingConfig.audience(),
    );
  }
}
40
likes
0
pub points
93%
popularity

Publisher

verified publisherzegocloud.com

PrebuiltLiveStreaming is a full-featured live streaming kit that provides realtime video/audio streaming, live text chat, face beautification, and supports unlimited viewers.

Homepage
Repository (GitHub)
View/report issues

Topics

#live #livestream #livestreaming #live-streaming #pk

License

unknown (license)

Dependencies

collection, flutter, flutter_styled_toast, permission_handler, statemachine, zego_express_engine, zego_uikit

More

Packages that depend on zego_uikit_prebuilt_live_streaming