Why can’t Microsoft Edge browser access the microphone and video when being launched of through the ps1 script? [closed]

I’m opening Microsoft Edge through a script deployed using GPO on domain computers. But the browser can’t access the microphone and video. I solved this problem by adding the parameter EnableCameraMicrophoneRedirection=1 to the registry editor at HKEY_LOCAL_MACHINESOFTWAREMicrosoftHvsi.

But this only solved the problem with Microsoft Edge. Now I need to enable the camera and microphone in Yandex Browser. Maybe someone familiar with Yandex Browser’s fine-tuning can help me.

(Please don’t tell me to check the microphone and camera access in the application privacy section. I’ve already tried everything.)