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

feat: headless-browser adapter #43

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

rocka
Copy link
Collaborator

@rocka rocka commented Jan 21, 2024

Headless browser adapter powered by https://github.com/microsoft/playwright

It launches a headless browser which plays Conway's Game of Life in a <canvas> and publish video stream to WHIP endpoint

@rocka rocka requested a review from a-wing January 21, 2024 15:03
Copy link
Member

@a-wing a-wing left a comment

Choose a reason for hiding this comment

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

How to show stick, gamepad and keyboard action feedback

*/
export async function startBrowser(port) {
const browser = await chromium.launch({
executablePath: await which('chromium'),
Copy link
Member

Choose a reason for hiding this comment

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

I think there some problem, If somebody use MacOS Or Windows, Is not working

Maybe should const browser = await chromium.launch()

Before install (cue in document)

npx playwright install

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

Successfully merging this pull request may close these issues.

2 participants