Javaus-Gateway WebRTC Resolution

I installed Janus-WebRTC gateway on ubuntu server and started creating multi-user chat and streaming. When running this Janus example example On my own server I always get a bad 640x480 resolution no matter what you download. I have tried changing the defaults to janus.js but with no results.

Other information that might help. When i run janus and run the example i get this warning

[WARN] Receiving a lot of NACK (slow uplink) for video, forcing lower REMB: 65536

Is there a way to handle this in order to get the best possible resolution?

+3


source to share


1 answer


This can be specified in a media object that will be passed as an argument to the function createOffer

, for example with a resolution of 1280x720.

var media {var = video: "16-hires: 9"};

echotest.createOffer ({
    media: media,
        success: function (jsep) {
        echotest.send ({"message": body, "jsep" jsep});
    },
    error: function (error) {
        // An error has occurred ...
    }
});

      



See this for details .

+3


source







All Articles