Ticket #1879 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Set Video Codec Param using PJSUA2 API

Reported by: riza Owned by: bennylp
Priority: normal Milestone: release-2.5
Component: pjsua2 Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by riza) (diff)

This ticket will add support to set video codec param using PJSUA2 API.

Example of use:

  /* MyApp.ep is the Endpoint instance */
  VidCodecParam codecParam = MyApp.ep.getVideoCodecParam("H264");    		
  MediaFormatVideo newFormat = codecParam.getEncFmt();
  newFormat.setFpsNum(30);
  newFormat.setFpsDenum(1);
  codecParam.setEncFmt(newFormat);
  MyApp.ep.setVideoCodecParam("H264", codecParam);

Change History

comment:1 Changed 3 years ago by riza

In 5165:

Re #1879:

  • Implement set video codec param in PJSUA2 API
  • Fix bug in videoCodecEnum and updateCodecInfoList

comment:2 Changed 3 years ago by riza

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

comment:3 Changed 3 years ago by riza

In 5167:

Re #1879: Fix bug in resetVideoCodecParam when not using Video build config.

Note: See TracTickets for help on using tickets.