updated flow, room & participant id created by server

This commit is contained in:
David Zhao
2020-11-28 00:18:34 -08:00
parent bd667cfe39
commit bea1a87cb8
24 changed files with 675 additions and 624 deletions
+1 -5
View File
@@ -17,7 +17,6 @@ var (
Before: createClient,
Action: createRoom,
Flags: []cli.Flag{
roomFlag,
roomHostFlag,
},
},
@@ -51,10 +50,7 @@ func createClient(c *cli.Context) error {
}
func createRoom(c *cli.Context) error {
roomId := c.String("room-id")
room, err := roomClient.CreateRoom(context.Background(), &livekit.CreateRoomRequest{
RoomId: roomId,
})
room, err := roomClient.CreateRoom(context.Background(), &livekit.CreateRoomRequest{})
if err != nil {
return err
}