Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1860 closed enhancement (fixed)

Modify pjmedia_sdp_neg_fmt_match() to check for encoding parameters as well — at Version 2

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

Description (last modified by ming)

In addition to checking encoding name and clock rate, pjmedia_sdp_neg_fmt_match() API will check encoding parameters as well.

From: https://tools.ietf.org/html/rfc4566#page-25

a=rtpmap:<payload type> <encoding name>/<clock rate> [/<encoding parameters>]

For audio streams, <encoding parameters> indicates the number of audio channels. This parameter is OPTIONAL and may be omitted if the number of channels is one, provided that no additional parameters are needed.

For video streams, no encoding parameters are currently specified.

Change History (2)

comment:1 Changed 9 years ago by ming

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

In 5114:

Fixed #1860: Modify pjmedia_sdp_neg_fmt_match() to check for encoding parameters as well

comment:2 Changed 9 years ago by ming

  • Description modified (diff)
Note: See TracTickets for help on using tickets.