flutter_webrtc 0.2.6 copy "flutter_webrtc: ^0.2.6" to clipboard
flutter_webrtc: ^0.2.6 copied to clipboard

outdated

Flutter WebRTC plugin for iOS/Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_webrtc

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_webrtc: ^0.2.6

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_webrtc/enums.dart';
import 'package:flutter_webrtc/get_user_media.dart';
import 'package:flutter_webrtc/media_recorder.dart';
import 'package:flutter_webrtc/media_stream.dart';
import 'package:flutter_webrtc/media_stream_track.dart';
import 'package:flutter_webrtc/rtc_data_channel.dart';
import 'package:flutter_webrtc/rtc_dtmf_sender.dart';
import 'package:flutter_webrtc/rtc_ice_candidate.dart';
import 'package:flutter_webrtc/rtc_peerconnection.dart';
import 'package:flutter_webrtc/rtc_peerconnection_factory.dart';
import 'package:flutter_webrtc/rtc_session_description.dart';
import 'package:flutter_webrtc/rtc_stats_report.dart';
import 'package:flutter_webrtc/rtc_video_view.dart';
import 'package:flutter_webrtc/utils.dart';
import 'package:flutter_webrtc/web/get_user_media.dart';
import 'package:flutter_webrtc/web/media_recorder.dart';
import 'package:flutter_webrtc/web/media_stream.dart';
import 'package:flutter_webrtc/web/media_stream_track.dart';
import 'package:flutter_webrtc/web/rtc_data_channel.dart';
import 'package:flutter_webrtc/web/rtc_ice_candidate.dart';
import 'package:flutter_webrtc/web/rtc_peerconnection.dart';
import 'package:flutter_webrtc/web/rtc_peerconnection_factory.dart';
import 'package:flutter_webrtc/web/rtc_session_description.dart';
import 'package:flutter_webrtc/web/rtc_video_view.dart';
import 'package:flutter_webrtc/web/utils.dart';
import 'package:flutter_webrtc/webrtc.dart';