v=0
o=- 2 2 IN IP4 10.0.0.101
s=
t=0 0
c=IN IP4 10.0.0.101
m=audio 49170 RTP/AVP 111
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=recvonly
m=video 24230 RTP/AVP 100
a=rtpmap:100 H264/90000
a=recvonly
Just be aware that VLC does not have support for opus playback over RTP; ffmpeg on the other hand does and it works as expected:
Input #0, sdp, from 'test3.sdp': 0KB vq= 0KB sq= 0B f=0/0
Metadata:
title :
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
Stream #0:1: Video: h264 (Constrained Baseline), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], 12 fps, 62.50 tbr, 90k tbn, 24 tbc
433.12 A-V: -0.009 fd= 105 aq= 26KB vq= 89KB sq= 0B f=0/0
Also, I know where was a bug with the sdp processing that gave errors on writing "OPUS" in capital letters => It's important to have it written in lowercase.
Hope this helps and would really like to know if there is any limitations to what codecs KMS supports or are they dependent only on the peers/clients?
Thanks.