Changes between Initial Version and Version 2 of Ticket #1879


Ignore:
Timestamp:
Aug 21, 2015 6:10:21 AM (9 years ago)
Author:
riza
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1879

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #1879 – Description

    initial v2  
    1 This ticket will add support to set video codec param using PJSUA2 API 
     1This ticket will add support to set video codec param using PJSUA2 API. 
     2 
     3Example of use: 
     4{{{ 
     5  /* MyApp.ep is the Endpoint instance */ 
     6  VidCodecParam codecParam = MyApp.ep.getVideoCodecParam("H264");                
     7  MediaFormatVideo newFormat = codecParam.getEncFmt(); 
     8  newFormat.setFpsNum(30); 
     9  newFormat.setFpsDenum(1); 
     10  codecParam.setEncFmt(newFormat); 
     11  MyApp.ep.setVideoCodecParam("H264", codecParam); 
     12}}}