Table of Contents
Latest Versions – Video SDK
Note: iOS SDK v2.3.3 is compatible with iOS 12 or above
Latest Versions – UI Kit SDK
Latest Versions – Calling UI Framework SDK
How to use Video SDKs?
Web SDK – How to use
- Download the file and keep this in the project folder.
- Add the following tag within
<head>...</head>
of your your html file:<script type=”text/javascript” src=”your_path/EnxRtc.js”></script>
- Start using EnxRtc.
Android SDK – How to use
Read details on SDK usage here…
iOS SDK – How to use
- Install CocoaPods as described in CocoaPods Getting Started.
- In Terminal, go to project directory and run
pod init
- To integrate
SFmeetiOS
into your Xcode project using CocoaPods, specify pod nameSFmeetRTCiOS
. - After adding all required library in PodFile go to terminal and run
pod Install
- Reopen your project in Xcode using the new .xcworkspace file.
Note:
To use iOS SDK, add SFmeetWebRTC
and Socket.IO-Client-Swift(16.1.1) in your project with the following pod names:
pod '
SFmeetWebRTC
'
pod 'Socket.IO-Client-Swift', '~> 16.1.1'
React Native SDK – How to install
The react-native plugin is used to integrate Real Time Communication using Video Platform into react-native application. This plugin exposes all required methods and their event listener to communicate with the platform. You need a valid token to carry out a RTC Session.
- Step 1: Open terminal
- Step 2: Go to your react-native project directory
- Step-3: Run Command
npm install sfm-rtc-react-native — save
- Step 4: Run command to link
react-native-link sfm-rtc-react-native
After installation completed successfully, Import sfm-rtc-react-native
in your class where you want to access the communication feature. e.g.
import {Enx, EnxRoom, EnxStream, EnxSubscribeStream,EnxPlayerView} from "sfm-rtc-react-native";
Flutter SDK – How to use
Steps to follow:
- Create Flutter sample project
- Add
Enx flutter SDK
as a dependency inpubspec.yaml
file - For iOS run command
flutter build ios --no-codesign