Error in configuration or bug?

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

 



    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? 
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.
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*/ )
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);



[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