Error in configuration or bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Please see inline comments...

On Mon, Jan 11, 2010 at 3:35 PM, Yuri Maliy
<tesk_terrus at soft-industry.com> wrote:
> ? ?Hi all, I?ve built pjsip libraries v1.5 with APS support and application based on streamutil example for Symbian S60 3rd SDK MR. Now it?s working and streaming voice in two directions but I?ve taken some actions before. Is it my mistakes in configuration of media stream, codec and etc or pjsip bugs?

Honestly, we haven't tried streamutil on Symbian ourselves.

> Workarounds:
> 1) ? ? ?Added stubs for pjmedia_resample_create() and pjmedia_resample_run(). There was no need for this action for Symbian S60 3rd SDK FP1.

If this is about symb_aps_dev.cpp, the resample is only used by APS
wrapper when working with other than 8kHz audio sampling rate,
otherwise the resamplers won't be instantiated.

> 2) ? ? ?Changed if statement ?in pjmedia stream.c(line 1004) because when I used AMR codec which has PJMEDIA_FRAME_TYPE_EXT ? it will never send recorded sound.
> /* Encode audio frame */
> ? ?} else if (frame->type != PJMEDIA_FRAME_TYPE_NONE
> ? ? ? ? ? ? ? ?/*&& frame->buf != NULL*/ )

Just realized this, and sounds like bug. We used to use audio switch
board to work with PJMEDIA_FRAME_TYPE_EXT, in this case frame->buf is
initialized to non-NULL.

> 3) ? ? ?Changed priority selection in symb_aps_dev(line 263). When I?ve started bidirectional sound streaming on Nokia E60 - recording callbacks always comes, but there was no calls for playback queue(EPlayCommQueue).
> ? ? ? ?// use lower priority for comm queues
> ? ? ? ?if ((iType == ERecordCommQueue) /*|| (iType == EPlayCommQueue)*/)
> ? ? ? ? ? ?SetPriority(CActive::EPriorityStandard);
> ? ? ? ?if ((iType == EPlayCommQueue))
> ? ? ? ? ? ?SetPriority(CActive::EPriorityUserInput);
>

Well, haven't experienced this, but sounds like good idea.

BR,
nanang



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux