AgoraIO-Community / Agora-Unreal-SDK-Blueprint

Agora Unreal SDK - Blueprint (Beta)
28 stars 19 forks source link

"Bind Events" Not Firing #5

Open kabassmusic opened 3 years ago

kabassmusic commented 3 years ago

This is the THIRD time I have typed this out in a week. I have been transferred by Agora support twice already.

I have setup and prepared the project as the official tutorials have guided me. Unfortunately ALL of the "Bind Event" nodes are not working. Everything else is working. I have even setup "Print String" nodes through everything. My App ID is correct and there are no other issues.

I have even tested this in the demo project as well with no success.

Unreal Engine 4.25

plutoless commented 3 years ago

@kabassmusic sorry for the inconvenience caused. we will release a new version in Jan 15th. it will be a fully tested version and adapted to latest sdk. maybe you can try on that directly.

kabassmusic commented 3 years ago

Okay. Thank you for your quick response. I look forward to the next update. This seems very powerful for what I'm trying to accomplish.

joelthomas362 commented 3 years ago

@kabassmusic Can you please post a picture of the code where your nodes aren't working? Thanks!

kabassmusic commented 3 years ago

I have covered my AppID for protection. When I run this, I get:

GameInstance ChannelJoiner AgoraManager_001 AgoraManager_002 AgoraManager_003

kabassmusic commented 3 years ago

If I do this, then the output properly says "LOCAL". Also, the "Agora Video Setup" node does the same thing and won't fire the "Bind Event" nodes. AgoraManager_004

joelthomas362 commented 3 years ago

From the "Agora Engine" node, type in 'Assign on user joined delegate'. Doing so will create two nodes, the Bind Event and the Callback event to which you plug in the functionality you want. It looks like this: image

kabassmusic commented 3 years ago

Yeah that's how I set it up prior to this conversation. Tried again and I still have the same results. My screenshots just look different to you because I renamed them. But even without renaming, It still occurs.

EDIT: The Echo Test in the demo works with the "On Join Channel Success Delegate". I placed it inside of the "VideoCallWidget_BP" at the end of the "Event Construct" and that's the only time "Join Channel Success" has worked so far. That's a good sign at least.

EDIT 2: When testing the camera, I get Warning codes 8 and 16. But the camera feed is showing up in the preview. I also get this warning when opening the project.

agorawarning

plutoless commented 3 years ago

@kabassmusic sorry for the delay, but we are glad to let you know that we have released our stable community unity sdk version at https://github.com/AgoraIO-Community/Agora-Unreal-SDK/ the delivery is bit late due to some technical issues. we are looking forward to receiving your feedback.

kabassmusic commented 3 years ago

@plutoless

So I have finally gotten around to testing out the new version but it wouldn't open or auto build for me.

Then opened it inside of VS and tried to build it, I got these errors. cant-build

zhangtao1104 commented 3 years ago

I think maybe you didn’t download the new sdk. You need to run the new demo according to the readme.

kabassmusic commented 3 years ago

Ah yeah. That was my fault.

I was doing this in my Downloads folder. It wasn’t allowing me to copy all of the files from the SDK due to file names being too long.

zhangtao1104 commented 3 years ago

I had try the project. I can build it successful. I build it by Unreal 4.26. Your error log is 'Can't open include file ''UVideoTextureObserver.h': No such file or directory. " ?

The UVideoTextureObserver.h is part of the AgoraPlugin, you can try to find it in AgoraPlugin/Source/AgoraPlugin/Public/ UVideoTextureObserver.h.

You can check if you run it as these steps: 1: download AgoraPlugin unzip it and copy it into API_Example/Plugins/. 2: Fill in your appId into the the file API_Example/Source/Agora_Unreal_Video/AgoraController.h. 3: Double click the API_Example.uproject by Unreal.

kabassmusic commented 3 years ago

I got past that error in my last comment. But now I was getting dozens of other errors after doing it properly.

I'm using 4.25.2.

Would I get these extra errors because I didnt fill out the appid?

zhangtao1104 commented 3 years ago

Yes, If you didn't fill in appId, you will get other error, you need to fill in the appId and build it. Can you doneload 4.26 and have a try. I will download 4.25 and have a try.

kabassmusic commented 3 years ago

Okay. Yeah I'll try that out sometime this week and report back here when I'm done.

zhangtao1104 commented 3 years ago

@kabassmusic I had try 4.25.4, I can run successful. I think the reason why you still get error is that you didn't fill in the appId. Y

kabassmusic commented 3 years ago

Alright. After I have entered my appid with quotations, it finally opened in Unreal. Thank you for your help.

Is there any new tutorials for this version?

zhangtao1104 commented 3 years ago

Ok, You need to fill in the right AppId, or you can't run the voice call and video call successful.

https://github.com/AgoraIO-Community/Agora-Unreal-SDK This Project is our newest project, it contains a voice sample and a video sample. We will keep update this project, you just need to follow that project.