-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MT#60693 sdp_create: set port to 0 if no FD found
In case when the `packet_stream`, selected via the media being iterated, has no `->selected_sfd`, just set the port value to 0. Also skip adding any further attributes, like connection information or any other, since this media by fact is not accepted. This is a usecase for OSRTP related scenarios, where RTP media session can have 0 port set. Change-Id: I7784b80e7d51d19106ea30db585143375a5ba050
- Loading branch information
Showing
1 changed file
with
12 additions
and
9 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