-
Notifications
You must be signed in to change notification settings - Fork 469
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
Video Frame Processor for Screen sharing #1731
Comments
Hi @majo35-6c, Thank you for opening this issue. If I understand your question correctly you are trying to modify the content share media stream and you achieved that with the following code.
But after modifying the media stream you are getting some performance issues. Can you please expand on what type of performance issues are there? For example, is there lag in content share video, are there frame drops. Also, can you please post the console logs from your application? They contain some useful performance metrics. |
With stream is all ok. However UI of App is laggy - Animations, click events,... When i used this code for virtual background and put this stream as video Input app Works fine. I would like to have the same result for content share media stream. But there is not framework for build custom frame procesor for shared média stream |
@majo35-6c Could you clarify on the difference/code snippets of your code between regular video input and content share? |
@ltrung
for video Input i use video processing API so i dont need call update for refresh canvas. When i set fps for canvas stream UI of App is not laggy |
So we currently do not support any video processing API for content share. However, I think you can still use the video transform pipeline to do it. I tried to apply the demo emoji video processor to a screen capture using the following code and it worked for me:
Would this work for you? |
@ltrung Thank you 👍 |
@majo35-6c Could you add more details about your use case? What kinda virtual background or video processing you want to add to your screen capture? Trying to see whether we should add API to support video process for content share so would like to understand the use case a bit more. |
@ltrung This is my use case. I hope it is more clear now via my picture.
|
Hello, Is it possible to use Video Frame Processor to send frames by http requests. I would like to process frames in Rekognition as it is implemented here https://github.com/aws-samples/amazon-rekognition-virtual-proctor#architecture. Finally, my app will work on Android and iOS, so next question whether Chime SDK for Android(https://github.com/aws/amazon-chime-sdk-android) and iOS has equivalent to Video Frame Processor service? |
Seems I already found an answer for my first question, I managed to send frames by HTTP requests by modifying this example to something like this
|
@darek-gc Thanks for the question. Both Android and iOS SDK support video frame processors. Please refer to the corresponding guides: https://github.com/aws/amazon-chime-sdk-ios/blob/master/guides/custom_video.md and https://github.com/aws/amazon-chime-sdk-android/blob/master/guides/custom_video.md |
Thank you |
Hi @ltrung, According to Video Frame Processor, Can I place a video camera stream into content share? I meant the background is a content share and video camera is on it. |
I can modify media stream which i already share.
Does there any way for screenSharing similar to Custom Video Frame Processor for Video Tile of attendee ?
I would like to use it somehow like this:
I can used it now this way:
However this way has performance issue.
Any ideas how i can build something like startContentShareFromScreenCapture with the same performance ?
The text was updated successfully, but these errors were encountered: