Why WebRTC is not able to capture screen when the System is signed out or logged out?

This page summarizes the projects mentioned and recommended in the original post on /r/WebRTC

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • SIPSorcery

    A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.

  • Hello. I am new to WebRTC and currently working on a small project in .NET using Sipsorcery, a WebRTC library for C#. In this particular example, an application is used to enables screen sharing using WebRTC. The screen can be viewed through an HTML page, while WebSocket is utilized as the signaling channel. The application includes both the WebSocket server and the code for screen sharing. The application works like a charm. After testing the application I converted the application into Windows Service to always run it in the background. I used NSSM to make service. But when I tested the service, I encountered an issue where the WebSocket server works fine when the system is logged out or signed out, but the screen sharing functionality fails. I googled this problem and discovered that WebRTC does not function properly when the system is signed out or logged out. I am curious to understand the underlying mechanism behind this limitation. Why is it that the screen cannot be shared when the system is signed out?

  • Hello. I am new to WebRTC and currently working on a small project in .NET using Sipsorcery, a WebRTC library for C#. In this particular example, an application is used to enables screen sharing using WebRTC. The screen can be viewed through an HTML page, while WebSocket is utilized as the signaling channel. The application includes both the WebSocket server and the code for screen sharing. The application works like a charm. After testing the application I converted the application into Windows Service to always run it in the background. I used NSSM to make service. But when I tested the service, I encountered an issue where the WebSocket server works fine when the system is logged out or signed out, but the screen sharing functionality fails. I googled this problem and discovered that WebRTC does not function properly when the system is signed out or logged out. I am curious to understand the underlying mechanism behind this limitation. Why is it that the screen cannot be shared when the system is signed out?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts