Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-7056

FIWARE.Request.Tech.Data.Stream-oriented.Media contstraints for screen capture in Kurento 6.5?

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      Data
    • HD-Enabler:
      Kurento

      Description

      Dear FIWARE coach,
      we forward you a support request received from a CreatiFI applicant we are
      not able to solve.
      Please let us know if you need direct contact with the submitter.
      Thanks.

      **************************

      We are setting the media constraint to maxWidth 1920 fir a screen capture
      but we never see a capture wider that 768 - is there something that limits
      this? We use Kurento 6.5

      thanks
      Paul
      **************************

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-creatifi-coaching@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-creatifi-coaching mailing list
      Fiware-creatifi-coaching@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-creatifi-coaching
      [Created via e-mail received from: Andrea Maestrini <amaestrini@create-net.org>]

        Issue Links

          Activity

          Hide
          silviocretti Silvio Cretti added a comment -

          Dear,
          the applicant sent an update: HELC-1454
          BR

          Show
          silviocretti Silvio Cretti added a comment - Dear, the applicant sent an update: HELC-1454 BR
          Hide
          llopez NaevaTeC Development Team added a comment - - edited

          Requested configuration has been already provided in comment on 17/Aug/16 4:26 PM

          {
            audio : false,
            video : { 
               width: {max: 1920}, 
               height: {max: 1080} 
            } 
          }
          

          This configuration works if you have implemented the getScreenConstraints method, required by the WebRtcPeer. Since no information is provided, it was assumed that was the case. Otherwise, you need to be careful as Chrome does not follow the standard, and you'll need a function like this

            function getChromeConstraints (sourceId) {
              var constraints =
              {
                audio: false,
                video:
                {
                  mandatory:
                  {
                    chromeMediaSource: 'desktop',
                    chromeMediaSourceId: sourceId,
          
                    maxHeight: window.screen.height,
                    maxWidth: window.screen.width
                  },
                  optional: []
                }
              }
          
              return constraints
            }
          

          While FF honors the standard, so you don't need that shim.

          Please take into account that this information is not particular to Kurento, but to screen sharing from browsers in general.

          Show
          llopez NaevaTeC Development Team added a comment - - edited Requested configuration has been already provided in comment on 17/Aug/16 4:26 PM { audio : false , video : { width: {max: 1920}, height: {max: 1080} } } This configuration works if you have implemented the getScreenConstraints method, required by the WebRtcPeer . Since no information is provided, it was assumed that was the case. Otherwise, you need to be careful as Chrome does not follow the standard, and you'll need a function like this function getChromeConstraints (sourceId) { var constraints = { audio: false , video: { mandatory: { chromeMediaSource: 'desktop', chromeMediaSourceId: sourceId, maxHeight: window.screen.height, maxWidth: window.screen.width }, optional: [] } } return constraints } While FF honors the standard, so you don't need that shim. Please take into account that this information is not particular to Kurento, but to screen sharing from browsers in general.
          Hide
          silviocretti Silvio Cretti added a comment -

          Dear FIWARE expert,
          sorry if I reopen the ticket but the applicant sent an update: HELC-1454.

          Moreover, in order to close the issue asap and given that at the and of September the applicant have to provide the final product with FIWARE integrated and Kurento is an important part of the project, can you set up a brief Skype call with applicant in order to fix the last issues, please?
          Let me know
          BR

          Show
          silviocretti Silvio Cretti added a comment - Dear FIWARE expert, sorry if I reopen the ticket but the applicant sent an update: HELC-1454 . Moreover, in order to close the issue asap and given that at the and of September the applicant have to provide the final product with FIWARE integrated and Kurento is an important part of the project, can you set up a brief Skype call with applicant in order to fix the last issues, please? Let me know BR
          Hide
          silviocretti Silvio Cretti added a comment -

          Dear,
          the applicant sent an update
          BR

          Show
          silviocretti Silvio Cretti added a comment - Dear, the applicant sent an update BR
          Hide
          silviocretti Silvio Cretti added a comment -

          Dear,
          you can close the ticket the applicant fixex the issue
          Br

          Show
          silviocretti Silvio Cretti added a comment - Dear, you can close the ticket the applicant fixex the issue Br

            People

            • Assignee:
              llopez NaevaTeC Development Team
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: