Video stuck from Mobile connections

Arif Butt

Member
Hi,

We have observed that in video chat if the caller is joining from mobile phone connection the picture gets stuck probably due to the low bandwidth, kindly assist how we can avoid this scenario.. our javascript settings for both sides are as following:

conn.join({name: IpAddress}).on(ROOM_EVENT.STATE, function(room){
myRoom = room;
var constraints = {
audio: true,
video: {
minBitrate: 100,
maxBitrate: 400
}
};
var display = document.getElementById("localDisplay");
if (Browser.isSafariWebRTC()) {
Flashphoner.playFirstVideo(display, true);
}
room.publish({
display: display,
constraints: constraints,
record: false,
receiveVideo: false,
receiveAudio: false
}).on(STREAM_STATUS.FAILED, function (stream) {
//alert(stream.status());

Kindly assist...

Thanks
Arif
 

Max

Administrator
Staff member
Good day.
Please remove low bitrate limit
Code:
video: {
maxBitrate: 400
}
This allows browser to choose to lowest bitrate if channel quality drops, it may help to prevent video freezes
Also you can switch to TCP transport
Code:
room.publish({
display: display,
constraints: constraints,
record: false,
receiveVideo: false,
receiveAudio: false,
transport: "TCP"
...
});
This may help to prevent freezes occured due to packet losses.
 

Max

Administrator
Staff member
Any entry is required in the flashphoner.properties file?
Usually, it is not necessary to ahange any server settings to adjust client parameters
We also need to reduce the mixer recorded file size... what is lowest possible setting for this?
The recording size depends on video resolution, FPS and bitrate. So the lowest possible settings can be 320x240 picture resolution and 24 FPS. Maximum bitrate may be limited to 200 kbps.
The lower values can affect picture quality for subscribers.
 
Top