# Webrtc Confbridge Audio working Video not

**URL:** <https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374>\
**Category:** Asterisk WebRTC\
**Created:** [April 2, 2020, 9:43am UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374 "2020-04-02T09:43:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierpaolo](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pierpaolo](https://community.asterisk.org/u/pierpaolo)\
**Post date:** [April 2, 2020, 9:43am UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374/1 "2020-04-02T09:43:48Z")

</div>

Hi all,  
I’m trying to produce a working confbridge with video using Cyber Mega Phone 2K Ultimate Dynamic Edition and uphonex as client.  
I’m running Asterisk 17.1.0 on a machine under nat.

Audio is working correctly both side but I can’t still see remote video.  
I have route all rtp ports (Udp) in my firewall  
my settigns are:  
[pjsip.conf]

```auto
[transport-wss]
type = transport
protocol = wss
bind = 0.0.0.0
local_net=<my internal net>/24
external_media_address=<my public ip>
external_signaling_address=<my public ip>

[webrtc_client]
type=aor
max_contacts=5
remove_existing=yes

[webrtc_client]
type=auth
auth_type=userpass
username=webrtc_client
password=webrtc_client

[webrtc_client]
type=endpoint
aors=webrtc_client
auth=webrtc_client
dtls_auto_generate_cert=yes
max_audio_streams=10
max_video_streams=10
webrtc=yes
context=default
disallow=all
allow=opus
allow=ulaw

```

and the same for other endpoints  
modules.conf

```auto
[modules]
autoload=yes
require = chan_pjsip.so
(..)
noload => chan_sip.so

```

rtp.conf

```auto
[general]
rtpstart=10000
rtpend=20000

[ice_host_candidates]
<my internal ip> => <my public ip>

```

running asterisk -rvvvvv  
I can’t see any error in console  
Both side view only their own videos, audio is working correctly.  
Streamecho produce same resuts.

I’m an asterisk newbie

Thanks in advance,  
Pier Paolo

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [April 2, 2020, 1:27pm UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374/2 "2020-04-02T13:27:26Z")

</div>

What is the configuration for confbridge.conf? Have you set the correct video\_mode? What is the output of “pjsip set logger on” with an attempt?

---

<div class="post-metadata">

**Author:** ![pierpaolo](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pierpaolo](https://community.asterisk.org/u/pierpaolo)\
**Post date:** [April 2, 2020, 1:35pm UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374/3 "2020-04-02T13:35:46Z")

</div>

just figured out now.  
I think it was a codec problem  
putting

```auto
allow=opus,h264,vp8

```

i pjsip.conf works at least form chrome to chrome or firefox to firefox.

my confbrige.con si very simple for now:

```auto
[fancybridge]
type=bridge
max_members=20
mixing_interval=10
internal_sample_rate=auto
video_mode=sfu

[fancyuser-admin]
type=user
marked=yes
music_on_hold_when_empty=yes
dsp_drop_silence=yes

```

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [April 2, 2020, 1:36pm UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374/4 "2020-04-02T13:36:53Z")

</div>

Yes, supported codecs can vary. VP8 is generally supported by everything.

---

<div class="post-metadata">

**Author:** ![pierpaolo](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pierpaolo](https://community.asterisk.org/u/pierpaolo)\
**Post date:** [April 2, 2020, 1:38pm UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374/5 "2020-04-02T13:38:16Z")

</div>

thanks a lot for quick reply.

very exiting working with asterisk.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 2, 2020, 1:38pm UTC](https://community.asterisk.org/t/webrtc-confbridge-audio-working-video-not/83374/6 "2020-05-02T13:38:31Z")

</div>

Closed on May 2, 2020, 1:38pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
