-
Notifications
You must be signed in to change notification settings - Fork 865
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
Improve description of latency related options (e.g. SRTO_RCVLATENCY) #1210
Comments
SRTO_RCVLATENCY
option back to SRTO_TSBPDDELAY
Hi! It seems that https://github.com/Haivision/srt/pull/1364/files removed I'm asking, because the upgrade from 1.4.1 to 1.4.2 broke building VLC (on Arch Linux), which relied upon |
Fix issue with srt 1.4.2 (Haivision/srt#1210 (comment)). Remove makepkg internal function 'msg2' and replace with echo. Add libupnp related sodeps to depends. git-svn-id: file:///srv/repos/svn-packages/svn@396570 eb2447ed-0c53-47e4-bac8-5bc4a241df78
Fix issue with srt 1.4.2 (Haivision/srt#1210 (comment)). Remove makepkg internal function 'msg2' and replace with echo. Add libupnp related sodeps to depends. git-svn-id: file:///srv/repos/svn-packages/svn@396570 eb2447ed-0c53-47e4-bac8-5bc4a241df78
Hi @dvzrv There are several topics touched in your question. I will split my answer accordingly. 1. Deprecating SRTO_LATENCY
2. Deprecation procedure.To remove a socket option or an API function we have to follow a deprecation procedure (to be described in the Developer's Guide). This option/function is marked with a deprecation attribute and kept so fo several SRT releases. The deprecation attribute produces a build warning. thus letting a user know about this deprecation and that some steps have to be applied to use a new function or name. 3. Removed SRTO_TSBPDDELAY
4. Recommendations on
|
Note: The description was changed.
Since the introduction of a bidirectional transmission, there are two latency settings, one per direction. The SRTO_TSBPDDELAY name comes from the times before it. The negotiated (effective) latency in a particular direction is available through
SRTO_PEERLATENCY
on the sender side andSRTO_RCVLATENCY
on the receiver side. The existingSRTO_LATENCY
option just sets both options to the same value to simplify configuration for a general user.Latency related option names are a bit confusing. For example, a better name for
SRTO_PEERLATENCY
might beSRTO_PEERRCVLATENCY
.Likely the best and easiest way to reduce the confusion and unclearness would be to improve the description of socket options:
SRTO_PEERLATENCY
SRTO_RCVLATENCY
SRTO_LATENCY
The text was updated successfully, but these errors were encountered: