[sr-dev] [kamailio/kamailio] rtp_media_server: adding module (#1701)

Julien Chavanton notifications at github.com
Sat Nov 3 23:40:32 CET 2018


jchavanton commented on this pull request.



> +{
+	if(rank == PROC_MAIN) {
+		int pid;
+		pid = fork_process(PROC_XWORKER, "RTP_media_server", 1);
+		if(pid < 0)
+			return -1;
+		if(pid == 0) {
+			rms_session_manage_loop();
+			return 0;
+		}
+	}
+	int rtn = 0;
+	return (rtn);
+}
+
+int rms_str_dup(str *dst, str *src, int shared)

Same topic as before, since they do not convert to `\0` terminated `char *` they are not flexible in this case.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181103/44a91984/attachment-0001.html>


More information about the sr-dev mailing list