webrtc_full_wrapper 0.0.2 webrtc_full_wrapper: ^0.0.2 copied to clipboard
Better then Ever Webrtc wrapper <works on Proxies as we used Socket.io> with Signalling Server in Nodejs having Source code gives a Good feel of Complete Video Audio Chat Application.
How to install #
Please Do the Respected
flutter pub add webrtc_full_wrapper
After this
Steps #
import 'package:webrtc_full_wrapper/webrtc_full_wrapper.dart';
# Important INFO
Please check your
socket.io-client-dart and server version i prefer nullsafety #
Port of awesome JavaScript Node.js library - Socket.io-client v2.0.1~v3.0.3 - in Dart
Version info: #
socket.io-client-dart | Socket.io Server |
---|---|
v0.9.* ~ v1.* |
v2.* |
v2.* |
v3.* & v4.* |
Usage #
Add full_webrtc_wrapper
as a dependency in your pubspec.yaml file.
iOS #
Add the following entry to your Info.plist file, located in <project root>/ios/Runner/Info.plist
:
<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) Camera Usage!</string>
<key>NSMicrophoneUsageDescription</key>
<string>$(PRODUCT_NAME) Microphone Usage!</string>
This entry allows your app to access camera and microphone.
Android #
Ensure the following permission is present in your Android Manifest file, located in <project root>/android/app/src/main/AndroidManifest.xml
:
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
If you need to use a Bluetooth device, please add:
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
The Flutter project template adds it, so it may already be there.
Also you will need to set your build settings to Java 8, because official WebRTC jar now uses static methods in EglBase
interface. Just add this to your app level build.gradle
:
android {
//...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
If necessary, in the same build.gradle
you will need to increase minSdkVersion
of defaultConfig
up to 23
(currently default Flutter generator set it to 16
).
Important reminder #
When you compile the release apk, you need to add the following operations,
Setup Proguard Rules
NEVER FORGET ADDING PROGUARD RULE FILE AND REQUIRED PERMISSIONS(Android, IOS ....etc) FOR RELATED (DEPENDENT) library
For API References for Better Understanding Head to Github
Preview #
|>
How to Use #
For detailed Info visit Github or Try Watching Youtube Videos
For more help join our
Features #
- Awesome Backend Freely Provided (Licensed)
- WebRTC Used
- Fast ,Simple,Easy to Integrate.
- Chat with socket.io
- Fully customizable
- can be used over Proxies unlike websocket because it uses socket.io
...and many More
Node Server code #
Please visit Github
Flutter App Source Code #
Please visit Github
React App Source Code #
Please visit Github
Tutorials #
Examples #
--MeetX app
--Antinna App
So on...
Articles #
Belongs/Owner #
-- Meetx video app Owner is the Real Owner for This not Me a Great Thanks to Him.
Then who Am I #
Please Visit my Github Account and Subscribe My for such more Important Updates .
Features and bugs #
BETTER THEN WEBSOCKET because it uses SOCKET.IO ---FEATURE
Please file feature requests and bugs at the issue tracker.
Additional information #
YOU CAN US.
if you found our services helpful
DM FOR UPI
project root directories
|-- CHANGELOG.md
|-- LICENSE
|-- README.md
|-- analysis_options.yaml
|-- lib
| |-- sdk
| | |-- connection.dart
| | |-- meeting.dart
| | |-- message_format.dart
| | |-- message_payload.dart
| | |-- payload_data.dart
| | |-- peer_connection.dart
| | '-- transport.dart
| '-- webrtc_full_wrapper.dart
|-- pubspec.yaml
'-- test
'-- webrtc_full_wrapper_test.dart