Add a possibility to catch webrtc ice connection process errors and more #9599
Replies: 6 comments
-
Moving to discussion, as there is no concrete technical implementation provided. |
Beta Was this translation helpful? Give feedback.
-
Hi, by all means im probably out of your league on those c++ libraries + gdscript combo. But i tried a simple python example which show what i'd expect (ouioui(0)) and what i actually get (ouioui(1)). And i think this is because you already catch errors in webrtc, but there is no cascada. (ouioui(2))
|
Beta Was this translation helpful? Give feedback.
-
just a quick explanation here call to functions with main.py
where is emulated the call to webrtc lib is Untitled3.py
Error can be catched if reraised as shown in Untitled2 my crew
And we're done |
Beta Was this translation helpful? Give feedback.
-
Usually, THAT is the output we get: try 1:
try 2:
(not really indeed) try 3:
There we go ! |
Beta Was this translation helpful? Give feedback.
-
Describe the project you are working on
A P2P contact system where the user is able to select his own ice server
Describe the problem or limitation you are having in your project
i can't catch any error ice related, as described here godotengine/webrtc-native#145
Describe the feature / enhancement and how it helps to overcome the problem or limitation
If i could catch those errors, i could display them on ui and it would greatly help for both UI and DEVELOPMENT purposes
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
its just a try{} catch(e) {} or except() system to not let the error crash the system and be able to display it instead
If this enhancement will not be used often, can it be worked around with a few lines of script?
not sure about that at all
Is there a reason why this should be core and not an add-on in the asset library?
i dont knwo about that thats why i have opened both issues godotengine/webrtc-native#145 godotengine/godot#84645
Beta Was this translation helpful? Give feedback.
All reactions