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

Function fill_rtpproxy_node

modules/rtpproxy/rtpproxy.c:5230–5238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5228}
5229
5230static int fill_rtpproxy_node(struct rtp_relay_server *server,
5231 str *s)
5232{
5233 if (!s->len)
5234 return 0;
5235 if (server->node.s)
5236 shm_free(server->node.s);
5237 return shm_nt_str_dup(&server->node, s);
5238}
5239
5240static int rtpproxy_api_offer(struct rtp_relay_session *sess,
5241 struct rtp_relay_server *server, str *body,

Callers 1

rtpproxy_api_offerFunction · 0.85

Calls 2

shm_freeFunction · 0.85
shm_nt_str_dupFunction · 0.85

Tested by

no test coverage detected