Development note --Feiyang
Obsolute: Login process(Please enlarge the image.)
https://i.gyazo.com/8597b27558932cbc7fb9a722a2fd4504.png
To develop the server on Windows, you need to manually download mediasoup by running "yarn add mediasoup@3"
Note that the way Windows handles paths is different from Linux, so you need to change the import path in googleserver.js.
from: const config = require('../../config')
config ?? console.error('GoogleServer.ts failed to load config from "../../config"')
const configGDrive = require(../../${config.googleOAuth2Config})
configGDrive ?? console.error('GoogleServer.ts failed to load configGDrive from "../../${config.googleOAuth2Config}"')
to: const config = require('../../config');
const configGDrive = require(config.googleOAuth2Config);
google Auth2
credentials.json should not be save in Github.
Login File
Login File should not be save in Github
Room names ending with '*' can accept all suffix.
Admin
Only rooms that require OAuth for login can designate an admin.
Only the admin can access the admin settings panel located in the right corner.
The admin must click the information test to activate all admin functions.(needs to fix)
Not yet implemented: Upload file to google drive.
you can upload image files to google drive.
The Google Drive folder ID can be configured in GoogleServer.ts on line 111. However, it is recommended to place the folder ID in credentials.json for better organization.
folder ID needs to be update.