UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[BUG]: Hardware Encoding does not work beyond 1280x720

Open MoritzSkowronski opened this issue 3 years ago • 5 comments

Package version

3.1.0-exp.3

Environment

* OS: macOS
* Unity version: 2020.3.33f1
* Graphics API: Metal
* Browser: none

Steps To Reproduce

  1. Import RenderStreaming package and samples
  2. Start web server on standard port with -w
  3. Change private static bool s_enableHWCodec = true in internal static class RenderStreamingSettings to true
  4. In Broadcast sample scene change streaming size in Camera Stream Sender to, e.g., 1920x1200.
  5. Run Broadcast sample.
  6. In Receiver sample scene change streaming size in Video Stream Receiver to 1920x1200.
  7. Run Receiver sample.

Current Behavior

No texture is shown and no stream received without either application throwing an error.

Expected Behavior

  1. An exception or warning notifying that the stream cannot be sent in that resolution
  2. A list of available resolutions using that encoding option.

Anything else?

No response

MoritzSkowronski avatar May 15 '22 14:05 MoritzSkowronski

memo: WRS-200

edited: memo: WRS-351

karasusan avatar May 16 '22 08:05 karasusan

Same issue https://forum.unity.com/threads/unity-render-streaming-introduction-faq.742481/page-19#post-8129405

karasusan avatar May 24 '22 02:05 karasusan

We reproduced the issue on macOS m1.

karasusan avatar May 24 '22 02:05 karasusan

Hi again, can I just ask whether this will be tackled in the next release?

MoritzSkowronski avatar Aug 05 '22 06:08 MoritzSkowronski

@MoritzSkowronski Sorry but this issue is not fixed in the next release. We have to fix it in the WebRTC package.

karasusan avatar Aug 08 '22 01:08 karasusan