Introduction to WebRTC #12 - Capturing the screen with getDisplayMedia()

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • Using the getDisplayMedia method, we can capture the screen and share it (eventually) with RTCPeerConnection

ความคิดเห็น • 6

  • @JS_shorts_dev
    @JS_shorts_dev 2 หลายเดือนก่อน

    Is it possible to capture the screen without showing the mouse cursor in the feed?

  • @NarasimhaSwamy-s3x
    @NarasimhaSwamy-s3x 2 หลายเดือนก่อน

    Hi I have tried it while making an extension but it always gives error saying.
    Error capturing screen: DOMException: getDisplayMedia requires transient activation from a user gesture.
    I even tried with user gestures in popup but still it is giving this errors. Do you know anything we can do?

  • @DivyanshuRai-u5e
    @DivyanshuRai-u5e 9 หลายเดือนก่อน +1

    I want to remove option like Chrome Tab, Window so that user should only select Entire Screen option is that possible using getDisplayMedia()

    • @goodmorningdevelopers
      @goodmorningdevelopers  9 หลายเดือนก่อน

      Thank you for your question! Please keep asking because they will help others! Unfortunately, that I know of, removing specific options like Chrome Tab and Window are not possible using getDisplayMedia(), at least at the moment). However, I'm looking into it, and I know there are some other workarounds that I can explore and share with you in a future video. Stay tuned!

    • @revoluteryt5783
      @revoluteryt5783 3 หลายเดือนก่อน

      ​@@goodmorningdevelopers hi thanks for the video, can you explain me how to produce high quality screen sharing with webrtc.