[Pkg-voip-commits] [janus] 243/282: Only list RTSP info when querying mountpoint if libcurl is available

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit eef759bc761d2783cef3b310562d7dad53305847
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Mon Dec 4 10:36:09 2017 +0100

    Only list RTSP info when querying mountpoint if libcurl is available
---
 plugins/janus_streaming.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/janus_streaming.c b/plugins/janus_streaming.c
index 3c4c63a..3eba291 100644
--- a/plugins/janus_streaming.c
+++ b/plugins/janus_streaming.c
@@ -1437,6 +1437,7 @@ struct janus_plugin_result *janus_streaming_handle_message(janus_plugin_session
 		} else if(mp->streaming_source == janus_streaming_source_rtp) {
 			janus_streaming_rtp_source *source = mp->source;
 			gint64 now = janus_get_monotonic_time();
+#ifdef HAVE_LIBCURL
 			if(source->rtsp) {
 				json_object_set_new(ml, "rtsp", json_true());
 				if(admin) {
@@ -1448,6 +1449,7 @@ struct janus_plugin_result *janus_streaming_handle_message(janus_plugin_session
 						json_object_set_new(ml, "rtsp_pwd", json_string(source->rtsp_password));
 				}
 			}
+#endif
 			if(source->keyframe.enabled) {
 				json_object_set_new(ml, "videobufferkf", json_true());
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list