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

UI: Enable first-party YouTube Chat features in OBS #10770

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

msuman-google
Copy link

Description

Unlock the full feature set of the YouTube Chat dock in OBS by removing custom scripting/CSS logic. Enable the signed-in experience for live streaming content creators (sharing login credentials with the YouTube Control panel dock, see
#10747).

Motivation and Context

This will allow OBS users to utilize features already supported in the YouTube Chat plugin, such as

  • creating polls
  • managing Q&A sessions
  • a rich emoji set in the input panel
  • emoji fountains
  • moderation tools

and many more. These features are available to users who are logged-in to YouTube Chat and/or the YouTube Control panel.

How Has This Been Tested?

Built OBS locally on Linux workstation, verified existing functionality for YouTube Chat continues to work in signed-out state. Signing-in to YouTube hides the native Qt input panel in favour of the YouTube native input panel that unlocks all of the first-party functionality for live streaming content creators.

Types of changes

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

UI/auth-youtube.hpp Outdated Show resolved Hide resolved
@msuman-google msuman-google force-pushed the youtube-live-chat branch 6 times, most recently from f228eec to 9062c82 Compare June 7, 2024 16:27
@WizardCM WizardCM added the Enhancement Improvement to existing functionality label Jun 8, 2024
Ansl55555

This comment was marked as spam.

Ansl55555

This comment was marked as spam.

@msuman-google msuman-google force-pushed the youtube-live-chat branch 4 times, most recently from 0419691 to a36be2f Compare June 26, 2024 23:54
@msuman-google msuman-google force-pushed the youtube-live-chat branch 2 times, most recently from 1093651 to 4bc6567 Compare July 24, 2024 20:54
UI/auth-youtube.cpp Outdated Show resolved Hide resolved
UI/auth-youtube.hpp Outdated Show resolved Hide resolved
UI/auth-youtube.hpp Outdated Show resolved Hide resolved
UI/auth-youtube.cpp Outdated Show resolved Hide resolved
UI/auth-youtube.cpp Outdated Show resolved Hide resolved
@obsproject obsproject deleted a comment from RytoEX Aug 27, 2024
@msuman-google msuman-google force-pushed the youtube-live-chat branch 3 times, most recently from d07b5dd to da5b7e4 Compare September 16, 2024 21:37
UI/auth-youtube.cpp Show resolved Hide resolved
UI/auth-youtube.cpp Outdated Show resolved Hide resolved
Copy link
Member

@PatTheMav PatTheMav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me implementation-wise, my main concern about constantly polling the cookie state has been addressed by moving that check into a pre-navigation event of the browser widget.

Use the cookie manager shared by service integration browser docks for
YouTube Control Panel.

This will enable users of the YouTube Chat panel have a better (creator
facing) experience for observed chat message latency, for those users
who sign-in to the YouTube Control Panel or YouTube Live Chat.

NOTE: This commit does not have any migration logic for existing
logged-in users of YTCP, they will need to sign-in again. Based on usage
stats, this is not going to affect a large fraction of OBS users.
Unlock the full feature set of the YouTube Chat dock in OBS by removing
custom scripting/CSS logic. Enable the signed-in experience for live
streaming content creators (sharing login credentials with the YouTube
Control panel dock, see
obsproject#10747).

This will allow OBS users to utilize features _already_ supported in the
YouTube Chat plugin, such as

* creating polls
* managing Q&A sessions
* a rich emoji set in the input panel
* emoji fountains
* moderation tools

and many more. These features are available to users who are logged-in
to YouTube Chat and/or the YouTube Control panel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants