forked from ZLMediaKit/ZLToolKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udp socket支持软绑定目标地址 (ZLMediaKit#169)
硬绑定(udp connect)目标地址后可能导致收不到其他地址的报文,所以新增一种可以指定目标发送地址的机制, 这样在调用Socket::send接口时不用指定目标地址,同时又不会导致收不到其他地址的报文。 此特性主要是为了解决rtsp服务器发送rtp(udp)给nat内的播放器失败的问题。
- Loading branch information
Showing
2 changed files
with
24 additions
and
6 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