[pjsip] pjmedia and frame sizes

Michael Richardson mcr at sandelman.ca
Thu Dec 17 14:45:54 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


We are working on an H.264 codec to pjsip/pjmedia.
The presented buffer to the encode function of the codec is too small
for the H.264 NAL.  

Option 1, we would like to return entire NALs and let them be fragmented
       at the RTP layer.   Is this supported, and if so, how do we get
       a bigger buffer to write into?

Option 2, we could do the RTP fragmentation ourself, but we have no way
       to adjust the RTP header. We could save the other fragments for
       a subsequent call, but we would then be sending NAL fragments 
       at the frame rate, rather than entire NALs at the frame rate.

We are using pjsip 1.0.3, if this is solved later on, please advise, and
we will re-prioritize our move to 1.6.

- -- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr at sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
	               then sign the petition. 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Finger me for keys

iQEVAwUBSyqKboCLcPvd0N1lAQLY8Af/TPtqPVu4AMPiT4yLzkEXvGCiks9/Q7Bw
iVNIUGlKitxSm4rIXTvAYQEIqDcObVnS1nj8s998+nDXJgJTVKyalFNuSlhRrPh5
EH8GHfOX7UqwBtsQUkhhC+mdiUfUkJjChoaUGrgnuJ6GDrfB72f8kKowI+dBuOr7
qY13Cprt3vo6ZcF3L9yHnA5dIM+A7neexIGdKMsg66rAFlstLoYhDSVLTZ1IQLVX
Tkg0bijGnSwvqyeSL8xZVBhz3OkcvT2JSAbiqQ6DIg3g6nY2pE6yAH88v5S3NGM0
0pdsCtLPshmTV7jhcWB7ekvj4M46aJFJAfeqM8OlRgNkeFNP/RfUWg==
=9HdE
-----END PGP SIGNATURE-----




More information about the pjsip mailing list