Making a one-way video call

26 views
Skip to first unread message

Andreas Backman

unread,
Mar 29, 2023, 10:48:01 AM3/29/23
to JsSIP
Hello!

I'm trying to place a one way video call. My CallOptions are:

{
rtcConstraints: {
offerToReceiveAudio: true,
offerToReceiveVideo: true,
},
mediaConstraints: { audio: false, video: false },
sessionTimersExpires: 120,
pcConfig: {
iceServers: [
{
urls: [
'stun:stun.l.google.com:19302',
'stun:stun1.l.google.com:19302'
]
}
]
}
}

But if both mediaConstraints.video and mediaConstraints.audio are set to false, the INVITE isn't sent. What am I  doing wrong?
Reply all
Reply to author
Forward
0 new messages