Unity-Technologies / Unity-Technologies/com.unity.webrtc

[REQUEST] Direct access to Nvenc encoding

Open
#204 5 comments 3 reactions 1 assignee View on GitHub

@karasusan is already working on this.

Since Oct 3, 2020.

enhancement
Dominant language
Assembly
Stars
852
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Is there any chance the Unity webrtc package could expose direct access to the NVenc video encoder? The idea being that other WebRTC and VoIP implementations could then take advantage of it.

Some WebRTC use cases require different signalling mechanisms (or in the case of VoIP completely different protocols) or for differences to the way libwebrtc does things (e.g. enable private IP addresses). Other .NET based implementations can be used in Unity right now but the video, and to a lesser extent, audio encoding is never going to be that great without the hardware encoders.

Ideally a C# API would be nice but failing that even a documented, supported C++ API that could be used with PInvoke would be good.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.