Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1879 closed enhancement (fixed)

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)

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 (3)

comment:1 Changed 9 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 9 years ago by riza

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

comment:3 Changed 9 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.