Version 0.9 has been released

BP
Benny Prijono
Tue, Aug 19, 2008 3:55 PM

On Tue, Aug 19, 2008 at 1:57 PM, Fabio Pietrosanti (naif)
lists@infosecurity.ch wrote:

Hi Manoj,

hooking directly inside pjmedia does not mean trowing away a lot of
pjsip code.
As far as i understood the biggest feature that will not be present
anymore will be the "conference calling" and some PCM level processing
(that i don't know exactly the requirement)

Well basically almost all PJMEDIA features will be unavailable. The only
things that are still usable are things related to transport, such as
RTP/RTCP packetization, jitter buffer, and SRTP.

Maybe hooking inside pjmedia would also mean having the APS not only
provide the hardware-royalty-paid-for-free codecs, but that it would
also directly manage the Voice Activity Detection, that's a very
important feature in order to statistically reduce the bandwidth of 50% .

Benny, Nanang am i right or not?

Actually I'm not sure. We tested AMR with the built in SIP user agent in
Nokia E90, and from Nokia there doesn't seem to be any VAD/DTX, while from
pjmedia there is. With casual tests, the average bitrate from pjmedia is
only about 2.6Kbps (since we use the 4.75Kbps mode), while from Nokia it's
over 12Kbps. This doesn't say if VAD/DTX feature is not present, but at
least it's not enabled by default, while in pjmedia it is.

I still did not analyzed in the details what would mean integrating APS
inside pjmedia even if it seems like the most "clean" design for Symbian
S60 integration, because directly leverage the platform capabilities.

It shouldn't be too difficult to use device's codec with pjmedia, one just
need to replace the stream implementation with a different one, leveraging
the RTP/RTCP packetization and jitter buffer components that are already
provided in pjmedia. Something like that.

Cheers
Benny

On Tue, Aug 19, 2008 at 1:57 PM, Fabio Pietrosanti (naif) <lists@infosecurity.ch> wrote: > Hi Manoj, > > hooking directly inside pjmedia does not mean trowing away a lot of > pjsip code. > As far as i understood the biggest feature that will not be present > anymore will be the "conference calling" and some PCM level processing > (that i don't know exactly the requirement) > > Well basically almost *all* PJMEDIA features will be unavailable. The only things that are still usable are things related to transport, such as RTP/RTCP packetization, jitter buffer, and SRTP. > Maybe hooking inside pjmedia would also mean having the APS not only > provide the hardware-royalty-paid-for-free codecs, but that it would > also directly manage the Voice Activity Detection, that's a very > important feature in order to statistically reduce the bandwidth of 50% . > > Benny, Nanang am i right or not? > > Actually I'm not sure. We tested AMR with the built in SIP user agent in Nokia E90, and from Nokia there doesn't seem to be any VAD/DTX, while from pjmedia there is. With casual tests, the average bitrate from pjmedia is only about 2.6Kbps (since we use the 4.75Kbps mode), while from Nokia it's over 12Kbps. This doesn't say if VAD/DTX feature is not present, but at least it's not enabled by default, while in pjmedia it is. > I still did not analyzed in the details what would mean integrating APS > inside pjmedia even if it seems like the most "clean" design for Symbian > S60 integration, because directly leverage the platform capabilities. > > It shouldn't be too difficult to use device's codec with pjmedia, one just need to replace the stream implementation with a different one, leveraging the RTP/RTCP packetization and jitter buffer components that are already provided in pjmedia. Something like that. Cheers Benny
FP
Fabio Pietrosanti (naif)
Tue, Aug 19, 2008 5:24 PM

Benny Prijono wrote:

Well basically almost all PJMEDIA features will be unavailable. The
only things that are still usable are things related to transport,
such as RTP/RTCP packetization, jitter buffer, and SRTP.

mmm maybe sounds good, jitter buffering and packetization are the only
things really missing from the Nokia libraries!

 Benny, Nanang am i right or not?

Actually I'm not sure. We tested AMR with the built in SIP user agent
in Nokia E90, and from Nokia there doesn't seem to be any VAD/DTX,
while from pjmedia there is. With casual tests, the average bitrate
from pjmedia is only about 2.6Kbps (since we use the 4.75Kbps mode),
while from Nokia it's over 12Kbps. This doesn't say if VAD/DTX feature
is not present, but at least it's not enabled by default, while in
pjmedia it is.

Oh yes, but i am not talking about the built-in SIP use agent. They use
AMR-WB at 12kbps without DTX.

From the APS you can specify that you want AMR 4.75 samples with
VAD/DTX (going to 2.6kb) and get it.

At the same time you can provide samples with SID describing silence
with CNG and will be up to the APS to play it the right way.
The missing things is the jittering buffering that's not provided in any
library by Nokia, but that's provided by pjsip right?

It shouldn't be too difficult to use device's codec with pjmedia, one
just need to replace the stream implementation with a different one,
leveraging the RTP/RTCP packetization and jitter buffer components
that are already provided in pjmedia. Something like that.

Sounds cool!

Manoj ?

Benny Prijono wrote: > Well basically almost *all* PJMEDIA features will be unavailable. The > only things that are still usable are things related to transport, > such as RTP/RTCP packetization, jitter buffer, and SRTP. mmm maybe sounds good, jitter buffering and packetization are the only things really missing from the Nokia libraries! > > Benny, Nanang am i right or not? > > > Actually I'm not sure. We tested AMR with the built in SIP user agent > in Nokia E90, and from Nokia there doesn't seem to be any VAD/DTX, > while from pjmedia there is. With casual tests, the average bitrate > from pjmedia is only about 2.6Kbps (since we use the 4.75Kbps mode), > while from Nokia it's over 12Kbps. This doesn't say if VAD/DTX feature > is not present, but at least it's not enabled by default, while in > pjmedia it is. Oh yes, but i am not talking about the built-in SIP use agent. They use AMR-WB at 12kbps without DTX. From the APS you can specify that you want AMR 4.75 samples with VAD/DTX (going to 2.6kb) and get it. At the same time you can provide samples with SID describing silence with CNG and will be up to the APS to play it the right way. The missing things is the jittering buffering that's not provided in any library by Nokia, but that's provided by pjsip right? > It shouldn't be too difficult to use device's codec with pjmedia, one > just need to replace the stream implementation with a different one, > leveraging the RTP/RTCP packetization and jitter buffer components > that are already provided in pjmedia. Something like that. Sounds cool! Manoj ?
SV
Shankar Venkataraman
Tue, Aug 19, 2008 5:47 PM

IMHO, IPP is only for intel processors and compatible AMD processors. Does
not work for ARM processors (most Symbian products run on ARM).

On Tue, Aug 19, 2008 at 12:20 AM, Manoj Kumar Joshi <manoj@ascenttelecom.com

wrote:

Hello,

I have seen IPP related release. Are these codecs supposed to work with
Symbian port as well?

Regards,

Manoj


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Shankar Venkataraman
1111 Derbyshire Drive
Cupertino CA 95014
(408) 888 6918 (cell)
(408) 861-9447 (home)
shankarxv@gmail.com
sudhaxr@pacbell.net (home alternate)

IMHO, IPP is only for intel processors and compatible AMD processors. Does not work for ARM processors (most Symbian products run on ARM). On Tue, Aug 19, 2008 at 12:20 AM, Manoj Kumar Joshi <manoj@ascenttelecom.com > wrote: > Hello, > > I have seen IPP related release. Are these codecs supposed to work with > Symbian port as well? > > Regards, > > Manoj > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Shankar Venkataraman 1111 Derbyshire Drive Cupertino CA 95014 (408) 888 6918 (cell) (408) 861-9447 (home) shankarxv@gmail.com sudhaxr@pacbell.net (home alternate)
SV
Shankar Venkataraman
Tue, Aug 19, 2008 5:51 PM

I am investigating using APS for Symbian S60 also. However, one thing that I
am yest to figure out is the
"Capability" requirement.
All documents specify that in order to use APS functionality the application
must have "MultimediaDD" capability.  But it is not possible to get that
capability in self signed products.

On Tue, Aug 19, 2008 at 12:39 AM, Fabio Pietrosanti (naif)
lists@infosecurity.ch wrote:

Manoj Kumar Joshi wrote:

Hello,

I have seen IPP related release. Are these codecs supposed to work
with Symbian port as well?

If you want to achieve something similar to IPP, the S60 APS for Symbian
9 should be integrated inside PJMEDIA to handle directly the hardware
codec support of S60 APS.

This will cut-off some feature like "conference calling", but this would
be the best approach in terms of performance and integration of pjsip on
S60.

Consider that APS provide you even AMR 4.75 with DTX (statistically
average 2.36kbit)!

If you want to invest following that path let me know

Fabio


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Shankar Venkataraman
1111 Derbyshire Drive
Cupertino CA 95014
(408) 888 6918 (cell)
(408) 861-9447 (home)
shankarxv@gmail.com
sudhaxr@pacbell.net (home alternate)

I am investigating using APS for Symbian S60 also. However, one thing that I am yest to figure out is the "Capability" requirement. All documents specify that in order to use APS functionality the application must have "MultimediaDD" capability. But it is not possible to get that capability in self signed products. On Tue, Aug 19, 2008 at 12:39 AM, Fabio Pietrosanti (naif) <lists@infosecurity.ch> wrote: > Manoj Kumar Joshi wrote: > > Hello, > > > > I have seen IPP related release. Are these codecs supposed to work > > with Symbian port as well? > If you want to achieve something similar to IPP, the S60 APS for Symbian > 9 should be integrated inside PJMEDIA to handle directly the hardware > codec support of S60 APS. > > This will cut-off some feature like "conference calling", but this would > be the best approach in terms of performance and integration of pjsip on > S60. > > Consider that APS provide you even AMR 4.75 with DTX (statistically > average 2.36kbit)! > > If you want to invest following that path let me know > > Fabio > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Shankar Venkataraman 1111 Derbyshire Drive Cupertino CA 95014 (408) 888 6918 (cell) (408) 861-9447 (home) shankarxv@gmail.com sudhaxr@pacbell.net (home alternate)