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

Cleanup various parts of the library #150

Merged
merged 24 commits into from
Feb 6, 2025
Merged

Cleanup various parts of the library #150

merged 24 commits into from
Feb 6, 2025

Conversation

longnguyen2004
Copy link
Collaborator

@longnguyen2004 longnguyen2004 commented Feb 4, 2025

Breaking changes ahead :)

  • Removed streamLivestreamVideo and the accompanying problematic streamOptions property
  • Stop exporting AudioStream and VideoStream. Users don't need to touch this ever
  • Moved forceChacha20Encryption and rtcpSenderReportEnabled options to the Streamer class
  • Exported prepareStream and playStream as top level exports

Stuff to do:

  • Update README
    • Also added a performance tips section
  • Update examples
    • Examples currently use the pkg.pr.new link below to install the library with the changes. After v5 is released, please change it to the usual version specifier (^5.0.0)

Copy link

pkg-pr-new bot commented Feb 4, 2025

Open in Stackblitz

npm i https://pkg.pr.new/Discord-RE/Discord-video-stream/@dank074/discord-video-stream@150

commit: 4c610f3

@longnguyen2004
Copy link
Collaborator Author

My bot doesn't die!

As always, please test major changes like this, I might have messed up somewhere else

@longnguyen2004 longnguyen2004 marked this pull request as ready for review February 5, 2025 09:21
@aiko-chan-ai
Copy link

I will rewrite some parts of the library to reduce comments like this

image

I apologize for the inconvenience ;-;

@longnguyen2004
Copy link
Collaborator Author

It's okay, take your time, so far it hasn't affected anything yet

Copy link
Member

@dank074 dank074 left a comment

Choose a reason for hiding this comment

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

LGTM

@longnguyen2004
Copy link
Collaborator Author

Will merge after a few hours if no one found anything bad

@longnguyen2004
Copy link
Collaborator Author

Seems fine

@longnguyen2004 longnguyen2004 merged commit 9537628 into master Feb 6, 2025
5 checks passed
@longnguyen2004 longnguyen2004 deleted the cleanup branch February 6, 2025 16:30
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.

3 participants