flutter-webrtc / dart-sip-ua

A dart-lang version of the SIP UA stack.
MIT License
339 stars 270 forks source link

H264 codec parameter packetization-mode #404

Open jonnyfisher opened 1 year ago

jonnyfisher commented 1 year ago

Hello Using your application on Android, I discovered a problem with video when using the H264 codec only. When another SIP agent videocalls an application with a codec parameter packetization-mode=1 - everything works fine, both audio and video. for example, a piece of SDP

m=video 49452 RTP/AVP 96 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1

But if this parameter is missing or packetization-mode=0 - the call immediately disconnects with massage: SIP/2.0 488 Not Acceptable Here For tests I used Linphone since you can specify codec parameters there.

Please help me solve this problem