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

update teamsjs sdk to 2.14.0 #22

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

WengHe
Copy link
Contributor

@WengHe WengHe commented Jun 12, 2023

No description provided.

src/index.js Outdated
@@ -55,6 +55,37 @@ function videoFrameHandler(videoFrame, notifyVideoProcessed, notifyError) {
// }
}

async function videoStreamHandler(receivedVideoFrame) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove leading white spaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@@ -55,6 +55,37 @@ function videoFrameHandler(videoFrame, notifyVideoProcessed, notifyError) {
// }
}

async function videoStreamHandler(receivedVideoFrame) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Since sample app serves as a public-facing example, we should write a handler that is dedicated for VideoFrame, rather than converting it to array buffer and falling back to T1 implementation.

Copy link
Contributor Author

@WengHe WengHe Jul 5, 2023

Choose a reason for hiding this comment

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

updated, created 2 filters that process VideoFrame instead of video array buffer, one shows how to process the video frame with WebGL, and the other one shows how to get video buffer from the VideoFrame and process it.

@WengHe WengHe closed this Jul 5, 2023
@WengHe WengHe reopened this Jul 5, 2023
@WengHe WengHe requested a review from nandin-borjigin July 7, 2023 01:48
@WengHe WengHe changed the title update teamsjs sdk to 2.12.0 update teamsjs sdk to 2.14.0 Aug 8, 2023
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