Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#964 closed defect (fixed)

Assertion when receiving SDP media with port 0 and without rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report)

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-1.5
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

This could be reproduced using pjsua receiving SDP media as below (single audio with port 0 won't raise the assertion as it's handled by pjsua):

m=video 0 RTP/AVP 100
m=audio 5000 RTP/AVP 0

or

m=audio 0 RTP/AVP 100
m=audio 5000 RTP/AVP 0

Change History (2)

comment:1 Changed 15 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

In r2926:

  • Fixed creating media answer in SDP negotation to just clone the offer (and update media direction) when media offer specifies port 0 (media inactive).
  • Added pjsua python test.

comment:2 Changed 15 years ago by bennylp

In r2927:

  • added SIPp scenario to test it with re-INVITE
  • minor: SDP parsing allows missing newline in the last line (required for SIPp)
Note: See TracTickets for help on using tickets.