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

Function rtpengine_api_copy_delete

modules/rtpengine/rtpengine.c:5305–5315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5303}
5304
5305static int rtpengine_api_copy_delete(struct rtp_relay_session *sess,
5306 struct rtp_relay_server *server, void *subs, str *flags)
5307{
5308 bencode_item_t *ret;
5309 ret = rtpengine_api_copy_op(sess, OP_UNSUBSCRIBE,
5310 server, subs, flags, 0, NULL);
5311 if (!ret)
5312 return -1;
5313 bencode_buffer_free(bencode_item_buffer(ret));
5314 return ret != NULL;
5315}
5316
5317static int rtpengine_api_copy_serialize(void *_ctx, bin_packet_t *packet)
5318{

Callers

nothing calls this directly

Calls 3

rtpengine_api_copy_opFunction · 0.85
bencode_buffer_freeFunction · 0.85
bencode_item_bufferFunction · 0.85

Tested by

no test coverage detected