Does RTPengine accept publish/subscribe with video?

16 views
Skip to first unread message

Tiago Mendes

unread,
Mar 29, 2026, 5:33:47 PM (6 days ago) Mar 29
to Sipwise rtpengine
Hi,

I'm using rtpengine mr11.5.2.0 and trying to use the publish/subscribe ng commands with video (H.264) for a 1:N streaming use case.

Publish with m=audio works fine, but publish with m=video consistently returns "Failed to create SDP". The same SDP works with the offer command.

Here is the SDP I'm sending:

v=0
o=- 0 0 IN IP4 172.16.10.14
s=-
c=IN IP4 172.16.10.14
t=0 0
m=video 5004 RTP/AVP 96
a=rtpmap:96 H264/90000
a=sendrecv

Results:
- ng publish with m=audio: ok
- ng publish with m=video: "Failed to create SDP"
- ng offer with m=video: ok (ports allocated, SDP returned)

Is publish/subscribe expected to work with video-only media lines, or is it limited to audio?

Thanks,
Tiago Mendes

Richard Fuchs

unread,
Mar 30, 2026, 7:59:59 AM (5 days ago) Mar 30
to rtpe...@googlegroups.com
On 29/03/2026 17.33, Tiago Mendes wrote:
Is publish/subscribe expected to work with video-only media lines, or is it limited to audio?

By default it's limited to codecs supported by the codec engine, which currently includes just audio.

You can influence this by passing a list of codecs as `codec-accept-...` to "publish." Include all audio and video codecs you wish to accept, or "any" if you don't care.

Cheers

Reply all
Reply to author
Forward
0 new messages