Changes between Initial Version and Version 1 of ReleaseNotes-2.0


Ignore:
Timestamp:
Dec 11, 2010 7:44:10 AM (10 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleaseNotes-2.0

    v1 v1  
     1{{{ 
     2#!html 
     3<!-- MAIN TABLE START --> 
     4<table border=0 width="90%" align="center"><tr><td> 
     5}}} 
     6 
     7= PJSIP Version 2.0 Release Notes = 
     8 
     9'''Table of Contents''' 
     10[[PageOutline(2-3,,inline)]] 
     11 
     12This document explains the new features, changes, and porting guide in/for PJSIP version 2.0. 
     13 
     14[[BR]] 
     15 
     16== New Features == 
     17 
     18=== Video === 
     19 
     20.. 
     21 
     22 
     23[[BR]] 
     24 
     25== Changes == 
     26 
     27=== Header Files === 
     28 
     29==== <pjmedia/types.h> is split into <pjmedia/format.h>, <pjmedia/frame.h>, and <pjmedia/types.h> ==== 
     30 
     31Symptom: 
     32You may encounter compilation warnings/errors such as: 
     33{{{ 
     34../include/pjmedia/circbuf.h:293: warning: implicit declaration of function ‘pjmedia_copy_samples’ 
     35../include/pjmedia/circbuf.h:409: warning: implicit declaration of function ‘pjmedia_move_samples’ 
     36../src/pjmedia/delaybuf.c:349: warning: implicit declaration of function ‘pjmedia_zero_samples’ 
     37}}} 
     38 
     39Solution: 
     40Update your #include section accordingly, adding the new headers above. Alternatively, just include {{{<pjmedia.h>}}} to get all the header files. 
     41 
     42=== General Data Structure === 
     43 
     44==== format ==== 
     45 
     46Huge changes.. 
     47 
     48==== Missing samples_per_frame ==== 
     49 
     50Use PJMEDIA_AFD_SAMPLES_PER_FRAME(afd) 
     51 
     52==== Port info ==== 
     53 
     54Uses format now.. 
     55 
     56==== put_frame() callback of pjmedia_port ==== 
     57 
     58Removed const qualifier from the frame argument. 
     59 
     60Sample warnings: 
     61{{{ 
     62../src/pjmedia/bidirectional.c: In function ‘put_frame’: 
     63../src/pjmedia/bidirectional.c:39: warning: passing argument 2 of ‘pjmedia_port_put_frame’ discards qualifiers from pointer target type 
     64../include/pjmedia/port.h:334: note: expected ‘struct pjmedia_frame *’ but argument is of type ‘const struct pjmedia_frame *’ 
     65../src/pjmedia/bidirectional.c:70: warning: assignment from incompatible pointer type 
     66}}} 
     67 
     68 
     69{{{ 
     70#!html 
     71<!-- MAIN TABLE END --> 
     72</td></tr></table> 
     73}}} 
     74