From 3aa53a1e10d367d352db1c93d337f9616456a9cf Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 23 Feb 2018 14:31:52 -0500 Subject: [PATCH] fix missing setup_media when using start_recording call closes #462 Change-Id: I0e4d53225b03e061de28c3908e59f8816263cbb2 --- daemon/recording.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/recording.c b/daemon/recording.c index 8b0cf5f36..9c4264c88 100644 --- a/daemon/recording.c +++ b/daemon/recording.c @@ -245,6 +245,10 @@ void recording_start(struct call *call, const char *prefix, str *metadata) { // function is called right at the start of the call, all of the following // is essentially a no-op GList *l; + for (l = call->medias.head; l; l = l->next) { + struct call_media *m = l->data; + recording_setup_media(m); + } for (l = call->streams.head; l; l = l->next) { struct packet_stream *ps = l->data; recording_setup_stream(ps);