PJSIP video configuration

Hello,

I am trying to set up a simple video configuration between 2 pjsip endpoints, but I don’t know how to get the video to work. I am using Asterisk 15.7.

Thank you.

You configure each endpoint with a video codec that is the same, and that will enable video support within PJSIP. The call must start out as video though, it can’t be added afterwards.

Thank you so much for your reply. Below I pasted the configuration for one endpoint. Can you check if the configuration is ok? I have to use only one video codec?

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

[1000]
type=endpoint
context=internal
disallow=all
allow=ulaw
videosupport=yes
allow=h263p
allow=h264
allow=vp8
transport=transport-udp
auth=1000
aors=1000

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

[1000]
type=aor
max_contacts=1

There is no “videosupport” option, it has to be removed or the endpoint won’t be loaded. That option is for chan_sip only. You only need to specify a video codec in chan_pjsip.

You can set multiple however Asterisk does not transcode video so both sides have to use the same one.

Thank you for your support. Its working.

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