Browse Source

Record answer SDP to recording metadata file

We record the answer SDP (not offer) to the metadata file, separeted by
newlines. It is after the PCAP file URL and before the timestamps. Maybe
we should be writing the rewritten SDP.
pull/245/head
Dylan Mikus 10 years ago
committed by Eric Green
parent
commit
b35ca7ded2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/call_interfaces.c

+ 4
- 0
daemon/call_interfaces.c View File

@ -693,6 +693,10 @@ static const char *call_offer_answer_ng(bencode_item_t *input, struct callmaster
if (recordcall.s) {
set_record_call(call, recordcall);
}
struct recording *recording = call->recording;
if (call->record_call && recording != NULL && recording->meta_fp != NULL) {
fprintf(recording->meta_fp, "\n%s\n", sdp.s);
}
}
bencode_dictionary_get_str(input, "metadata", &metadata);


Loading…
Cancel
Save