Browse Source

fix recording setup_media reversed direction

fixes #462

Change-Id: Id8efec9261ce9edb246f7a838619a93157e049b3
changes/21/19321/2
Richard Fuchs 8 years ago
parent
commit
5b0bb90afa
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      daemon/call.c
  2. +2
    -1
      utils/rtpengine-ng-client

+ 1
- 1
daemon/call.c View File

@ -1689,7 +1689,7 @@ init:
ice_update(other_media->ice_agent, sp);
ice_update(media->ice_agent, NULL); /* this is in case rtcp-mux has changed */
recording_setup_media(other_media);
recording_setup_media(media);
}
return 0;


+ 2
- 1
utils/rtpengine-ng-client View File

@ -44,6 +44,7 @@ GetOptions(
'reset' => \$options{'reset'},
'port-latching' => \$options{'port latching'},
'loop-protect' => \$options{'loop protect'},
'record-call' => \$options{'record call'},
'media-address=s' => \$options{'media address'},
'codec-strip=s@' => \$options{'codec-strip'},
'codec-offer=s@' => \$options{'codec-offer'},
@ -63,7 +64,7 @@ for my $x (split(/,/, 'from-tag,to-tag,call-id,transport protocol,media address,
for my $x (split(/,/, 'TOS,delete-delay')) {
defined($options{$x}) and $packet{$x} = $options{$x};
}
for my $x (split(/,/, 'trust address,symmetric,asymmetric,force,strict source,media handover,sip source address,reset,port latching,no rtcp attribute,loop protect')) {
for my $x (split(/,/, 'trust address,symmetric,asymmetric,force,strict source,media handover,sip source address,reset,port latching,no rtcp attribute,loop protect,record call')) {
defined($options{$x}) and push(@{$packet{flags}}, $x);
}
for my $x (split(/,/, 'origin,session connection')) {


Loading…
Cancel
Save