[Asterisk-video] amr audio continued

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jul 15 02:57:27 CDT 2008


Andrew Buchanan wrote:
> Hi Klaus,
> 
> I just tried ignoring the audio check and setting the
> audioType,audioFormat,audioControl parameters anyways and then app_rtsp
> will start getting the audio stream and I do hear audio in xlite.  It's
> a bit delayed and the quality is awful, but I can make out enough to
> confirm that it is the actual audio stream from the camera.  This also
> means amr audio must be working in my asterisk install because the
> camera sends amr and x-lite only has g711u enabled.

Could you make some tests -e.g. playback of a video file with AMR audio 
stream to verify if the quality is still bad (use mp4_play(), .3gp 
videos for testing can be found with google)

You can also try to record the stream from the camera using mp4_save() 
and then watch the stream using another player, e.g. VLC.

Have you tried connecting to the webcam directly e.g. with VLC? How is 
the audioquality?


> 
> So apparently the check "if (sdp->audio->formats[i]->format &
> chan->nativeformats)" shouldn't be failing.  The question becomes, is
> the check not written properly, or is my install of asterisk not
> configured properly or not setting the nativeformats parameter properly?

I think it is a bug in app_rtsp.


regards
Klaus



More information about the asterisk-video mailing list