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

Add code examples #18

Merged
merged 4 commits into from
Jul 3, 2023
Merged

Add code examples #18

merged 4 commits into from
Jul 3, 2023

Conversation

fred-wang
Copy link
Contributor

@fred-wang fred-wang commented Jun 27, 2023

  • Basic example
  • Example for efficiency enhancements during RTC (cursor constraint and RTCDataChannel)

fixes #6


Preview | Diff

- Basic example
- Example for efficiency enhancements during RTC (cursor constraint and RTCDataChannel)

fixes screen-share#6
fred-wang added a commit to fred-wang/mouse-events that referenced this pull request Jun 27, 2023
Copy link
Contributor

@eladalon1983 eladalon1983 left a comment

Choose a reason for hiding this comment

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

Could you please run the formatter? (This repo uses prettier.)

index.html Outdated Show resolved Hide resolved
index.html Outdated
video: true,
controller: controller,
});
videoElement.srcObject = mediaStream;
Copy link
Contributor

Choose a reason for hiding this comment

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

This line can probably be removed.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@fred-wang
Copy link
Contributor Author

Thanks for the review!

Could you please run the formatter? (This repo uses prettier.)

OK done. Although it seems we would need to run it again for changes made elsewhere...

@fred-wang fred-wang requested a review from eladalon1983 July 1, 2023 09:04
@eladalon1983
Copy link
Contributor

I've run the formatter for you and committed it directly. Hope you don't mind.

@fred-wang
Copy link
Contributor Author

@eladalon1983 OK, I had actually manually reverted the formatting part unrelated to that commit, but I don't mind.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@fred-wang
Copy link
Contributor Author

@eladalon1983 Can you please merge this? (I can't)

@eladalon1983 eladalon1983 merged commit ac4a360 into screen-share:main Jul 3, 2023
@fred-wang fred-wang mentioned this pull request Jul 4, 2023
@eladalon1983
Copy link
Contributor

I see this was incorrectly marked as closing #6, when it looks like #16 was meant.

@fred-wang fred-wang deleted the examples branch July 8, 2023 08:24
@fred-wang fred-wang restored the examples branch July 8, 2023 08:24
@fred-wang fred-wang deleted the examples branch July 8, 2023 08:24
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.

Vote: Adopt spec by Screen Capture Community Group
3 participants