feat: video 수정
This commit is contained in:
parent
8fdda0f6af
commit
b798f04dfc
@ -114,8 +114,8 @@ public class Controller {
|
|||||||
String roomName = lecture.getTitle();
|
String roomName = lecture.getTitle();
|
||||||
String participantName = userService.getUserName(userId);
|
String participantName = userService.getUserName(userId);
|
||||||
AccessToken token = new AccessToken(LIVEKIT_API_KEY, LIVEKIT_API_SECRET);
|
AccessToken token = new AccessToken(LIVEKIT_API_KEY, LIVEKIT_API_SECRET);
|
||||||
token.setName(participantName+randStr);
|
token.setName(participantName);
|
||||||
token.setIdentity(participantName+randStr);
|
token.setIdentity("강사"+randStr);
|
||||||
token.addGrants(new RoomJoin(true), new RoomName(roomName), new RoomCreate(true));
|
token.addGrants(new RoomJoin(true), new RoomName(roomName), new RoomCreate(true));
|
||||||
|
|
||||||
videoSertvice.startOnline(userId, id);
|
videoSertvice.startOnline(userId, id);
|
||||||
@ -133,8 +133,8 @@ public class Controller {
|
|||||||
System.out.println(participantName);
|
System.out.println(participantName);
|
||||||
|
|
||||||
AccessToken token = new AccessToken(LIVEKIT_API_KEY, LIVEKIT_API_SECRET);
|
AccessToken token = new AccessToken(LIVEKIT_API_KEY, LIVEKIT_API_SECRET);
|
||||||
token.setName(participantName+randStr);
|
token.setName(participantName);
|
||||||
token.setIdentity(participantName+randStr);
|
token.setIdentity("학생"+participantName+randStr);
|
||||||
token.addGrants(new RoomJoin(true), new RoomName(roomName));
|
token.addGrants(new RoomJoin(true), new RoomName(roomName));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user