Please feel free to ask questions and sugfgestions about WebRTC packge.
Does renderstream + WebRTC support adaptive bitrate streaming (e.g. for wireless networks)? Or does the server just set the bitrate according to the rates reported by the clientâs browser?
Do you have any recommendations when streaming to a mobile phone over 4G/5G ?
FYI
How do I compile WebRTC native code into dynamic shared library file that can be used by the WebRTC unity package?
The end-to-end latency provided by default WebRTC is as high as 150-200 ms even with when network latency is <5 ms. I am making changes to WebRTC native code to reduce latency. I wanted to know what is the correct way to compile webRTC to be used as a plugin in the WebRTC package.
I see a unityplugin folder in the webrtc codebase, but no instructions on how to compile. Only Android instructions are present, but running ninja -C out/Default webrtc_unity_plugin doesnât work. (ninja: error: unknown target âwebrtc_unity_pluginâ)
Have you checked it?
Hi~
- Developing desktop programs using Unity (using Unity WebRTC)
- Developing apps with android studio (using google webrtc)
(Not building Android with Unity)
Are Unity WebRTC and Google webrtc connected?
Is there a Unity WebRTC library that I can use in Android studio?
Are Unity WebRTC and Google webrtc connected?
Yes.
Is there a Unity WebRTC library that I can use in Android studio?
Could you tell me more detail?
Hey.
Just getting started with Unityâs WebRTC package and Iâm curious about the GC allocation/performance impact.
Iâm planning on using Data Channels pretty heavily to send messages (sending/receiving upwards of 120 small msg per second) and since this plugin seems to provide a fresh byte[ ] buffer on every OnMessage call I wondered how thatâs allocated/how that would impact perf.
@mcfadyeni
You are right.
We havenât implemented the API for optimized method for receiving message from DataChannel.
We will add the task for the issue. Thank you!
Hi~
I am using webRTC 3.0.0-pre.3.
The offerToReceiveAudio option cannot be set to false because the RTCOOfferOptions function has been removed.
Is there any way to change the offerToReceiveAudio option?
Hi, offerToReceiveAudio option is deprecated in Web API.
This article might be helped you to understand.
Hi,
Can I use WebRTC to make a unity mobile app with video chat and play games with friends, and the app will have multiple small games, to play.
Waiting for an answer.
Thanks.
It is technically possible, what kind of issue do you have?
I am having an issue with the signaling using websocketsSharp, canât seem to configure it, any suggestions for free web-socket servers that I can use to make a handshake between 2 separate devices? currently using googleâs STUN server in RTCIceserver.
p.s: pardons if I made any mistakes there I am still a newbie.
First, please try the sample below.
If you have any problems with it, please post again.
https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/sample-bidirectional.html
I have some problems about the following code:
RTCIceServer[ ] iceServers = settings.iceServers.OfType().ToArray();
I opened debug and found that setting.iceServers has a value, but when assigned to RTCIceServer[ ] iceServers, the return array is empty.
This makes me very confused.
Did I miss something?
I am using 3.1.0-exp.6
I assume that iceServers defines as âIReadOnlyCollectionâ, so you need to get as a âIceServerâ collection.
Thanks, but I still have some questions about this.
Iâm trying to run it on the cloud, so I filled in the stun/turn configuration in renderstreaming setting.Verified with Trickle ICE, the stun/turn server is usable. But the RtcpeerConnection failed.
Then I found out that Unity on the cloud did not connect to the stun/turn server and only sent local same LAN icecandidate.
Then I encountered the problem mentioned above.
What else do I need to do?
You mean that there might be bugs in implementations about ice servers, right?
We need to check the issue.
Please tell me which version of Unity Render Streaming.
And I would like to see the screenshot of the project settings window which you set ICE parameters.
