From 931c0c7ed776a87fb9aa690b1273ce8b03a04edf Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 27 Feb 2024 11:17:59 -0500 Subject: [PATCH] MT#59038 use recording monologue setup wrapper Lets us add more setup code that is recording method agnostic. Change-Id: I6fcce1603e07b56ac76cd78d8b591026f5638fcf --- daemon/recording.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemon/recording.c b/daemon/recording.c index 2209305a1..5120087fc 100644 --- a/daemon/recording.c +++ b/daemon/recording.c @@ -338,6 +338,10 @@ static void recording_update_flags(call_t *call, bool streams) { _rm(update_flags, call, streams); } +static void rec_setup_monologue(struct call_monologue *ml) { + recording_setup_monologue(ml); +} + // lock must be held void recording_start_daemon(call_t *call) { if (call->recording) { @@ -376,7 +380,7 @@ void recording_start_daemon(call_t *call) { // is essentially a no-op for (__auto_type l = call->monologues.head; l; l = l->next) { struct call_monologue *ml = l->data; - recording_setup_monologue(ml); + rec_setup_monologue(ml); } for (__auto_type l = call->medias.head; l; l = l->next) { struct call_media *m = l->data;