Is WebRTC api browser only?

Hello,

we’re trying to retreive the camera lives and after succeeding doing so with the sdk we figured out that this won’t be enough especially for the need to feed it milestone user credentials to work and the the legacy dependecies that would imply on our software so impossible to cross plateform.

WebRTC seemed like the perfect alternative and we had high hopes after the javascript example on the github worked but we just can NOT make it right on unity3D as we manage to connect, post and even start the webrtc connection getting that sdp but we just receive one track (frame) and then silence radio forever. no error and no log to say something is wrong.

So this might not be related to xprotect but i really wish to ask you this question since ik webrtc is way too easy in javascript as it has buildin functions that do all the heavy lifting and seems to do some polling and synchronization.

i used webrtc libraries with unity that seems to have features for video streams but always the same issue.

Thanks in advance.

Making a WebRTC sample in a browser makes a lot of sense because the browser has built-in functionality to decode a h264 stream and render it. If you develop a desktop application you do not have the built-in functionality to decode and render the video. There are many open source libraries that could help achieve decoding and rendering of the video.

Regarding Unity, we believe it should work. However, please be aware that neither the team responsible for developing the Milestone WebRTC functionality nor Milestone Support has experience with Unity. Therefore, we will not be able to assist with troubleshooting.