-
Notifications
You must be signed in to change notification settings - Fork 19
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
base: main
Are you sure you want to change the base?
Conversation
src/index.js
Outdated
@@ -55,6 +55,37 @@ function videoFrameHandler(videoFrame, notifyVideoProcessed, notifyError) { | |||
// } | |||
} | |||
|
|||
async function videoStreamHandler(receivedVideoFrame) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove leading white spaces.
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.