UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

Send and Receive data (text/bin) Example or Documentation

Open Eelam opened this issue 4 years ago • 2 comments

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,

Eelam avatar Mar 10 '21 16:03 Eelam

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.

robinzhx avatar Aug 28 '21 00:08 robinzhx

memo: URS-351

karasusan avatar Nov 09 '21 02:11 karasusan