خرید بک لینک

Vote count: 0

I'm trying to share my screen with Kurento WebRtc server. But getting this error:

NavigatorUserMediaError {name: "ScreenCaptureError", message: "", constraintName: ""}

There is no errors in Firefox with same code. Constraints using for webrtc:

    var constraints = {
        audio: true,
        video: {
            mandatory : {
                chromeMediaSource: 'screen',
                maxWidth: 1920,
                maxHeight: 1080,
                maxFrameRate: 30,
                minFrameRate: 15,
                minAspectRatio: 1.6
            },
            optional: []
        }
    }

    var options = {
           localVideo : video,
           onicecandidate : onIceCandidate,
           mediaConstraints : constraints
    }
    webRtcPeer = new kurentoUtils.WebRtcPeer.WebRtcPeerSendonly(options,function(error) {
       if (error) {
           retu console.error(error);
       }
       webRtcPeer.generateOffer(onOfferPresenter);
    });

How do I share my screen using chrome and kurento?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 20 فروردين 1395 ساعت: 2:47

صفحه بندی