forked from mirrors/linphone-iphone
Restart media streams when updating them even if only the video stream is running.
This commit is contained in:
parent
3b8e54e6ec
commit
101278f2f0
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ void linphone_core_update_streams(LinphoneCore *lc, LinphoneCall *call, SalMedia
|
|||
if (call->ice_session != NULL) {
|
||||
linphone_core_deactivate_ice_for_deactivated_media_streams(call, call->resultdesc);
|
||||
}
|
||||
if (call->audiostream && call->audiostream->ticker){
|
||||
if ((call->audiostream && call->audiostream->ticker) || (call->videostream && call->videostream->ticker)){
|
||||
/* we already started media: check if we really need to restart it*/
|
||||
if (oldmd){
|
||||
if (!media_parameters_changed(call,oldmd,new_md) && !call->playing_ringbacktone){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue