Open mkrn opened 1 month ago
The network part is a wrapper for Haivision/srt, and it seems that there is nothing HaishinKit can control.
In environments where packet loss occurs, increasing the latency value seems to help compensate for it. There are documents that recommend setting it to 3–4 times the RTT.
Could increasing the latency like this, SRTConnection.open(URL(string: "srt://ip.address?latency=4000")!)
, help resolve the issue?
Thank you! I'm not sure why this happened, but moved on to use HEVC in RTMP for my application it may be better fit.
Describe the bug
I'm transporting SRT to a server nearby ?latency=1500&peerlatency=1500
reading on server with ffmpeg -i "srt://IP?streamid=STREAMID&latency=1500" -c copy -t 60 raw.ts
There are a lot of corrupt packets issues in ffmpeg:
Performance metrics:
round trip varied from 180 - 1000 ms it's on 5G but inside walls
resulting video: https://videos.eventlive.site/streams/OVRSGPWH_raw.ts
To Reproduce
Start SRT stream on less than perfect internet Monitor with ffmpeg See corrupt packets, unable to recover
Encoder Settings:
Expected behavior
Smooth, quick to recover, no corrupt packets
Version
1.9.5
Smartphone info.
iPhone 13 Pro iOS 18
Additional context
No response
Screenshots
No response
Relevant log output
No response