Open dathacky opened 2 years ago
Hi @dathacky. There are two types of device: Device
or VideoTransformDevice
. The original camera is of Device
type. The VideoTransformDevice
is a device that applies processing to another device. So background blur function is actually a VideoTransformDevice
. It applies background blur processing to the original devices.
When you switch the background blur filter between different CPU utilization, the actual logic here is JS SDK is switching between different devices.
The reason you observe the black video tile is that the video tile is not removed during the switching, but the camera stream is stopped for a while.
Hi, sorry for the inconvenience and thank you for reporting this. We will look into this and respond to this ticket. Thank you.
@xuesichao @hekmatba Thank you, hope it gets fixed soon
@hekmatba Hi, hope you are still interested in this issue
@hekmatba @ltrung I hope this ticket is not forgotten
@dathacky I think this is not a bug, but rather a side effect of selecting a different device. @xuesichao mentioned the behavior above, which is expected when switching between devices.
@michhyun1 So this is not a bug, can we create a fake track ( stream ) when device selecting? Before, we're already used Jitsi Library and also happen that so my team create a fake track replace when device selecting..
@mrnav90 what is the purpose of a fake stream? When you switch from one device to another device, we need to turn off one device and then select and turn on the next device. Currently, that includes switching between a regular video device and a VideoTransformDevice
that is applying a video filter to a regular video device.
What happened and what did you expect to happen?
After selecting blur background, I noticed the video went black before rendering it made our customer unhappy, is there any way to fix this?
https://user-images.githubusercontent.com/37299929/154604895-8a6010e1-d205-4c89-9d6b-9e5e6f9bef45.mp4
Have you reviewed our existing documentation?
Reproduction steps
Amazon Chime SDK for JavaScript version
2.27.0
What browsers are you seeing the problem on?
Chrome
Browser version
Version 98.0.4758.102
Meeting and Attendee ID Information.
No response
Browser console logs