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

[REQUEST]: WebRTC for VisionOS

Open vodolazov opened this issue 2 years ago • 15 comments

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

vodolazov avatar Feb 06 '24 22:02 vodolazov

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

SetoKaiba avatar Feb 09 '24 02:02 SetoKaiba

@vodolazov I have never tested both VisionOS and Polyspacial.

karasusan avatar Feb 09 '24 06:02 karasusan

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

SetoKaiba avatar Feb 09 '24 16:02 SetoKaiba

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.

vodolazov avatar Feb 09 '24 16:02 vodolazov

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.

SetoKaiba avatar Feb 09 '24 16:02 SetoKaiba

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

FejZa avatar Feb 23 '24 20:02 FejZa

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

AnandMWio avatar Mar 15 '24 20:03 AnandMWio

memo: WRS-507

karasusan avatar Mar 19 '24 01:03 karasusan

Any upadtes for that till now?

DavidSun0403 avatar Mar 21 '24 03:03 DavidSun0403

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.

devluz avatar Mar 27 '24 10:03 devluz

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.

AnandMWio avatar Mar 27 '24 17:03 AnandMWio

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.

devluz avatar Mar 27 '24 21:03 devluz

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.

AnandMWio avatar Mar 27 '24 21:03 AnandMWio

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.

devluz avatar Mar 27 '24 21:03 devluz

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

AnandMWio avatar Mar 28 '24 14:03 AnandMWio