How to get bandwidth information in pjsip

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

 



Hi Fedot, here it is

Call time: 00h:00m:06s, 1st res in 1592 ms, conn in 6512ms
    #0 audio PCMU @8kHz, sendrecv, peer=120.138.69.157:33380
       SRTP status: Not active Crypto-suite: (null)
       RX pt=0, last update:00h:00m:01.891s ago
          total 337pkt 53.9KB (67.4KB +IP hdr) @avg=62.5Kbps/78.1Kbps
          pkt loss=2 (0.6%), discrd=0 (0.0%), dup=0 (0.0%), reord=0 (0.0%)
                (msec)    min     avg     max     last    dev
          loss period:  20.000  20.000  20.000  20.000   0.000
          jitter     :   1.125  19.350  27.000  18.875   3.951
       TX pt=0, ptime=20, last update:00h:00m:02.260s ago
          total 344pkt 55.0KB (68.8KB +IP hdr) @avg=63.8Kbps/79.7Kbps
          pkt loss=2 (0.6%), dup=0 (0.0%), reorder=0 (0.0%)
                (msec)    min     avg     max     last    dev
          loss period:  40.000  40.000  40.000  40.000   0.000
          jitter     :   0.000   7.375  14.750  14.750   7.375
       RTT msec      : 203.000 203.000 203.000 203.000   0.000

Have you looked at Jitsi, It show bandwidth information. Here is my
questions on stackoverflow that shows Jitsi bandwidth information
http://stackoverflow.com/questions/14252559/how-to-get-bandwidth-information-in-pjsip

It maybe the actual bandwidth used by media layer. How to calculate this
bandwidth information ?

Thanks in advance


On Fri, Jan 11, 2013 at 5:05 PM, Fedot Fedotov <fedot.fedotov at gmail.com>wrote:

> During the call you can call method of pjsua "pjsua_call_dump" in next
> way(for example)
>
> static char some_buf[1024*3];
> pjsua_call_dump(call_id, PJ_TRUE, some_buf, sizeof(some_buf), "  ");
> CString cs =  some_buf;
>
> please post me back what is value of "cs" or "some_buf" variables in your
> case?
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>


-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130116/5c7bdd20/attachment-0001.html>


[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