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

[REQUEST]: Manually set VideoStreamTrack label

Open
#1,016 2 comments 0 reactions 1 assignee View on GitHub

@karasusan is already working on this.

Since Jan 12, 2024.

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

Description

Is your feature request related to a problem?

There should be the ability to manually set the VideoStreamTrack label. This was previously allowed but the ability was removed in #439 because of invalid label values. This doesn't let me send multiple video tracks over a connection without having to first provide the opposing peer with metadata telling it which GUID corresponds to which video track.

Describe the solution you'd like

The label should default to using a randomly generated GUID but should not force the user to utilize it. The ability to manually set a label should be provided to the user in the event that it is needed.

Describe alternatives you've considered

I've tried manually setting the label but that doesn't seem to be available to do.

Additional context

No response

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.