| 6840 | |
| 6841 | #ifdef PCAPPLAY |
| 6842 | void *send_wrapper(void *arg) |
| 6843 | { |
| 6844 | play_args_t *s = (play_args_t *) arg; |
| 6845 | //struct sched_param param; |
| 6846 | //int ret; |
| 6847 | //param.sched_priority = 10; |
| 6848 | //ret = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); |
| 6849 | //if(ret) |
| 6850 | // ERROR("Can't set RTP play thread realtime parameters"); |
| 6851 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nullptr); |
| 6852 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nullptr); |
| 6853 | send_packets(s); |
| 6854 | pthread_exit(nullptr); |
| 6855 | return nullptr; |
| 6856 | } |
| 6857 | #endif |
| 6858 | |
| 6859 | #ifdef GTEST |
nothing calls this directly
no test coverage detected