Firefox 151 fails to detect camera, but brave works ok

Hi, Fedora 44 linux user, with all rpm packages updated, firefox 151.0.3.

When I try to use any site with webcam capture, firefox fails to detect, the browse console says “NotAllowedError: The request is not allowed by the user agent or the platform in the current context.”

The site: https://webcamtests.com/

Some forums says to set the media.webrtc.camera.allow-pipewire=false, but it didn’t work.

It works nice on brave browser and the local standalone webcam kamoso.

any idea how to fix it ? Thanks

wpctl status

Video
 ├─ Devices:
 │      54. Integrated RGB Camera               [v4l2]
 │      55. Integrated RGB Camera               [v4l2]
 │      56. Integrated RGB Camera               [v4l2]
 │      57. Integrated RGB Camera               [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *  100. Integrated RGB Camera (V4L2)       
 │     102. Integrated RGB Camera (V4L2)       
 │  
 ├─ Filters:
 │  
 └─ Streams:
       112. plasmashell                                                 
            113. input_1         < kwin_wayland:output_1        [init]
       114. kwin_wayland                                                
            115. output_1        > plasmashell:input_1  [init]

Once set the property changes media.webrtc.camera.allow-pipewire=false, the browser must be restarted, it’s working now.