UnityRenderStreaming
UnityRenderStreaming copied to clipboard
Send and Receive data (text/bin) Example or Documentation
I would like to add the send and receive data to the Bidirectional example, but I do not know how to go about it.
I have looked at the Receiver example, which uses ‘InputSystemChannelSender’. There is an ‘InputSystemChannelReceiver’ as well. When I run Bidirectional and Receiver, the Receiver is logging ‘InvalidOperationException: DataChannel is not open’, but it is receiving the video stream. When I restart the Receiver by clicking the stop then start, no video stream and it is logging ‘1: This connection id is not ready other session.’. If I restart the Bidirectional, then it works.
How do I prevent the Receiver from stopping the webserver connection id, so it can re-join the session? Could you please guide me with these two issues? Thanks,
I got the similar question. It looks like related to WebRTC DataChannel but it is definitely tricky to figure out how to work with RenderStreaming.
memo: URS-351