Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4405

Do not use DMA-BUFs for screensharing when the other side doesn't support it

Details

    • sst_desktop_platform_technologies
    • ssg_desktop
    • 31
    • False
    • Hide

      None

      Show
      None
    • Unspecified
    • If docs needed, set a value
    • Unspecified

    Description

      Recent WebRTC has implemented proper screensharing support with DMA-BUFs and it has been already released with Chrome 96. Problem is that there are cases when DMA-BUFS is not supposed to be used, as of now it should be used only when PipeWire is new enough and both sides advertise DMA-BUFs modifiers. WebRTC doesn't advertise SPA_DATA_DmaBuf buffer type in this case and fallbacks to SPA_DATA_MemFd, however, Mutter (3.32 + related backports) in RHEL 8.5 seems to ignore that and sends SPA_DATA_DmaBuf buffers to us, which we fail to process. This results into broken screensharing.

      Attachments

        Activity

          People

            jgrulich@redhat.com Jan Grulich
            jgrulich@redhat.com Jan Grulich
            Michal Odehnal Michal Odehnal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: