Browse Source

back to old parser

pull/2009/head
Peter Kelly 1 year ago
parent
commit
8bb41e73dc
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      daemon/call_interfaces.c

+ 13
- 0
daemon/call_interfaces.c View File

@ -1739,6 +1739,19 @@ static void call_ng_main_flags(sdp_ng_flags *out, str *key, bencode_item_t *valu
case CSH_LOOKUP("recording file"): case CSH_LOOKUP("recording file"):
out->recording_file = s; out->recording_file = s;
break; break;
case CSH_LOOKUP("recording-media-slot-offer"):
// This needs to be > 0
out->media_rec_slot_offer = bencode_get_integer_str(value, out->media_rec_slot_offer);
//out->media_rec_slot_offer = parser->get_int_str(value, out->media_rec_slot_offer);
break;
case CSH_LOOKUP("recording-media-slot-answer"):
// This needs to be > 0
out->media_rec_slot_answer = bencode_get_integer_str(value, out->media_rec_slot_answer);
//out->media_rec_slot_answer = parser->get_int_str(value, out->media_rec_slot_answer);
break;
case CSH_LOOKUP("recording-media-slots"):
out->media_rec_slots = parser->get_int_str(value, out->media_rec_slots);
break;
case CSH_LOOKUP("passthrough"): case CSH_LOOKUP("passthrough"):
case CSH_LOOKUP("passthru"): case CSH_LOOKUP("passthru"):
switch (__csh_lookup(&s)) { switch (__csh_lookup(&s)) {


Loading…
Cancel
Save