# Video calls with Janus SIP plugin is broken in v1.1.3

**URL:** <https://janus.discourse.group/t/video-calls-with-janus-sip-plugin-is-broken-in-v1-1-3/118>\
**Category:** General\
**Tags:** sip\
**Created:** [March 29, 2023, 1:26pm UTC](https://janus.discourse.group/t/video-calls-with-janus-sip-plugin-is-broken-in-v1-1-3/118 "2023-03-29T13:26:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ych](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/ych/32/11_2.png) [@ych](https://janus.discourse.group/u/ych)\
**Post date:** [March 29, 2023, 1:26pm UTC](https://janus.discourse.group/t/video-calls-with-janus-sip-plugin-is-broken-in-v1-1-3/118/1 "2023-03-29T13:26:52Z")

</div>

After updating to v1.1.3, video calls with the Janus SIP plugin stopped working when audio calls worked as usual.  
In the log we have a lot of:

```auto
[591616290635507] Creating ICE agent (ICE Full mode, controlled)
[WARN] Error setting v6only to false on video RTP socket (error=Protocol not available)
[WARN] Error setting v6only to false on video RTCP socket (error=Protocol not available)
[ERR] [plugins/janus_sip.c:janus_sip_allocate_local_ports:6719] Bind failed for video RTP (port 34658), trying a different one...
[WARN] Error setting v6only to false on video RTP socket (error=Protocol not available)
[ERR] [plugins/janus_sip.c:janus_sip_allocate_local_ports:6719] Bind failed for video RTP (port 39638), trying a different one...
...
[WARN] Error setting v6only to false on video RTP socket (error=Protocol not available)
[ERR] [plugins/janus_sip.c:janus_sip_allocate_local_ports:6719] Bind failed for video RTP (port 39476), trying a different one...
[ERR] [plugins/janus_sip.c:janus_sip_handler:3580] Could not allocate RTP/RTCP ports

```

After some investigation, it seems that the reason for this is the difference in socket creation:

- audio:
  - `session->media.audio_rtp_fd = socket(AF_INET6, SOCK_DGRAM, 0)`
  - `session->media.audio_rtcp_fd = socket(AF_INET6, SOCK_DGRAM, 0)`

- video:
  - `session->media.video_rtp_fd = socket(AF_INET, SOCK_DGRAM, 0)`
  - `session->media.video_rtcp_fd = socket(AF_INET, SOCK_DGRAM, 0)`

The issue in this post is partially related to [Error creating audio sockets](https://janus.discourse.group/t/error-creating-audio-sockets/65) and appears to have been fixed by [Don't create IPv6 sockets if IPv6 is completely disabled (see #3159) by lminiero · Pull Request #3179 · meetecho/janus-gateway · GitHub](https://github.com/meetecho/janus-gateway/pull/3179).

So the question when could we expect for v1.1.4 release? 🙂

---

<div class="post-metadata">

**Author:** ![lorenzo](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/lorenzo/32/425_2.png) [@lorenzo](https://janus.discourse.group/u/lorenzo)\
**Post date:** [March 29, 2023, 11:06pm UTC](https://janus.discourse.group/t/video-calls-with-janus-sip-plugin-is-broken-in-v1-1-3/118/2 "2023-03-29T23:06:07Z")

</div>

I don’t know, as I’m abroad and will be for the next two weeks, so definitely not before that. You can just pull `master` in the meanwhile.
