-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DllNotFoundException: agoraSdkCWrapper #6
Comments
Have you put the sdk plugin into the demo ? @kkarannn |
Hii I have done it like this but still getting error @zhangtao1104 |
You need to build the project and run the demo in android phone or iphone. |
this will not work in Edit even though I have attached the WEBCAM? |
And how do I play the video on Raw Image or on Image instead of the cube? Thanks. |
Yes , because you do not put the win plugin into the demo. If you want to get the win plugin ,you can contact our customer support. This is our Official website. https://www.agora.io/cn/ |
You can read the source code in VideoSurface.cs.The only thing you need to do is attach the Texture2D to the gameObject which you want to render the video. |
Thanks man!!! |
Okay Thanks!! |
It is all right. |
@zhangtao1104 Executed it in phone still not able to see the video !!!! |
@vinayak-vc did the solution work ?? given by @zhangtao1104 @vinayak-vc i don't see your comment that it is solved. |
Ok, please wait a minute, I will help you ,it will work well. |
https://docs.agora.io/en/Interactive%20Gaming/game_unity_android_video?platform=Unity_(Android) Please run the demo according to the quickStart guide. @GreenArrowRepo |
@zhangtao1104 I have agoraSdkCWrapper from the sdk plugin from assetstore. Still getting DllNotFoundException: agoraSdkCWrapper error on PC and video not working on mobile. Where do i have to place it in the project? |
Do you have x86 and x86_64 plugin in your project? This is for windows, Please confirm it. |
You can integrate according to readme's instructions, which are explained in great detail |
Got it working!! Thanks. |
You can call setExternalVideoSource first. It allows you to capture your own video frames and stop the SDK's camera capture. Then you need to call pushExternalVideoFrame every video frame to push your own video frame to agora sdk. |
You can integrate this according to our offical documents,it will help you a lot. |
@zhangtao1104 Hello, I was able to solve the issue. |
I have set video profile to 'command mode' and client role as 'broadcaster'. What i want to do is that the broadcaster and the audience should be able to draw on screen using a color pencil and all should be able to see in real time. Is is possible in agora unity sdk ? Check this video for more clarity. Please revert when you see this. |
For agora, i think this question is that wheather agora unity video sdk can transfer the data stream, right? |
Yes @zhangtao1104 correct. |
Yes, agora video sdk can transfer data stream, you can see the api named createDataStream and sendStreamMessage. |
Ok Thanks @zhangtao1104 i will look into that !!! |
Hi @zhangtao1104 i could not find the createDataStream api in unity API |
The api named CreateDataStream , SendStreamMessage.Please find again,there should be these apis. @GreenArrowRepo |
I've got video calling working on android on a custom video plane with videosurface.cs on it. Please Help me figure out how to enable video connection between iOS devices. |
onUserJoined is not called when another user joins.. |
I can't even get the callback OnJoinChannelSuccess called. It is so frustrating... |
Is there some error log output in console when you joinChannel? If it is not,
Do you input your appId in SceneHome.unity?
…------------------ 原始邮件 ------------------
发件人: "AgoraIO/Video-Call-for-Mobile-Gaming" <[email protected]>;
发送时间: 2020年9月11日(星期五) 中午11:29
收件人: "AgoraIO/Video-Call-for-Mobile-Gaming"<[email protected]>;
抄送: "White"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [AgoraIO/Video-Call-for-Mobile-Gaming] DllNotFoundException: agoraSdkCWrapper (#6)
onUserJoined is not called when another user joins..
I can't even get the callback OnJoinChannelSuccess called. It is so frustrating...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@zhangtao1104 I managed to figure it out, for some reason the first appId copied from Agora dashboard was not working. I had to create a new project with a new AppId and use the new one. Now I can play the demo scene with no issues. thank you! |
I think you open the encryption on the first appId, so it was not working.
If you open the encryption on the appId, you need to joinChannel with token, otherwise you joinChannel fail.
You can search the document of token in agora website.
…------------------ 原始邮件 ------------------
发件人: "AgoraIO/Video-Call-for-Mobile-Gaming" <[email protected]>;
发送时间: 2020年9月11日(星期五) 中午12:58
收件人: "AgoraIO/Video-Call-for-Mobile-Gaming"<[email protected]>;
抄送: "White"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [AgoraIO/Video-Call-for-Mobile-Gaming] DllNotFoundException: agoraSdkCWrapper (#6)
@zhangtao1104 I managed to figure it out, for some reason the first appId copied from Agora dashboard was not working. I had to create a new project with a new AppId and use the new one. Now I can play the demo scene with no issues.
thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you for the clarification @zhangtao1104 I'll keep that in mind |
//On pressing join button this shows up.
DllNotFoundException: agoraSdkCWrapper
agora_gaming_rtc.IRtcEngine..ctor (System.String appId) (at Assets/Scripts/AgoraGamingSDK/AgoraGamingRtcEngine.cs:340)
agora_gaming_rtc.IRtcEngine.GetEngine (System.String appId) (at Assets/Scripts/AgoraGamingSDK/AgoraGamingRtcEngine.cs:1237)
agora_gaming_rtc.IRtcEngine.getEngine (System.String appId) (at Assets/Scripts/AgoraGamingSDK/AgoraGamingRtcEngine.cs:1245)
TestHelloUnityVideo.loadEngine () (at Assets/TestHelloUnityVideo.cs:30)
TestHome.onJoinButtonClicked () (at Assets/TestHome.cs:43)
TestHome.onButtonClicked () (at Assets/TestHome.cs:64)
UnityEngine.Events.InvokableCall.Invoke () (at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:166)
UnityEngine.Events.UnityEvent.Invoke () (at C:/buildslave/unity/build/Runtime/Export/UnityEvent_0.cs:58)
UnityEngine.UI.Button.Press () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:36)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:45)
UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:261)
UnityEngine.EventSystems.EventSystem:Update()
//clicking once again it starts hello scene but on phone it crashes on first click
The text was updated successfully, but these errors were encountered: