Comments (3)
I can confirm that the it seem so:
// in srtcore/core.cpp
CIPAddress::pton((m_parent->m_SelfAddr), m_piSelfIP, agent.family(), peer);
from srt-rs.
Yeah, so I'm pretty sure the "correct" way to do this the packet needs to know if it's being send/received from an ipv6 socket, so it will require a bit of reorganization (right now it just "guesses" by the lower bytes in the ipv6 address)
from srt-rs.
For anyone who would want to take this issue:
- Look at the reference implementation's treatment of this, make sure my assumption is correct
- Allow packet parsing to know if it's IPV4 or IPV6 (or, alternatively, just store the IP buffer in the packet and rely on the implementation to know), I'm willing to be convinced either way. I'd prefer the first if it's not too messy, to keep the packet structure "pure"
- Add tests using IPv6
from srt-rs.
Related Issues (20)
- Buffer size is constantly growing while receiving packets (memory leak or... ?). HOT 2
- Implement Packet Pacing and Live Congestion Control (LiveCC) according to the latest spec. HOT 1
- Sender does not timeout HOT 2
- Demux srt mpegts stream through ffmpeg HOT 4
- The receiver stops receiving data unexpectedly.
- Limit send buffer size HOT 4
- duplicate the srt-live-transmit srt url syntax HOT 1
- Not compatiable with SRT < 1.3.0 (Support HSv4) HOT 17
- Multiplex server drops a client after a couple of seconds.
- Too late packets. HOT 28
- Multithread connections HOT 3
- Gathering statistics on SrtListener is blocked unless all clients are dropped HOT 2
- Possibility to variate the latency HOT 2
- Use url > 2.1.0 HOT 11
- Release new version on crates.io HOT 6
- Use dependabot to track and automate dependencies update
- Implement key size mismatch HOT 1
- Handle server rejection properly
- tokio::net::lookup_host does not resolve
- Unclear debugging when buffers are too small HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srt-rs.