My issue was:
On low network connection I am not getting participant video stream, However I got an option to turn off TRUST_BWE but still I am getting same message “video has been turned off to save bandwidth” with video off.
Any suggestions for the same ?
I tried changing the bitRate to low for all.
If there is insufficient bandwidth to stream video, there really isn’t anything you can do. You need at least 200kbps to stream a single low definition video. If you switch to VP9, bandwidth consumption is less, but still the requirements have to be met.
where I can turn on VP9, I tried to create sip-communicator.properties file and enabled it in there org.jitsi.jicofo.ENABLE_VP9=true under folder etc/jitsi/jicofo/
Is that the right thing to do ?
You don’t need to do that anymore. The config has been moved to jicofo.conf and it’s enabled by default. You just need to set it as the preferred codec in config.js viz:
// // here will be removed from the list of codecs present in the SDP answer generated by the client. If the
// // same codec is specified for both the disabled and preferred option, the disable settings will prevail.
// // Note that 'VP8' cannot be disabled since it's a mandatory codec, the setting will be ignored in this case.
// disabledCodec: 'H264',
//
// // Provides a way to set a preferred video codec for the JVB connection. If 'H264' is specified here,
// // simulcast will be automatically disabled since JVB doesn't support H264 simulcast yet. This will only
// // rearrange the the preference order of the codecs in the SDP answer generated by the browser only if the
// // preferred codec specified here is present. Please ensure that the JVB offers the specified codec for this
// // to take effect.
// preferredCodec: 'VP8',
//
// // Provides a way to enforce the preferred codec for the conference even when the conference has endpoints
// // that do not support the preferred codec. For example, older versions of Safari do not support VP9 yet.
// // This will result in Safari not being able to decode video from endpoints sending VP9 video.
// // When set to false, the conference falls back to VP8 whenever there is an endpoint that doesn't support the
// // preferred codec and goes back to the preferred codec when that endpoint leaves.
// // enforcePreferredCodec: false,
//
// // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for
// // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values
And if you want to set it for P2P calls too:
// https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
// If not set, the effective value is 'all'.
// iceTransportPolicy: 'all',
// If set to true, it will prefer to use H.264 for P2P calls (if H.264
// is supported). This setting is deprecated, use preferredCodec instead.
// preferH264: true,
// Provides a way to set the video codec preference on the p2p connection. Acceptable
// codec values are 'VP8', 'VP9' and 'H264'.
// preferredCodec: 'H264',
// If set to true, disable H.264 video codec by stripping it out of the
// SDP. This setting is deprecated, use disabledCodec instead.
// disableH264: false,
// Provides a way to prevent a video codec from being negotiated on the p2p connection.
// disabledCodec: '',
// How long we're going to wait, before going back to P2P after the 3rd
// participant has left the conference (to filter out page reload).
There is a new config for trust-bwe in new jvb.conf file. You don’t need to use sip-communicator.properties anymore.
Here is the config to disable BWE;
/etc/jitsi/videobridge/jvb.conf
videobridge {
cc {
trust-bwe = false
}
...
}