|
Hi, While reading the documentation and source code, I noticed a statement that caught my attention:
I dug into the source code to validate this claim. Here's what I found: OVT Publisher ( The publisher correctly uses There's also this comment in the same file: // It is only called when the OVT runs over TCP or SRT
// this version of OVT does not need to be considered because
// it does not use UDP but only tcp or srt.OVT Provider ( However, on the Edge side (the client/pull side), the socket pool is hardcoded to TCP: _client_socket_pool = ov::SocketPool::Create(
"OvtProvider",
ov::SocketType::Tcp, // hardcoded
false
);And in Questions:
The reason I'm asking is that SRT transport between Origin and Edge would be valuable for deployments where the inter-server link quality is variable (e.g., across public internet between data centers), as SRT's reliability mechanisms would help maintain stream continuity without adding a separate relay layer. Thanks in advance for your help! |
Replies: 2 comments 5 replies
|
Your reading matches the current source: the edge/pull side is TCP-only. On the origin/publisher side, port_config.GetSocketType()so the publisher side is socket-type configurable. On the edge/provider side, ov::SocketPool::Create("OvtProvider", ov::SocketType::Tcp, false)and The docs also show origin-edge So based on current source, OVT-over-SRT is not fully implemented for origin-edge pull. The origin listener may have SRT-related plumbing, but the edge OVT provider would need implementation work to create/connect SRT sockets and a documented configuration/scheme for selecting it. I would treat the docs sentence as ahead of the implementation unless a maintainer points to another branch/config path. |
|
In the past, OVT could be used based on SRT, but currently it operates only with TCP. This is because situations where packet loss between Origin and Edge is allowed have resulted in worse experiences in actual commercial environments. The comments and manuals are remnants of the past; I think they need to be corrected. We intend to provide an option to select SRT-based OVT in the future, but it is not a high priority. |
In the past, OVT could be used based on SRT, but currently it operates only with TCP. This is because situations where packet loss between Origin and Edge is allowed have resulted in worse experiences in actual commercial environments. The comments and manuals are remnants of the past; I think they need to be corrected.
We intend to provide an option to select SRT-based OVT in the future, but it is not a high priority.