Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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 16 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 16 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.