2008年5月27日 星期二

Enable the ortp debug mode

If you want to show the message output by the ortp_debug function, you must configure the options as following
./configure --prefix=/usr --enable-debug=yes

Some question
It seems we don't call the "rtp_session_recv_with_ts" function, but the ortp internally will run this function and output the following messages.
ortp-debug-Queue is empty.
ortp-debug-[rtpsession.c:993] No mp for timestamp 0 queried
ortp-debug-rtp_session_recvm_with_ts: packet_time=10, time=10
ortp-debug-someone is calling me, ts=160
ortp-debug-Queue is empty.
ortp-debug-[rtpsession.c:993] No mp for timestamp 160 queried
ortp-debug-rtp_session_recvm_with_ts: packet_time=30, time=10
ortp-debug-someone is calling me, ts=320
ortp-debug-Queue is empty.
ortp-debug-[rtpsession.c:993] No mp for timestamp 320 queried
ortp-debug-rtp_session_recvm_with_ts: packet_time=50, time=30

沒有留言: