Hi!
I would like to use AMR or G729 codecs on Windows Mobile with PJSIP in order
to communicate with Nokia S60 SIP stack with other than PCMU/PCMA codecs. Is
there any free/open source solution?
thx,
Attila
Hi Attila,
No there is not.
Hope this helps.
On Fri, Jul 31, 2009 at 20:30, Attila Nyersatixlevlist@gmail.com wrote:
Hi!
I would like to use AMR or G729 codecs on Windows Mobile with PJSIP in order
to communicate with Nokia S60 SIP stack with other than PCMU/PCMA codecs. Is
there any free/open source solution?
thx,
Attila
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Perry Ismangil
Hello,
I have begun to port/optimize g729 ITU implementation.
http://code.google.com/p/siphon/source/browse/#svn/trunk/g729a
I just worked on decoder, the next step will be on encoder.
I reduce the cpu time for decoder (divide by 2)
http://code.google.com/p/siphon/source/browse/trunk/g729a/Data/perfo.txt
Samuel
Message du 31/07/09 15:47
De : "Perry Ismangil"
A : "pjsip list"
Copie à :
Objet : Re: [pjsip] G729 or AMR codecs for Windows Mobile
Hi Attila,
No there is not.
Hope this helps.
On Fri, Jul 31, 2009 at 20:30, Attila Nyers wrote:
Hi!
I would like to use AMR or G729 codecs on Windows Mobile with PJSIP in order
to communicate with Nokia S60 SIP stack with other than PCMU/PCMA codecs. Is
there any free/open source solution?
thx,
Attila
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Perry Ismangil
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Créez votre adresse électronique prenom.nom@laposte.net
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
Hi Attila,
the AMR is available from the manufacturer DLL inside Windows Mobile OS
but are not freely provided and not documented.
I know of a company that, trough reverse engineering, was able to catch
the AMR encoder/decoder on most HTC devices and use it without having to
pay royalties.
Still it's not a "clean and reliable" solution, even if the good things
is that hooking inside OS's dll by reverse engineering you'll be able to
use the AMR hw accedelerated encoding/decoding.
Fabio
Attila Nyers wrote:
Hi!
I would like to use AMR or G729 codecs on Windows Mobile with PJSIP in
order to communicate with Nokia S60 SIP stack with other than
PCMU/PCMA codecs. Is there any free/open source solution?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
I am building a client load simulator. Even though we would have 1000s of clients, I would take an example with 3 clients:
A: SIP Port: 8000
B: SIP Port: 8001
C: SIP Port 8002
Now, is there a way to make PJ SIP start sending AND receiving messages from all these 3 different ports, at the same time?
I see that PJSIP can operate with only one port at any given time. Even if we use: pjsua_acc_set_transport and do an pjsip_endpt_acquire_transport, it can still operate with only one port at any given time. So, there is not an easy way for me to make port 8000 (User A) send an INVITE message at the same time while port 8001 (user B) receives an INVITE and port 8002 (user C) receives a BYE.
So, question is:
Is there a way to have PJ SIP send AND receive from different ports at the same time?
Bala
Can pjsip listen to more than one port at the same time? I am writing a load simulator, where I am simulating many clients, and each client has its own SIP port on which it listens (and transmits) with the server.
This is better explained as below:
Even though we would have 1000s of clients, I would take an example with 3 clients:
A: SIP Port: 8000
B: SIP Port: 8001
C: SIP Port 8002
Now, is there a way to make PJ SIP start sending AND receiving messages from all these 3 different ports, at the same time?
I see that PJSIP can operate with only one port at any given time. Even if we use: pjsua_acc_set_transport and do an pjsip_endpt_acquire_transport, it can still operate with only one port at any given time. So, there is not an easy way for me to make port 8000 (User A) send an INVITE message at the same time while port 8001 (user B) receives an INVITE and port 8002 (user C) receives a BYE.
Bala
Create mutliple transports
regards
klaus
Muthusamy, Balamurugan schrieb:
Can pjsip listen to more than one port at the same time? I am writing a
load simulator, where I am simulating many clients, and each client has
its own SIP port on which it listens (and transmits) with the server.
This is better explained as below:
Even though we would have 1000s of clients, I would take an example with
3 clients:
A: SIP Port: 8000
B: SIP Port: 8001
C: SIP Port 8002
Now, is there a way to make PJ SIP start sending AND receiving messages
from all these 3 different ports, at the same time?
I see that PJSIP can operate with only one port at any given time. Even
if we use: pjsua_acc_set_transport and do an
pjsip_endpt_acquire_transport, it can still operate with only one port
at any given time. So, there is not an easy way for me to make port
8000 (User A) send an INVITE message at the same time while port 8001
(user B) receives an INVITE and port 8002 (user C) receives a BYE.
Bala
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
There seems to be a small technical difficulty in the design of pjsip relating to your explain.
Benny mentions this in the post (http://osdir.com/ml/voip.pjsip/2007-07/msg00233.html):
"If you want each account to have its own UDP transport (you don't have to!), then you can create multiple UDP transports, and lock the account to a specific UDP transport with pjsua_acc_set_transport()."
So, I did just that and also used: pjsip_endpt_acquire_transport (as suggested by Klaus). This causes the internal code to fail, since we have global static variables, which keeps overwriting the data of different threads. The following scenario might help to understand a bit better:
In the first thread, if data is being sent out from port "A" (for client "A"), then we set the pjsip_endpt_acquire_transport to "A".
At the next instant, if I have another thread keep listening on pjsip_endpt_handle_events for port "B", then we have to set pjsip_endpt_acquire_transport to "B".
Unfortunately the ports eventually get over-written in the pjsip system, where both the threads start using the same internal end point. So, even if I want to transmit using port "A", the first thread is now using port "B", since the pjsip_endpt_acquire_transport happened last for port "B".
Does this clarify the issue?
Bala
-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Klaus Darilion
Sent: Monday, August 03, 2009 1:43 AM
To: pjsip list
Cc: Gallardo, Gabriel
Subject: Re: [pjsip] How to tweak PJ SIP to listen to more than one port at the same time?
Create mutliple transports
regards
klaus
Muthusamy, Balamurugan schrieb:
Can pjsip listen to more than one port at the same time? I am writing a
load simulator, where I am simulating many clients, and each client has
its own SIP port on which it listens (and transmits) with the server.
This is better explained as below:
Even though we would have 1000s of clients, I would take an example with
3 clients:
A: SIP Port: 8000
B: SIP Port: 8001
C: SIP Port 8002
Now, is there a way to make PJ SIP start sending AND receiving messages
from all these 3 different ports, at the same time?
I see that PJSIP can operate with only one port at any given time. Even
if we use: pjsua_acc_set_transport and do an
pjsip_endpt_acquire_transport, it can still operate with only one port
at any given time. So, there is not an easy way for me to make port
8000 (User A) send an INVITE message at the same time while port 8001
(user B) receives an INVITE and port 8002 (user C) receives a BYE.
Bala
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Hi!
I thought that it should work by specifying the transport_id in the
pjsua_acc_config structure. But I never tried it.
Maybe there are some bugs in pjsip.
regards
klaus
Muthusamy, Balamurugan schrieb:
There seems to be a small technical difficulty in the design of pjsip relating to your explain.
Benny mentions this in the post (http://osdir.com/ml/voip.pjsip/2007-07/msg00233.html):
"If you want each account to have its own UDP transport (you don't have to!), then you can create multiple UDP transports, and lock the account to a specific UDP transport with pjsua_acc_set_transport()."
So, I did just that and also used: pjsip_endpt_acquire_transport (as suggested by Klaus). This causes the internal code to fail, since we have global static variables, which keeps overwriting the data of different threads. The following scenario might help to understand a bit better:
In the first thread, if data is being sent out from port "A" (for client "A"), then we set the pjsip_endpt_acquire_transport to "A".
At the next instant, if I have another thread keep listening on pjsip_endpt_handle_events for port "B", then we have to set pjsip_endpt_acquire_transport to "B".
Unfortunately the ports eventually get over-written in the pjsip system, where both the threads start using the same internal end point. So, even if I want to transmit using port "A", the first thread is now using port "B", since the pjsip_endpt_acquire_transport happened last for port "B".
Does this clarify the issue?
Bala
-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Klaus Darilion
Sent: Monday, August 03, 2009 1:43 AM
To: pjsip list
Cc: Gallardo, Gabriel
Subject: Re: [pjsip] How to tweak PJ SIP to listen to more than one port at the same time?
Create mutliple transports
regards
klaus
Muthusamy, Balamurugan schrieb:
Can pjsip listen to more than one port at the same time? I am writing a
load simulator, where I am simulating many clients, and each client has
its own SIP port on which it listens (and transmits) with the server.
This is better explained as below:
Even though we would have 1000s of clients, I would take an example with
3 clients:
A: SIP Port: 8000
B: SIP Port: 8001
C: SIP Port 8002
Now, is there a way to make PJ SIP start sending AND receiving messages
from all these 3 different ports, at the same time?
I see that PJSIP can operate with only one port at any given time. Even
if we use: pjsua_acc_set_transport and do an
pjsip_endpt_acquire_transport, it can still operate with only one port
at any given time. So, there is not an easy way for me to make port
8000 (User A) send an INVITE message at the same time while port 8001
(user B) receives an INVITE and port 8002 (user C) receives a BYE.
Bala
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org