Opened 8 years ago

Closed 8 years ago

#1381 closed enhancement (fixed)

Allow omitting SDP format parameter in video codec

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

Description

Video codec framework employs SDP fmtp attribute for specifying codec specific parameters, e.g: MPI in H263, profile-level in H264. When SDP fmtp is not supplied, the codec will apply default values and this may override the 'standard' video parameters, such as size and frame rate, specified in pjmedia_format.

While application may want to specify the 'standard' video parameters only (no SDP fmtp) and don't want them overridden by default values because of empty/unsupplied SDP fmtp.

Change History (2)

comment:1 Changed 8 years ago by nanang

  • Type changed from defect to enhancement

comment:2 Changed 8 years ago by nanang

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

(In [3795]) Close #1381:

  • Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values.
  • Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec.
Note: See TracTickets for help on using tickets.