-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix oneway video sdp on answering call (#2615)
* call: add sent_answer bool * static_menu: answerdir: set mdir if no SDP answer sent If answerdir is called and no SDP answer has been sent before, we have to call `call_set_media_direction` which sets the media directions of the streams because in this case they have not been set before.
- Loading branch information
1 parent
36535a6
commit 8347ada
Showing
3 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8347ada
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, how the answer could have been sent before the call is answered, i.e., before user gives
/acceptdir
command?8347ada
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first SDP answer can be sent with a 183 Session Progress. The second answer then is SIP 200 Answering with same SDP.
8347ada
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8347ada
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nobody said this. The baresip core calls
call_progress()
if the account was configured for early-media. Please see ua.c functioncall_event_handler()
!8347ada
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I tried to find menu command to answer with early media.