Issue Video Call Camera (SIP)

huy.nguyenthanh

New Member
When i make a call video SIP.

Source make call have camera (Phone, Laptop, ....)

Destination not have camera (PC)

My question: How i get a call just 1 video from source and no video in destination (just audio)

Is that possible?

Tks.
 

Max

Administrator
Staff member
Good day.
You can use constraints for callee that has no camera like this:
Code:
var constraints = {
     audio: true,
     video: false 
};
...
inCall.answer({
            localVideoDisplay: localVideo,
            remoteVideoDisplay: remoteVideo,
            constraints: constraints,
            sdpHook: rewriteSdp,
            stripCodecs: "SILK"
});
 

huy.nguyenthanh

New Member
Hi admin,

When i testing this with:

* Caller (have camera)
* Callee (no camera)

Caller make call video to Callee => Callee answer with constraints video false

Call success but have 2 bugs:

1) From caller can't play audio to speaker. Audio was send.



2) After 10 second => 30 second. Call terminated (log from Caller hangup)
 
Last edited:

Max

Administrator
Staff member
We are testing the possible fix. The issue reason is a browser initiating audio+video call waits for video packets but the other side sends only audio. You can workaround this by enabling video packets generator in server settings:
Code:
generate_av_for_ua=all
 
Top