Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: websocket video stream #545

Closed
Niek opened this issue Jun 29, 2020 · 4 comments
Closed

Feature request: websocket video stream #545

Niek opened this issue Jun 29, 2020 · 4 comments

Comments

@Niek
Copy link

Niek commented Jun 29, 2020

Issue type

Feature request

Description

First of all, thanks for building obs-websocket - it's an amazing plugin!

I've built OBS-web, a SPA to control OBS. In order to get a view of the preview/program scenes, I take a small screenshot every second (TakeSourceScreenshot). This works, but obviously it's not the best experience (delayed, laggy). What would be great if there would be a StartSourceStream function or similar that starts a separate video encode that streams to the websocket.

Would this be possible? If not, any other ideas on how to improve the preview experience?

@tt2468
Copy link
Member

tt2468 commented Jul 6, 2020

I dont think that this would be a feature worth the incredible amount of work it would take to implement unfortunately. My only suggestion is to use a faster screenshot rate.

@nxtreaming
Copy link

nxtreaming commented Jul 7, 2020

I suggest you use SRT to transmit an additional preview stream to your host.

it is not related with obs-websocket.

@Niek
Copy link
Author

Niek commented Jul 7, 2020

I suggest you use SRT to transmit an additional preview stream to your host.

it is not related with obs-websocket.

Once WebSRT (P2P SRT) is released in some months that would be an option, together with obsproject/rfcs#27

@tt2468
Copy link
Member

tt2468 commented Jul 7, 2020

Implementing websrt would be enough work to warrant its own plugin. It is out of the scope of obs-websocket

@tt2468 tt2468 closed this as completed Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants