Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
738 stars 186 forks source link

[REQUEST]: WebRTC for VisionOS #1019

Open vodolazov opened 4 months ago

vodolazov commented 4 months ago

Is your feature request related to a problem?

It'd be great to add support for VisionOS, hence VisionPro device.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

SetoKaiba commented 4 months ago

I think the problem is that the webrtc from Google can't compile to vision os.

karasusan commented 4 months ago

@vodolazov I have never tested both VisionOS and Polyspacial.

SetoKaiba commented 4 months ago

@vodolazov I have never tested both VisionOS and Polyspacial.

I tested it with polyspatial. I made it working in editor. But I can't make it working with simulator due to lack of libwebrtc visionos build target.

vodolazov commented 4 months ago

Do you think it´d be possible to try with libwebrtc for ios? Supposedly ios and visionos are very close. Anyways, thanks for looking at this.

SetoKaiba commented 4 months ago

Do you think it´d be possible to try with libwebrtc for ios? Supposedly ios and visionos are very close. Anyways, thanks for looking at this.

No. The dynamic library has to be compiled for visionos directly.

FejZa commented 4 months ago

+1 for this request. @karasusan could you let us know, if this

  1. maybe going to be looked at
  2. definitely going to be looked at, just don't know when
  3. definitely not going to be implemented

Thank you!

AnandMWio commented 3 months ago

+1 for this request. anybody found a workaround or a solution?

karasusan commented 3 months ago

memo: WRS-507

DavidSun0403 commented 3 months ago

Any upadtes for that till now?

devluz commented 3 months ago

I started porting webrtc and the unity webrtc build to vision OS. If anyone wants to try this I uploaded a vision os test project Would be great if anyone can test it on the vision pro. So far I can only test in the simulator.

AnandMWio commented 3 months ago

I started porting webrtc and the unity webrtc build to vision OS. If anyone wants to try this I uploaded a vision os test project Would be great if anyone can test it on the vision pro. So far I can only test in the simulator.

Tested it on the Device, it works same as it works with the simulator. Great work! Webcam was not listed to select in one of the scene but, i think that is okay.

devluz commented 3 months ago

I have excluded the webcam because this needs more work. Great to know it works on the device already! I will build a proper release today.

@karasusan do you think there is any good way to contribute this? I had to change the webrtc src folder and the src/build to get this to work.

AnandMWio commented 3 months ago

I started porting webrtc and the unity webrtc build to vision OS. If anyone wants to try this I uploaded a vision os test project Would be great if anyone can test it on the vision pro. So far I can only test in the simulator.

do you know why its not working for me when i copy it to my project to test it.

devluz commented 3 months ago

I started porting webrtc and the unity webrtc build to vision OS. If anyone wants to try this I uploaded a vision os test project Would be great if anyone can test it on the vision pro. So far I can only test in the simulator.

do you know why its not working for me when i copy it to my project to test it.

You can create an issue at the test project repository then I look into it. Either the build log or the console log in xcode should have some clues.

AnandMWio commented 3 months ago

I started porting webrtc and the unity webrtc build to vision OS. If anyone wants to try this I uploaded a vision os test project Would be great if anyone can test it on the vision pro. So far I can only test in the simulator.

do you know why its not working for me when i copy it to my project to test it.

You can create an issue at the test project repository then I look into it. Either the build log or the console log in xcode should have some clues.

Thanks, i've created the issue - https://github.com/because-why-not/uwebrtc_visionpro_testproj/issues/2#issue-2213337740