VideoUIKit-Flutter
VideoUIKit-Flutter copied to clipboard
[BUG] Incorrect NSStringEncoding value 0x8000100 detected
Describe the bug
A log keep repeating as long as the user in video call by AgoraVideoViewer:
Incorrect NSStringEncoding value 0x8000100 detected. Assuming NSASCIIStringEncoding. Will stop this compatibility mapping behavior in the near future.hen calling
To Reproduce Steps to reproduce the behavior: Calling any screen contain
AgoraVideoViewer(
enableHostControls: true,
client: videoController.client.value,
layoutType: Layout.floating,
)
Expected behavior No logs about Incorrect NSStringEncoding value 0x8000100 detected..
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6] iPhone 14 Pro max - iPhone XS Max
- OS: [e.g. iOS8.1] iOS 16.3

Additional context the logs stops when I close the video screen.
It's causing the video call to keep working even if I close the screen or restart the app.

I just tried to use agora_rtc_engine: ^6.1.0 but the same issue persists. It seems that the issue came from agora_rtc_engine.
Yes, this log is coming from the agora_rtc_engine
we're working with the team to remove that log from being printed. As far as I know the log output doesn't affect functionality.
You mentioned the video keeps working if you close it or restart the app. That's not because of this log, it is because when you do those actions the endCall
is not being called. If you close the app, the video call will end after some timeout. If you are hot reloading you might see multiple users. If you end up releasing this application, people of course won't be hot reloading so you won't have that problem in production.
Yes, this log is coming from the
agora_rtc_engine
we're working with the team to remove that log from being printed. As far as I know the log output doesn't affect functionality.You mentioned the video keeps working if you close it or restart the app. That's not because of this log, it is because when you do those actions the
endCall
is not being called. If you close the app, the video call will end after some timeout. If you are hot reloading you might see multiple users. If you end up releasing this application, people of course won't be hot reloading so you won't have that problem in production.
@tadaspetra tadaspetra Thank you for your response. Regarding ending the call, I am using "engine.leaveChannel()" and it appears that there are still multiple users 'local users' and the microphone is still working after rejoining the Video call. Is this the proper way to quit the call, or do you have any advice?
Sorry for the late reply. I must have missed the notification. But with the agora_uikit
you don't need to call the .leaveChannel()
method, because that is all handled within the package.
The agora_rtc_engine
package make sure you call the release()
method too, but it should not be possible to have multiple local users. Only possible if you didn't leave the channel properly, and then rejoined