Unity-Technologies / Unity-Technologies/com.unity.webrtc
[REQUEST]: Byte[] as video stream
Open
@karasusan is already working on this.
Since Feb 23, 2022.
enhancement
issued
- Dominant language
- Assembly
- Stars
- 852
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem?
Hello,
I was wondering if there is a way to send a byte array as the video stream as opposed to a RenderTexture?
The reason for this is that we're feeding a raw h264 ffmpeg stream into unity and hoping to push the byte[] over webRTC instead of using CaptureStream (ie. var videoStream = cam.CaptureStream(1280, 720, 1000000);).
Thanks!
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
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.