Browse Source

Merge branch 'add-label' of https://github.com/aalba6675/rtpengine

Change-Id: Ia5defcaf67bc8a00644f719ff6bd26566908cbfc
changes/88/19588/3
Richard Fuchs 8 years ago
parent
commit
4be4f13ce0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      daemon/recording.c

+ 3
- 0
daemon/recording.c View File

@ -350,6 +350,9 @@ static void sdp_after_pcap(struct recording *recording, GString *str, struct cal
// File pointers buffer data, whereas direct writing using the file
// descriptor does not. Make sure to flush any unwritten contents
// so the file contents appear in order.
if (ml->label.len) {
fprintf(meta_fp, "\nLabel: %*s", ml->label.len, ml->label.s);
}
fprintf(meta_fp, "\nSDP mode: ");
fprintf(meta_fp, "%s", get_opmode_text(opmode));
fprintf(meta_fp, "\nSDP before RTP packet: %" PRIu64 "\n\n", recording->u.pcap.packet_num);


Loading…
Cancel
Save