-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Service Integration and UX Improvements (Work in progress) #1579
Conversation
Because of such huge change in OBS Studio is there any known security risks introduced by CEF integration? |
"Connect Account (optional)" - I read this like: I can connect to as many accounts as I wish simultaneously. Maybe "Bind Account (optional)" is better naming of the option? |
Pages that this uses may as well be considered whitelisted. OBS is not acting as a web browser, these are only specific pages we choose acting as UI elements. Let's say they open a link in a chat window -- any external link they choose in say their chat window get redirected to their system browser, and not OBS itself. |
This is great! In addition to the identified usefulness of being able to update game/title directly from OBS, I think a big win would also be having a hotkey that generates a Stream Marker for use in highlighting. |
Hmm, If the oauth tokens were easily picked up from API bindings, these could more easily people to add additional functionality like stream markers. You could do it right now with some scripting, but you'd need an oauth key handy, they aren't hard to get, it's just not going to be as pleasant compared to it being handled by OBS studio |
I would love to implement anything like that which could be useful. It'd be nice if Twitch dashboard elements could be used as individual popouts, that way we wouldn't necessarily have to implement that ourselves, and Twitch could customize them however they please. As for the normal API, I'm not sure how much the Twitch API exposes for features like that, I know they switched to GraphQL for their recent API, if it's available in the current OAuth standard then I'd invite people to implement it after merging. |
The current situation with Twitch's API is kinda bonkers, Since there are a number of endpoints that aren't implemented on the new API, and even in production they have to resolve to using the old API (v5). Other than that, anything that does use the new API is a lot easier to manage. For example, updating your current game still points to using Kraken (v5), this is also used on the mobile version of twitch, therefore this sounds like a chore 😒 |
The browser panel code is programmed not to allow popup windows, so that's not entirely surprising. I'm not sure how I feel about having popup windows within the program. |
Hm, I'll see what I can do. |
Well, I could consider adding a settings pane for integration. Could allow users to disable the userscripts for running at all, as well as opening their settings. Only thing is I know you can easily open FFZ's settings from adding ?ffz-settings to your URL (https://github.com/FrankerFaceZ/FrankerFaceZ/blob/e3ab5d63a31c5a904ea05a8848cf9397ede82738/src/sites/twitch-twilight/index.js#L93), should work as long as the script is loaded. But BTTV is another story, they also have an option to open settings from chat, which displays their inline settings, but it doesn't work in the frames (https://github.com/night/BetterTTV/blob/8d5dda3951ae96fc9a97d25a8b5ca70432ae4ce6/src/modules/chat_settings/index.js#L45), could probably nicely ask @night to implement a param check into the extension (similar to ffz) to automattically open the bttv settings screen, as OBS should be able to just load these webpages in their own QWidget, as long as |
The Auto-config wizard in the Tools menu already uses the bandwidth test mode. That's a good point though - I'd be curious what kind of integration https://inspector.twitch.tv/ supports. It'd allow us to show a streaming report using Twitch's own data. |
I use it alongside OBS's stats window to do testing in a live environment. Means I'm outputting to a twitch ingest, but not broadcasting to a channel. Helps for debugging |
First off, I'm really excited to see this become part of OBS. Secondly, will it be possible to support services which could have multiple stream keys? For instance, YouTube can have multiple |
The "Custom" service has been moved, and is now an item called "Custom" in the "Services" combo box. This simplifies the stream page of auto-configuration and removes an unnecessary widget. Overall a minor but nice slimline/improvement on user experience.
Currently, browser panel is only supported on windows. So rather than have to check for _WIN32 in the code everywhere, just move the WIN32 check to cmake, that way we don't have to have _WIN32 checks in the code everywhere the browser panel code is used, and do not have to remove a whole bunch of unnecessary _WIN32 #ifdefs for other operating systems when browser panel support is added for them.
Allows specifying a timeout for the operation.
Allows specifying extra headers.
- change chat/info locale to be Auth.Chat and Auth.Info - use normal oauth for twitch and not this implicit token garbage - use site auth - fix mixer stream key - I forgot what else
5f533e3
to
94d1430
Compare
Cleaned up commits and merged |
This pull request:
I am making this pull request for the purposes of discussion while I work on the feature. All these things are subject to change, and feel free to discuss your opinions or what you would like to see. Certain things are not finalized -- some of the code still needs refactoring as of this writing (there's still a fair amount of code duplication at the moment). There are also some localization strings that have not been added.
A lot of these changes are also the result of a lot of R&D regarding utilizing CEF not just for the browser source, but also for optional user interface. I finally have the browser working as actual optional in-program widgets, so this is a step forward towards relatively easy augmentation of the user interface in cases where it makes sense (like service integration).