MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / get_rtpp_set

Function get_rtpp_set

modules/rtpproxy/rtpproxy.c:2654–2672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2652
2653
2654struct rtpp_set * get_rtpp_set(nh_set_param_t *pset)
2655{
2656 struct rtpp_set *set;
2657
2658 if (!pset)
2659 return *default_rtpp_set;
2660
2661 if (pset->t == NH_VAL_SET_FIXED)
2662 return pset->v.fixed_set;
2663
2664 LM_DBG("Checking proxy set %d\n", pset->v.int_set);
2665
2666 set = select_rtpp_set(pset->v.int_set);
2667 if (!set)
2668 LM_ERR("cannot find any available rtpproxy engine in set %d\n",
2669 pset->v.int_set);
2670
2671 return set;
2672}
2673
2674
2675static inline void rtpp_get_nt_str_param(str *param, str *val, int n)

Callers 9

rtpproxy_streamFunction · 0.85
rtpproxy_stop_streamFunction · 0.85
unforce_rtp_proxy_fFunction · 0.85
engage_close_callbackFunction · 0.85
engage_rtp_proxy5_fFunction · 0.85
force_rtp_proxyFunction · 0.85
rtpproxy_stats_fFunction · 0.85
rtpproxy_all_stats_fFunction · 0.85
rtpproxy_recordingFunction · 0.85

Calls 1

select_rtpp_setFunction · 0.85

Tested by

no test coverage detected