English | 简体中文
This project is a desktop/laptop live streaming tool, based on Tencent Real-Timing Communication(TRTC), allowing you to quickly start online live streaming.
- OS supported: Windows 10+.
- Devices: camera, microphone and speaker.
- Running tool: Node.js 18.0.0+.
- Go to the Application management page in the TRTC console, select Create Application, enter an application name such as
TUIKitDemo
, and click Confirm. - Click Application Information on the right of the application, note the
SDKAppID
and key:SDKAppID
: A number in parentheses after 'TUIKitDemo'.SDKSecretKey
: Click Copy SDKSecretKey.
- Clone the repository
git clone https://github.com/Tencent-RTC/ultra-live-electron.git
cd ultra-live-electron
- Login Preparation
- Option 1: Open
src/debug/basic-info-config.js
file, fill in yourSDKAppID
andSDKSecretKey
. The system will automatically login upon startup. Note: This option is only for quick testing. Don't use in production environments. - Option 2: Log in via the login page.
Account Login
: This method requires you to configure your own server-side login URL in the code and is not recommended for initial experience. You need to configure your own server login URL in thesrc/views/Login/Index.vue
file to use this method (This is the best and most secure practice for production environments, whereuserSig
is generated on your server usingSDKAppID
andSDKSecretKey
for login).SecretKey Login
: UseSDKAppID
andSDKSecretKey
to login directly. Note: This option is only for quick testing. Don't use in production environments.UserSig Login
: Login withSDKAppID
and user signatureuserSig
. The user signature can be generated via the Tencent Cloud Console. Note: This option is only for quick testing. Don't use in production environments.
- Run in development mode
npm install
npm run start
- Login to explore and experience
To help you quickly experience, we provide 3 login methods. For first-time experience, we recommend using the SecretKey Login
method.
SecretKey Login
: UseSDKAppID
andSDKSecretKey
to login directly. The fastest way to get started.UserSig Login
: Login withSDKAppID
and user signatureuserSig
. The user signature can be generated via the Tencent Cloud Console.Password Login
: This method requires you to configure your own server-side login URL in the code and is not recommended for initial experience. You need to configure your own server login URL in thesrc/views/Login/Index.vue
file to use this method (This is the best and most secure practice for production environments, whereuserSig
is generated on your server usingSDKAppID
andSDKSecretKey
for login).
The built installation package is in the release
directory.
npm run pack:win64