day len server theo loi Khoi noi, toi xin tuyen bo mien tru trach nhiem
This commit is contained in:
36
src/LiveKit/livekit.room.service.ts
Normal file
36
src/LiveKit/livekit.room.service.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
// import {
|
||||
// Room,
|
||||
// RoomServiceClient,
|
||||
// RoomCompositeOptions,
|
||||
// // @ts-ignore
|
||||
// } from 'livekit-server-sdk'
|
||||
// import { v4 as uuidv4 } from 'uuid'
|
||||
|
||||
// export class LiveKitRoomService {
|
||||
// private roomServiceClient: RoomServiceClient
|
||||
|
||||
// constructor() {
|
||||
// this.roomServiceClient = new RoomServiceClient(
|
||||
// process.env.LIVEKIT_URL as string,
|
||||
// process.env.LIVEKIT_API_KEY as string,
|
||||
// process.env.LIVEKIT_API_SECRET as string,
|
||||
// )
|
||||
// }
|
||||
|
||||
// async createServiceMeetingRoom(chattingRoomId: string) {
|
||||
// const room = await this.roomServiceClient.createRoom({
|
||||
// maxParticipants: 3,
|
||||
// name: chattingRoomId,
|
||||
// })
|
||||
|
||||
// return room
|
||||
// }
|
||||
|
||||
// async createWorkshopMeetingRoom(workshopId: string, maxParticipants: number) {
|
||||
// const room = await this.roomServiceClient.createRoom({
|
||||
// maxParticipants: maxParticipants,
|
||||
// name: workshopId,
|
||||
// })
|
||||
// return room
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user