dd-center / obs-streamlink

OBS source plugin to receive stream using streamlink.
GNU General Public License v3.0
255 stars 23 forks source link

Streams don't appear in Studio Mode Preview #28

Closed gmjosack closed 2 years ago

gmjosack commented 2 years ago

When using Studio Mode, streams only appear in the Preview pane if they're already loaded in the Program pane. This makes it very difficult to stage a scene before broadcasting it especially because when restarting OBS it often loses the definitions and defaults to displaying the stream at full size.

Is there anyways to force the plugin to load the streams in the Preview pane when using Studio Mode? This would allow users to verify the layout looks good before switching scenes and also pre-load the streams so they're not blank when the scene is first loaded.

cqjjjzr commented 2 years ago

I'll check if OBS has an API for that.

cqjjjzr commented 2 years ago

Well, it's embarrassing that: OBS only have source toolbar support for their built-in sources, i.e. no support for custom source toolbar, so I can't place a "Stop" and a "Restart Stream" button on the source toolbar.

This means if I use show and hide functions instead of activate/deactivate, it would be more cumbersome to pause and restart the stream (currently done by toggling stream visibility). I will look into a better solution...

cqjjjzr commented 2 years ago

Try this: https://github.com/dd-center/obs-streamlink/releases/tag/0.3.1

gmjosack commented 2 years ago

Just tested and it works great! Thanks so much for the quick turn around!