Replies: 2 comments 2 replies
-
Short update: I'm currently experimenting with writing a pybind11 wrapper around libdatachannel. So far I got the data channel working but I'm still working on the video track. |
Beta Was this translation helpful? Give feedback.
-
@paullouisageneau @mglettig
Some manual overrides are still needed, e.g. because it's not possible to programmatically tell if an argument is optional. Also, some names are a bit awkward, like This is a quick-and-dirty evening boredom-driven development project, so It wraps PeerConnection, DataChannel and apparently some other thing into classes, fills those classes with methods, fields for callbacks, and also wraps getters and setters in Python properties (some demonstrated in the above example). It wraps enums in Python enums, so in callbacks you get enum names, not just numbers. It translates errors in Python Exceptions. |
Beta Was this translation helpful? Give feedback.
-
It would be great to get a Python Wrapper for libdatachannel. Just like the bindings for RUST and Node.js it would be great to have Python bindings.
There is a pure Python library available but transfer performance on resource limited systems is quite poor.
Beta Was this translation helpful? Give feedback.
All reactions