Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ient into develop
  • Loading branch information
vydndrl committed Nov 1, 2024
2 parents 3eeecd2 + 4b3e0cf commit ee6a846
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/live/live/LiveSession.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,12 @@ export default {
});
// 백엔드에서 토큰 받아와서 세션에 연결
const token = await this.getToken(sessionId);
let token = await this.getToken(sessionId);
console.log(">>>>>받은 토큰 확인 : ", token);
// Change ws:// to wss:// if needed
if (token.startsWith("ws://")) {
token = token.replace("ws://", "wss://");
}
this.session.connect(token, { clientData: this.myUserName }).then(() => {
console.log("i>>>>>sPublisher: ", this.isPublisher);
if (this.isPublisher) {
Expand Down

0 comments on commit ee6a846

Please sign in to comment.