Skip to content

[BUG]: Video resolution with odd numbered size is resized unintendedly #731

@mgodfreymodest

Description

@mgodfreymodest

Package version

2.4.0-exp.7

Environment

* OS:Windows 10
* Unity version:2019.4

Steps To Reproduce

  1. establish a stream between android and Windows, including video
  2. call ReplaceTrack on the video track on Android, including a size change
  3. observe on Windows that UnityVideoRenderer.OnVideoFrameResize does 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingissuedThis means the ticket is already created on internal issue tracker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions