simplewebrtc_flutter_webrtc_shim 0.2.11 simplewebrtc_flutter_webrtc_shim: ^0.2.11 copied to clipboard
Flutter WebRTC plugin for iOS/Android.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simplewebrtc_flutter_webrtc_shim
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simplewebrtc_flutter_webrtc_shim: ^0.2.11
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:simplewebrtc_flutter_webrtc_shim/enums.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/get_user_media.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/media_recorder.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/media_stream.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/media_stream_track.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_data_channel.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_dtmf_sender.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_ice_candidate.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_peerconnection.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_peerconnection_factory.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_session_description.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_stats_report.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/rtc_video_view.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/utils.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/get_user_media.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/media_recorder.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/media_stream.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/media_stream_track.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/rtc_data_channel.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/rtc_ice_candidate.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/rtc_peerconnection.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/rtc_peerconnection_factory.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/rtc_session_description.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/rtc_video_view.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/web/utils.dart';
import 'package:simplewebrtc_flutter_webrtc_shim/webrtc.dart';