-
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
Errors after leaving video call and joining again #38
Comments
You need to destroy the VideoSurface which you renderer the videoframe before. You need to confirm that the Gameobject which you renderer the Video does not contain the texutre . |
this is what is being called after above code. |
To solve this here, I did the steps below:
I hope it helps anyone that was getting the same error. |
Getting this errors after leaving existing video call and any of the client leaves and try to join again.
Below is Leave function called on ui click.
public void Leave() { if (mRtcEngine == null) return; mRtcEngine.LeaveChannel(); mRtcEngine.DisableVideoObserver(); }
This is the error logged every frame.
"You didn't initialize native texture, please remove native texture and initialize it by agora.
UnityEngine.Debug:LogError (object)
agora_gaming_rtc.VideoSurface:Update () (at Assets/AgoraEngine/Scripts/AgoraGamingSDK/videoRender/VideoSurface.cs:148)"
The text was updated successfully, but these errors were encountered: