What does "probation=-1" mean?

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

 



Hey,

if you look into the rtp.h:
pj_uint32_t    probation;      /**< Sequ. packets till source is valid */
int probation:1;/**< Indicates that session is in probation
 until more packets are received.    */

It's part of the pjmedia_rtp_seq_session.
Which is used by e.g.:
 void pjmedia_rtp_seq_init(pjmedia_rtp_seq_session *sess, pj_uint16_t seq)
{
    pjmedia_rtp_seq_restart(sess, seq);

    sess->max_seq = (pj_uint16_t) (seq - 1);
    sess->probation = MIN_SEQUENTIAL;
}

Up from there you should be able to trace down the position where you can
manipulate it.

Hope it helped

Cheers
Frank



2014-05-23 10:06 GMT+02:00 David <just_bytesize at yahoo.co.uk>:

> Does anyone know if it's possible to disable the probation feature?
>
> Dave
>
> On 12/05/2014 12:26, David wrote:
>
>> Hello,
>>
>> What does "probation=-1" mean?
>>
>> RTP status: badpt=0, badssrc=0, dup=0, outorder=0, probation=-1, restart=0
>>
>> I did the usual googling but couldn't find an explanation.
>>
>> Thanks,
>>
>> Dave
>>
>>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140523/2b76e199/attachment.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