plutoless / eEducation

e-education solutions(Agora Reference Design)
184 stars 124 forks source link

Unable to see video when join as teacher #125

Closed Aditya-Bailey closed 4 years ago

plutoless commented 4 years ago

maybe provide a screenshot?

edumaenglish commented 4 years ago

done

Aditya-Bailey commented 4 years ago

Screen Shot 2020-05-04 at 11 25 22 PM

Aditya-Bailey commented 4 years ago

Hi edumaenglish can you help me. I am not getting video.

Aditya-Bailey commented 4 years ago

maybe provide a screenshot?

I have added the screenshot

edumaenglish commented 4 years ago

Add me on Skype urkyfight2

Aditya-Bailey commented 4 years ago

Add me on Skype urkyfight2

would you?

plutoless commented 4 years ago

@Aditya-Bailey the error is saying you have enabled token feature while not providing it. if you want to quickly start running it you can temporarily disable token feature or simple create a new project under your current account.

Aditya-Bailey commented 4 years ago

@plutoless I want to run it using generated rtc and rtm tokens. Although the rtc-rtm tokens , that I am generating and using , are letting me login but I cannot see the video. Also, I am only able to login when I create rtmToken https://github.com/AgoraIO/Tools/blob/master/DynamicKey/AgoraDynamicKey/nodejs/sample/RtmTokenBuilderSample.js using account I need to modify the code in https://github.com/AgoraIO-Usecase/eEducation/blob/master/education_web/src/stores/room.ts (const { roomType, role, uid, rid, rtmToken } = payload; console.log("payload: ", payload); let result = { permitted: true, reason: '' }; await this.rtmClient.login(uid, rtmToken);) -------- to ---------- const { roomType, role, uid,roomName, rid, rtmToken } = payload; console.log("payload: ", payload); let result = { permitted: true, reason: '' }; await this.rtmClient.login(roomName, rtmToken);