I am using ortp lib for an application.
Issue:when I try to receive a voice stream using session_set_select() function I don't see calling applicatio being suspended
or blocked at that point instead program counter moves on.I am assuming select func suspends until some events arrive on one of the three sets passed in argument.
I wanted to use "select set" because I am using 2 different rtp sessions in the same thread and wanted to wait on activity.
I have done the initialization as shown below:
recv_session_set = session_set_new();
recv_session = rtp_session_new(RTP_SESSION_RECVONLY);
and the looping code is shown below:
ret=session_set_select(recv_session_set,NULL,NULL); <---------Expecting to get
mb = rtp_session_recvm_with_ts(recv_session, time_stamp);
Am I missing something here.
Thanks for the support in advance.