Unity-Technologies / Unity-Technologies/com.unity.webrtc
[BUG]: Video resolution with odd numbered size is resized unintendedly
Open
@karasusan is already working on this.
Since May 18, 2022.
bug
issued
- Dominant language
- Assembly
- Stars
- 852
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
Package version
2.4.0-exp.7
Environment
* OS:Windows 10
* Unity version:2019.4
Steps To Reproduce
- establish a stream between android and Windows, including video
- call
ReplaceTrackon the video track on Android, including a size change - observe on Windows that
UnityVideoRenderer.OnVideoFrameResizedoes not get called on Windows
Current Behavior
OnVideoFrameResize doesn't get called, but only on Windows. ReplaceTrack with a new video track of the same size continues to stream. Changing the video stream on Windows, the OnVideoFrameResize call happens on Android.
Expected Behavior
Windows should also receive the callback from the c++ side.
Anything else?
This is a new issue, not found in 2.4.0-exp6.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.