forked from mirrors/linphone-iphone
Merge branch 'video-only'
This commit is contained in:
commit
240d41eca6
1 changed files with 4 additions and 3 deletions
|
|
@ -1426,8 +1426,7 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
|
|||
SalProtoRtpAvp,SalVideo);
|
||||
#endif
|
||||
|
||||
if(call->audiostream == NULL)
|
||||
{
|
||||
if ((call->audiostream == NULL) && (call->videostream == NULL)) {
|
||||
ms_fatal("start_media_stream() called without prior init !");
|
||||
return;
|
||||
}
|
||||
|
|
@ -1439,7 +1438,9 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
|
|||
use_arc=FALSE;
|
||||
}
|
||||
#endif
|
||||
linphone_call_start_audio_stream(call,cname,all_inputs_muted,send_ringbacktone,use_arc);
|
||||
if (call->audiostream!=NULL) {
|
||||
linphone_call_start_audio_stream(call,cname,all_inputs_muted,send_ringbacktone,use_arc);
|
||||
}
|
||||
call->current_params.has_video=FALSE;
|
||||
if (call->videostream!=NULL) {
|
||||
linphone_call_start_video_stream(call,cname,all_inputs_muted);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue