Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
760 stars 197 forks source link

Windows UWP ARM64 support #15

Open michael-house opened 5 years ago

michael-house commented 5 years ago

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/.

karasusan commented 5 years ago

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

rafcsoares commented 4 years ago

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.

Juanmaramon commented 4 years ago

@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!

karasusan commented 4 years ago

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
michael-house commented 4 years ago

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

nvanofwegen commented 4 years ago

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.

ArneBezuijen commented 4 years ago

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

dyhmichail commented 4 years ago

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.

Juanmaramon commented 4 years ago

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.

karasusan commented 4 years ago

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

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

karasusan commented 4 years ago

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

foungyu commented 3 years ago

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.

karasusan commented 3 years ago

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

desto12 commented 3 years ago

@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 :)

Thaina commented 3 years ago

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

karasusan commented 3 years ago

@Thaina

NVIDIA is not required by the WebRTC on Windows. Transferring text data is supported as RTCDataChannel. https://docs.unity3d.com/Packages/com.unity.webrtc@2.3/manual/datachannel.html

Thaina commented 3 years ago

@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?

karasusan commented 3 years ago

@Thaina

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

Thaina commented 3 years ago

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

desto12 commented 3 years ago

Any news about UWP support? :)

karasusan commented 3 years ago

@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 commented 3 years ago

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

GMyjak commented 3 years ago

@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)?

karasusan commented 3 years ago

@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

predictcare commented 2 years ago

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.

karasusan commented 2 years ago

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

desto12 commented 2 years ago

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

Permission granted :)

desto12 commented 2 years ago

Hello, is there any news about Holo 2 support?

dl4mmers commented 2 years ago

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.

kannan-xiao4 commented 2 years ago

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

karasusan commented 2 years ago

memo: WRS-143

desto12 commented 2 years ago

Hello and sorry for asking again I know, that it is on roadmap and that it is independent of you, but maybe there are some fresh news?

kannan-xiao4 commented 2 years ago

@desto12 The situation has not changed since https://github.com/Unity-Technologies/com.unity.webrtc/issues/15#issuecomment-1082558797.

Braineratt commented 2 years ago

Id like to share my interrest in this too, we are currently stuck with Mixed Reality WebRTC aswell.

I'm guessing there are a lot more developers in this situation, that are more or less waiting to find a replacement.

Jerem-35 commented 1 year ago

Hello, any news regarding a potential support of UWP? Thanks.

wh569860630 commented 1 year ago

When will uwp platform push be supported??

zeedyBOI commented 1 year ago

Is there any plan to support this on near future? Support for Hololens 2 would be great

kijz commented 1 year ago

also stuck because of dropped Mixed Reality WebRTC, any update to timeline would be greatly appreciated 🙏

dudziakl commented 1 year ago

I'm also waiting for Unity's support of WebRTC for UWP. As a workaround, you can use any WebRTC website that allows for screen sharing and audio streaming. Open it with Edge browser in the background of your Unity app. You can open the browser from Unity with Windows.System.Launcher.LaunchUriAsync() or you could try new WebView2 support to have it embedded https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/hololens2 I didn't try it yet but it looks promising. I can confirm that I was able to share my video stream from HoloLens which includes holograms through webRTC chat created by Gather (https://app.gather.town/) or Whereby (https://whereby.com/) simply by using the option Share my desktop. Don't share the camera because it will stream RGB camera without holograms. Then you can run any app you like. To close connection you have to get back to the browser and disconnect there. It is not very convenient but is better than nothing.

ragavendranbalaCES commented 1 year ago

Hi @dudziakl , I have tried your workaround. but I can't able to share the video with Holograms inside webview for unity. There is no window to select for screensharing.

sierpinskid commented 11 months ago

I'm also interested in UWP support. Thanks!