Browse Source

fix missing setup_media when using start_recording call

closes #462

Change-Id: I0e4d53225b03e061de28c3908e59f8816263cbb2
pull/472/merge
Richard Fuchs 8 years ago
parent
commit
3aa53a1e10
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/recording.c

+ 4
- 0
daemon/recording.c View File

@ -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);


Loading…
Cancel
Save