From af8c27e5c8d1875b62f87380831d9c86b05bd382 Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Mon, 7 Dec 2020 17:12:19 +0100 Subject: [PATCH 1/2] Added support for binary data recordings --- Makefile.am | 2 + html/recordplaytest.html | 4 + html/recordplaytest.js | 43 +++++++--- plugins/janus_recordplay.c | 142 ++++++++++++++++++++++++---------- postprocessing/janus-pp-rec.c | 80 ++++++++++++++----- postprocessing/pcap2mjr.c | 2 +- postprocessing/pp-binary.c | 92 ++++++++++++++++++++++ postprocessing/pp-binary.h | 23 ++++++ record.c | 4 +- 9 files changed, 319 insertions(+), 73 deletions(-) create mode 100644 postprocessing/pp-binary.c create mode 100644 postprocessing/pp-binary.h diff --git a/Makefile.am b/Makefile.am index aab90bd297..67b3b78035 100644 --- a/Makefile.am +++ b/Makefile.am @@ -593,6 +593,8 @@ janus_pp_rec_SOURCES = \ postprocessing/pp-rtp.h \ postprocessing/pp-srt.c \ postprocessing/pp-srt.h \ + postprocessing/pp-binary.c \ + postprocessing/pp-binary.h \ postprocessing/pp-webm.c \ postprocessing/pp-webm.h \ postprocessing/janus-pp-rec.c \ diff --git a/html/recordplaytest.html b/html/recordplaytest.html index 66b87dbda6..d46832603c 100644 --- a/html/recordplaytest.html +++ b/html/recordplaytest.html @@ -93,6 +93,10 @@

Remote Video