[META] Implement chunked transport for WebRTC DataChannel / Image Clipboards #74
Labels
enhancement
New feature or request
help wanted
External contribution is required
transport
Underlying media or data transport protocols
web
Web components including gst-web
The issue #43 has been patched by #73, but the core issue is that there is no graceful handling for a DataChannel message which is above the size of 65535 bytes.
Therefore, it would be VERY useful to implement chunked messages for DataChannels, as the benefit can be applicable to any workload which can use DataChannel messages between the client and server using WebRTC.
If implemented, remove the restrictions placed by:
selkies-gstreamer/src/selkies_gstreamer/gstwebrtc_app.py
Line 758 in 1f2070b
Moreover, more diverse formats of clipboards (including images) can be supported, but is not practical unless chunked DataChannels are implemented.
xclip
provides this capability explicitly but has been sidelined in favor toxsel
because of a long-standing bug. It should be manually parsed to base64 with the image type and reconstruct it in either side.The text was updated successfully, but these errors were encountered: