Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2913

QWebEngineDesktopMediaRequest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.8.1
    • 6.8.0.2
    • PySide
    • None
    • Windows
    • c71360954 (dev), d2abd980e (6.8)

      Pyside6 - 6.8.0.2

       

      I am working on creating a WebRTC screen-sharing selection window in a web view and have been using QWebEngineDesktopMediaRequested. However, I keep encountering the same repeated error.

      TypeError: Cannot call meta function "void _handleDesktopMediaRequest(QWebEngineDesktopMediaRequest)" because parameter 0 of type "QWebEngineDesktopMediaRequest" 
      cannot be converted. 

       

      I want to make screen/window selection UI for screen-sharing app 

       

      Issue Details:

      • Despite trying various approaches, I couldn't resolve the issue.
      • I searched for information on the type but couldn't find any relevant documentation or references.

       

      I suspect the problem is due to the type not being recognized, potentially because it is missing from the Python binding of the C++ implementation.

      Or if I'm using it wrong or if there is another way, please tell me.
       

      Any guidance or insights on this matter would be greatly appreciated. Thank you in advance for your time and assistance!

        1. example.py
          3 kB
        2. pyside2913.py
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            aesthetics-of-record hyeonho cho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes