Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加kcp-go的 fec配置 #322

Merged
merged 1 commit into from
May 31, 2024
Merged

增加kcp-go的 fec配置 #322

merged 1 commit into from
May 31, 2024

Conversation

luodaoyi
Copy link
Contributor

@luodaoyi luodaoyi commented May 30, 2024

虽然kcp对丢包超时等情况做了大量优化,
但是在一些实时较高的场景(比如游戏)还是难以接受。此时fec就可以和kcp一起使用,利用fec的纠错机制进一步减少重传

相关阅读:

https://vearne.cc/archives/39331
https://github.com/xtaci/kcp-go/blob/master/fec_test.go
https://github.com/wangyu-/UDPspeeder/blob/branch_libev/doc/README.zh-cn.md

https://segmentfault.com/a/1190000041690310

虽然kcp对丢包超时等情况做了大量优化,但是在一些实时较高的场景(比如游戏)还是难以接受。此时fec就可以和kcp一起使用,利用fec的纠错机制进一步减少重传
@luodaoyi
Copy link
Contributor Author

兼容Fec的 Client:

IOS / Android:
https://github.com/xtaci/libkcp

windows msvc:
https://github.com/luodaoyi/libkcp-msvc

@aceld
Copy link
Owner

aceld commented May 31, 2024

@luodaoyi 感谢提交PR!

@aceld aceld merged commit 4f1e83a into aceld:master May 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants