You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I change my App language from 'EN' to e.g. 'DE' the camera source names are not 'Front camera" and 'Back Camera', but now 'Frontkamera' and 'Rückkamera'.
This will lead to an error like: '[OpenWebRTCNativeHandler] WARNING! Could not find source with name Back Camera'.
Because the source name is in german but expected in english.
So I want to change the ' got_local_sources(GList *sources)' method in 'OpenWebRTCNativeHandler' to use some kind of ID for the camera sources or anything other instead of the localized name string.
How can I achieve that?
Thanks
The text was updated successfully, but these errors were encountered:
There are a few lines where the camera name is hardcoded! So they must be fixed with the localized camera name value.
E.g. at static gchar *expectedCameraName = "Back Camera"; in OpenWebRTCNativeHandler.m.
I did not solved it yet, because there are encoding problems with non-latin characters in the camera name value. So I will try to hash the string do avoid this.
I will still leave this issue open, because this hard coded camera names should still be changed to some kind of ID or cameraPosition value.
Hey,
when I change my App language from 'EN' to e.g. 'DE' the camera source names are not 'Front camera" and 'Back Camera', but now 'Frontkamera' and 'Rückkamera'.
This will lead to an error like: '[OpenWebRTCNativeHandler] WARNING! Could not find source with name Back Camera'.
Because the source name is in german but expected in english.
So I want to change the ' got_local_sources(GList *sources)' method in 'OpenWebRTCNativeHandler' to use some kind of ID for the camera sources or anything other instead of the localized name string.
How can I achieve that?
Thanks
The text was updated successfully, but these errors were encountered: