Agora-Unreal-SDK icon indicating copy to clipboard operation
Agora-Unreal-SDK copied to clipboard

Where do I begin?

Open SlaggyWolfie opened this issue 3 years ago • 13 comments

I can see some code inside part of the Widgets, but as it is now, at least on the latest commit of the main/master branch, there's no code being executed? Confused about where to start. Any pointers, @zhangtao1104?

SlaggyWolfie avatar May 13 '21 10:05 SlaggyWolfie

You just need to run the demo according to the ReadMe step by step.

https://github.com/AgoraIO-Community/Agora-Unreal-SDK/blob/master/Agora-Unreal-QuickStart/API_Example/README.md

zhangtao1104 avatar May 13 '21 10:05 zhangtao1104

And then you can integrate the Agora Unreal Plugin according to the demo.

zhangtao1104 avatar May 13 '21 10:05 zhangtao1104

So there's no built-in code here to initiate a call like in the older Beta C++ SDK?

SlaggyWolfie avatar May 13 '21 10:05 SlaggyWolfie

Bump

SlaggyWolfie avatar May 18 '21 09:05 SlaggyWolfie

https://github.com/AgoraIO-Community/Agora-Unreal-SDK/blob/master/Agora-Unreal-QuickStart/API_Example/README.md
You can run the demo according to the readme. It contains a video call and a voice call demo. You can run it directly.

zhangtao1104 avatar May 18 '21 09:05 zhangtao1104

https://github.com/AgoraIO-Community/Agora-Unreal-SDK/blob/master/Agora-Unreal-QuickStart/API_Example/README.md You can run the demo according to the readme. It contains a video call and a voice call demo. You can run it directly.

Let's go over your instructions:

  1. Download the project - done
  2. Download the plugin - done
  3. Copy the plugin into the example project - done
  4. change the appid in the .h file - done
  5. Open API_Example.uproject with Unreal Editor 4.25 or above. - Woops, could not be compiled, try rebuilding from source manually.
  6. Okay fine, generate an SLN file - and it's broken.. failed to generate project files

h:\Work\Plugins\Agora-Unreal-SDK-master\Agora-Unreal-QuickStart\API_Example\Plugins\AgoraPlugin\Source\ThirdParty\Agora\Agora.Build.cs(93,4) : warning CS0618: 'UnrealBuildTool.ModuleRules.ReceiptPropertyList.Add(UnrealBuildTool.ReceiptProperty)' is obsolete: 'Constructing a ReceiptProperty object is deprecated. Call ReceiptProperties.Add() with the path to the file to stage.'

agorafail

ToposStudio avatar Dec 28 '21 01:12 ToposStudio

@ToposStudio No problem here. Have you downloaded the most recent SDK ( in your Plugin folder )? https://download.agora.io/sdk/release/Agora_Unreal_SDK_3.5.0.4_video_1101.zip

alexhajdu avatar Dec 28 '21 13:12 alexhajdu

@alexhajdu The most recent plugin seems to be Agora_Unreal_SDK_3.5.0.4_video_1103 not 1101 and yes I have as outlined in the message. The fix was to change the Unreal version to 4.26 and try again.

ToposStudio avatar Dec 31 '21 01:12 ToposStudio

@ToposStudio Where did you find .1103, please? In this repo, there is still a link to .1101. There are too many repos, one loses track really easily. Did .1101 resolved your issue?

alexhajdu avatar Dec 31 '21 13:12 alexhajdu

Ok, I tried to replace https://download.agora.io/sdk/release/Agora_Unreal_SDK_3.5.0.4_video_1103.zip and it worked - however, I didn't notice an official announcement of that build.

alexhajdu avatar Dec 31 '21 13:12 alexhajdu

@ToposStudio Where did you find .1103, please? In this repo, there is still a link to .1101. There are too many repos, one loses track really easily. Did .1101 resolved your issue?

The fix was to change the Unreal version to 4.26 and try again. As I said, clicking the project file and forcing it to change the unreal version fixed whatever issues was going on with it. As for where I got 1103, I honestly don't know. As you said there are so many repos and disorganized references to this plugin it's very hard to keep track of where you find something.

ToposStudio avatar Jan 03 '22 03:01 ToposStudio

@ToposStudio Great, according to my comparison, the only change was made in the ThirdParty\Agora\Agora.Build.cs by adding PublicAdditionalFrameworks in the iOS platform. But I'm glad it helps. Please can you take a look at issue no. #16, please? Is the flickering issue for you as well?

alexhajdu avatar Jan 03 '22 18:01 alexhajdu

I haven't had a chance to test that yet. we did test the blueprint version with a windows build before switching to this and I didn't notice any flickering issue with that version.

ToposStudio avatar Jan 06 '22 07:01 ToposStudio