[pjsip] What does "probation=-1" mean?

David just_bytesize at yahoo.co.uk
Mon May 26 01:43:44 EDT 2014


Hi Frank,

Thanks for the pointer. Would I be right in thinking if I set 
MIN_SEQUENTIAL to 0 it will effectively disable probation?

Dave


On 23/05/2014 13:31, Frank Haase wrote:
> Hey,
>
> if you look into the rtp.h:
> pj_uint32_t   probation;      /**< Sequ. packets till source is valid */
> intprobation: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 
> <mailto: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 <mailto:pjsip at lists.pjsip.org>
>     http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>
>
> _______________________________________________
> 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/20140526/d9833e68/attachment-0002.html>


More information about the pjsip mailing list