Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
738 stars 185 forks source link

fix: Revert change of GpuMemoryBuffer to fix video rendering issue #986

Closed karasusan closed 9 months ago

karasusan commented 9 months ago

This is a revert commit to fix a video rendering issue which occurs when using the WebRTC package for Unity Render Streaming. The previous PR is #966.

Applicable parts is here.

https://github.com/Unity-Technologies/com.unity.webrtc/pull/966/files#diff-bd9da9905e2651e2f1924415998c4a3d6545dcf51a4441e27fcc567e376e6464

https://github.com/Unity-Technologies/com.unity.webrtc/assets/1132081/a612057a-6dbe-4771-8026-55f211e814fb

I checked Android and Windows with Vulkan graphic API.