@jchavanton commented on this pull request.


In src/modules/rtp_media_server/rms_sdp.c:

> +	char sdp_o[128];
+	snprintf(
+			sdp_o, 128, "o=- 1028316687 1 IN IP4 %s\r\n", sdp_info->local_ip.s);
+	body->len += strlen(sdp_o);
+
+	// (connection information -- not required if included in all media)
+	char sdp_c[128];
+	snprintf(sdp_c, 128, "c=IN IP4 %s\r\n", sdp_info->local_ip.s);
+	body->len += strlen(sdp_c);
+
+	char sdp_m[128];
+	snprintf(sdp_m, 128, "m=audio %d RTP/AVP %d\r\n", sdp_info->udp_local_port,
+			payload_type_number);
+	body->len += strlen(sdp_m);
+
+	body->s = pkg_malloc(body->len + 1);

check that none was left unchecked


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.