Changes between Version 3 and Version 4 of pjsip-doc/media_quality


Ignore:
Timestamp:
Dec 5, 2013 6:12:38 AM (10 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pjsip-doc/media_quality

    v3 v4  
    77Audio Quality 
    88============= 
     9If you experience any problem with the audio quality, you may want to try the steps below: 
     10 
     111. Follow the guide: `Test the sound device using pjsystest`_. 
     122. Identify the sound problem and troubleshoot it using the steps described in: `Checking for sound problems`_. 
     13 
     14.. _`Checking for sound problems`: http://trac.pjsip.org/repos/wiki/sound-problems 
     15.. _`Test the sound device using pjsystest`: http://trac.pjsip.org/repos/wiki/Testing_Audio_Device_with_pjsystest 
     16 
     17It is probably easier to do the testing using lower level API such as PJSUA since we already have a built-in pjsua sample app located in pjsip-apps/bin to do the testing. However, you can also do the testing in your application using PJSUA2 API such as local audio loopback, recording to WAV file as explained in the Media chapter previously. 
    918 
    1019Video Quality 
    1120============= 
     21For video quality problems, the steps are as follows: 
     22 
     231. For lack of video, check account's AccountVideoConfig, especially the fields autoShowIncoming and autoTransmitOutgoing. More about the video API is explained in `Video Users Guide`_. 
     242. Check local video preview using PJSUA API as described in `Video Users Guide-Video Preview API`_. 
     253. Since video requires a larger bandwidth, we need to check for network impairments as described in `Checking Network Impairments`_. The document is for troubleshooting audio problem but it applies for video as well. 
     264. Check the CPU utilization. If the CPU utilization is too high, you can try a different (less CPU-intensive) video codec or reduce the resolution/fps. A general guide on how to reduce CPU utilization can be found here: `FAQ-CPU utilization`_. 
     27 
     28.. _`Video Users Guide`: http://trac.pjsip.org/repos/wiki/Video_Users_Guide 
     29.. _`Video Users Guide-Video Preview API`: http://trac.pjsip.org/repos/wiki/Video_Users_Guide#VideopreviewAPI 
     30.. _`Checking Network Impairments`: http://trac.pjsip.org/repos/wiki/audio-check-packet-loss 
     31.. _`FAQ-CPU utilization`: http://trac.pjsip.org/repos/wiki/FAQ#cpu 
    1232 
    1333}}}