Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@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.
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.