[Pkg-voip-commits] [janus] 218/282: Fixed typo in Record&Play (caused old recordings not to replay)

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:43 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 cdd9e535072f510906805b8287929b669e02565f
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Wed Nov 29 18:42:16 2017 +0100

    Fixed typo in Record&Play (caused old recordings not to replay)
---
 plugins/janus_recordplay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/janus_recordplay.c b/plugins/janus_recordplay.c
index 18634fe..7c384c3 100644
--- a/plugins/janus_recordplay.c
+++ b/plugins/janus_recordplay.c
@@ -477,11 +477,11 @@ static const char *janus_recordplay_parse_codec(const char *dir, const char *fil
 				if(prebuffer[0] == 'v') {
 					JANUS_LOG(LOG_VERB, "This is an old video recording, assuming VP8\n");
 					fclose(file);
-					return "opus";
+					return "vp8";
 				} else if(prebuffer[0] == 'a') {
 					JANUS_LOG(LOG_VERB, "This is an old audio recording, assuming Opus\n");
 					fclose(file);
-					return "vp8";
+					return "opus";
 				}
 			}
 			JANUS_LOG(LOG_WARN, "Unsupported recording media type...\n");

-- 
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