com.unity.webrtc icon indicating copy to clipboard operation
com.unity.webrtc copied to clipboard

Windows UWP ARM64 support

Open michael-house opened this issue 5 years ago • 41 comments

As Unity itself is very inclusive of multiple platforms and architectures, ideally this plugin would be similarly inclusive.

Specifically, I'd like to use this package on an IL2CPP UWP ARM build, targeting the HoloLens 2.

I do see work on IL2CPP, but nothing for ARM. It's certainly possible as there are other efforts with this goal: https://webrtc-uwp.github.io/.

michael-house avatar Sep 26 '19 22:09 michael-house

I understand your needs. Our team will discuss ARM support in the near future.

karasusan avatar Sep 30 '19 03:09 karasusan

I think other platforms like WebGL can gain support too.

The original WebRTC Implementation comes from browser so, i think, it is possible to add this kind of support without huge efforts.

rafcsoares avatar May 26 '20 18:05 rafcsoares

@rafcsoares Yes, I'm agree that WebGL support can be really helpful for voice/video chat communication for web games/applications.

Are any efforts in this field?

Thanks!

Juanmaramon avatar Jun 18 '20 11:06 Juanmaramon

There is the priority order of the supporting platform. We will develop them in this order. Do you have any ideas?

  1. iOS
  2. Android
  3. Windows ARM64 (for Hololens2)
  4. WebGL

karasusan avatar Aug 17 '20 03:08 karasusan

Really any order is great at this point, what's the timeline?

michael-house avatar Aug 17 '20 17:08 michael-house

We are really looking forward to WebGL support. We are building teambuilding multiplayer games, where we ideally would have a linux server and WebGL clients connected using WebRTC. This enables us to keep using the games while every one can stay at home.

Currently we have use the WebRTC implementation provided by because-why-not but that one lacks Linux support, so we have to use windows servers. For another game we are trying out Photon, which seems to work but is relatively expensive.

nvanofwegen avatar Aug 17 '20 17:08 nvanofwegen

Agreed, glad WebGL is on the list. A (rough?) time indication along with the priority list would be great. Thanks!

ArneBezuijen avatar Aug 17 '20 21:08 ArneBezuijen

There is the priority order of the supporting platform. We will develop them in this order. Do you have any ideas?

  1. iOS
  2. Android
  3. Windows ARM64 (for Hololens2)
  4. WebGL

I think Android should be prioritized because many other devices like AR Headsets use it.

dyhmichail avatar Aug 18 '20 06:08 dyhmichail

There is the priority order of the supporting platform. We will develop them in this order. Do you have any ideas?

1. iOS

2. Android

3. Windows ARM64 (for Hololens2)

4. WebGL

Well, iOS and Android are multithreaded platforms which let you resolve real time comunications problems with other solutions/protocols. But WebGL is not, this is why webRTC is a key component and play a big deal.

Juanmaramon avatar Aug 19 '20 14:08 Juanmaramon

I set milestones which releases every two months. https://github.com/Unity-Technologies/com.unity.webrtc/milestones?direction=asc&sort=title&state=open

  • 2.3 -> iOS
  • 2.4 -> Android
  • 2.5 -> Windows Arm64
  • 2.6 -> WebGL

Of course, we do our best, but nobody knows the future. 😅

karasusan avatar Aug 24 '20 07:08 karasusan

We are developing additional platform support. The next one is iOS.

karasusan avatar Nov 20 '20 02:11 karasusan

Hi @karasusan , thanks for working on different platforms support, I am looking for video/audio chat between iOS and Hololens 2, and Unity WebRTC is my ideal solution. Any workaround suggestion since Windows ARM64 is not supported yet? Thanks.

foungyu avatar Feb 23 '21 08:02 foungyu

@foungyu Unfortunately, just now we do not have a workaround to use it for the Windows ARM64 platform.

karasusan avatar Feb 24 '21 02:02 karasusan

@karasusan is there any chance to support hololens 2 to the end of year? Or can you give some estimated date of this release? I would be very grateful for any information :)

desto12 avatar Mar 18 '21 13:03 desto12

Do windows still require NVDIA? And what about just transferring text data? Can this be used on every platform just for text data?

Thaina avatar Apr 20 '21 06:04 Thaina

@Thaina

NVIDIA is not required by the WebRTC on Windows. Transferring text data is supported as RTCDataChannel. https://docs.unity3d.com/Packages/[email protected]/manual/datachannel.html

karasusan avatar Apr 21 '21 01:04 karasusan

@karasusan There was said in the limitation though?

https://github.com/Unity-Technologies/com.unity.webrtc#limitations

And how about webgl build of unity? Can it just at least open datachannel with webgl right of now?

Thaina avatar Apr 21 '21 01:04 Thaina

@Thaina

Thanks, This is wrong. I am going to remove this sentence. And WebGL is not supported, unfortunatelly.

karasusan avatar Apr 22 '21 03:04 karasusan

@karasusan Thank you. That was unfortunate for webgl. I wish at least datachannel would be supported on webgl

Thaina avatar Apr 22 '21 03:04 Thaina

Any news about UWP support? :)

desto12 avatar Sep 13 '21 13:09 desto12

@desto12 We are pending UWP support because the chromium team is not testing WinRT on arm64 architecture continuously. https://ci.chromium.org/p/webrtc/g/ci/console

And the second option is using WinRTC but this project looks not active. WinRTC contains libwebrtc, the version of libwebrtc m84 is too old. Currently, chromium team already shipped m93. https://github.com/microsoft/winrtc

karasusan avatar Sep 14 '21 07:09 karasusan

I noticed this comment that says about the announcement in the README of the MR-WebRTC repo. The strategy of Microsoft would be allocating resources to Microsoft Mesh instead of supporting WebRTC. https://github.com/microsoft/MixedReality-WebRTC/issues/414#issuecomment-866596898

karasusan avatar Sep 14 '21 11:09 karasusan

@karasusan Hi, are there any updates on HL2 support? I see that arm64 is still not included in chromium CI, but do you have any informations if they will be working on it? If not, do you know who would have such information (someone from chromium team)?

GMyjak avatar Oct 25 '21 12:10 GMyjak

@GMyjak No particular progress has been made since the last time.

Microsoft must have maintain chromium for MS Edge, and also MS Edge supports ARM64 platform. However, MS doesn't published the source code of MS Edge, unfortunately.

note: This ticket exists over 3 years. https://bugs.chromium.org/p/chromium/issues/detail?id=893460

karasusan avatar Oct 28 '21 03:10 karasusan

Hi @karasusan , sorry but i don't get the connection between Microsoft and the WebRtc implementation for Arm64 Platform. Can you explain us some more ? And, what we, the community can do to help you. I'm also interested in an Arm64 (or Arm, as well) implementation for Hololens2 of the WebRtc package.

predictcare avatar Dec 02 '21 13:12 predictcare

@michael-house Can we change this issue title to Windows UWP ARM64 support ?

karasusan avatar Dec 21 '21 05:12 karasusan

@michael-house Can we change this issue title to Windows UWP ARM64 support ?

Permission granted :)

desto12 avatar Dec 21 '21 09:12 desto12

Hello, is there any news about Holo 2 support?

desto12 avatar Feb 22 '22 13:02 desto12

I would also like to share my interest in UWP support (for HoloLens) in the future since Mixed Reality WebRTC isn't devolped anymore and it doesn't support ARM64.

dl4mmers avatar Mar 23 '22 14:03 dl4mmers

As mentioned in the thread below, the priority is still low. https://forum.unity.com/threads/unity-render-streaming-status-update-q4-2021.1215801/

kannan-xiao4 avatar Mar 30 '22 02:03 kannan-xiao4