
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@tencentcloud/call-uikit-react-native
Advanced tools
An Open-source Voice & Video Calling UI Component Based on Tencent Cloud Service.
TUICallKit is a UIKit component for audio and video calls developed by Tencent Cloud. By integrating this component, you can easily add video calling functionality to your app with just a few lines of code.
yarn add @tencentcloud/call-uikit-react-native
debug
directory to your project directory src/debug
, it is necessary when generating userSig locally.
# macOS
cp -r node_modules/@tencentcloud/call-uikit-react-native/src/debug ./src
# windows
xcopy node_modules\@tencentcloud\call-uikit-react\src\debug .\src\debug /i /e
SDKAppID and SDKSecretKey
, then fill them in the GenerateTestUserSig-es.js
file.import { TUICallKit, MediaType, TUICallEvent } from "@tencentcloud/call-uikit-react-native";
import { genTestUserSig } from '../../debug/GenerateTestUserSig-es';
const handleLogin = () => {
const userID = 'Alice'
const { SDKAppID, userSig } = genTestUserSig({ userID });
TUICallKit.login(
{
sdkAppId: SDKAppID,
userId: userID,
userSig,
},
(res) => {
console.log('login success', res);
},
(errCode, errMsg) => {
console.log('login error', errCode, errMsg);
}
);
};
const call = () => {
TUICallKit.call(
{
userId: 'denny',
mediaType: MediaType.Video,
},
() => {
console.log('call success');
},
() => {
console.log('call error');
}
);
};
const groupCall = () => {
TUICallKit.groupCall(
{
userIdList: ['mike', 'denny'],
mediaType: MediaType.Video,
groupId: 'xxx',
},
(res) => {
console.log('groupCall success', res);
},
(errCode, errMsg) => {
console.log('groupCall error', errCode, errMsg);
}
);
};
FAQs
An Open-source Voice & Video Calling UI Component Based on Tencent Cloud Service.
The npm package @tencentcloud/call-uikit-react-native receives a total of 7 weekly downloads. As such, @tencentcloud/call-uikit-react-native popularity was classified as not popular.
We found that @tencentcloud/call-uikit-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.