Browse Source

MT#59038 use recording monologue setup wrapper

Lets us add more setup code that is recording method agnostic.

Change-Id: I6fcce1603e07b56ac76cd78d8b591026f5638fcf
pull/1808/head
Richard Fuchs 2 years ago
parent
commit
931c0c7ed7
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      daemon/recording.c

+ 5
- 1
daemon/recording.c View File

@ -338,6 +338,10 @@ static void recording_update_flags(call_t *call, bool streams) {
_rm(update_flags, call, streams); _rm(update_flags, call, streams);
} }
static void rec_setup_monologue(struct call_monologue *ml) {
recording_setup_monologue(ml);
}
// lock must be held // lock must be held
void recording_start_daemon(call_t *call) { void recording_start_daemon(call_t *call) {
if (call->recording) { if (call->recording) {
@ -376,7 +380,7 @@ void recording_start_daemon(call_t *call) {
// is essentially a no-op // is essentially a no-op
for (__auto_type l = call->monologues.head; l; l = l->next) { for (__auto_type l = call->monologues.head; l; l = l->next) {
struct call_monologue *ml = l->data; 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) { for (__auto_type l = call->medias.head; l; l = l->next) {
struct call_media *m = l->data; struct call_media *m = l->data;


Loading…
Cancel
Save