标题 | 简介 | 类型 | 公开时间 | ||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
详情 | |||||||||||||||||||||||||||||||
[SAFE-ID: JIWO-2024-479] 作者: ecawen 发表于: [2017-08-27]
本文共 [746] 位读者顶过
ContentsIntroductionUDP IPTV to RTSP proxy is a lightweight GNU/Linux daemon which, being installed on a LAN router, provides on-demand access to UDP multicast streams via RTSP and unicast RTP protocols. Since version 0.2 the conventional HTTP "continuous download" streaming method is supported. The server itself does not support streaming of any files, it only can receive incoming multicast streams and retransmit them to interested clients. The main purpose of the software is to provide simple IPTV service to small office or home ethernet and/or Wi-Fi LANs where upgrading network to handle multicast correctly is not an option. The software is not intended to handle large scale installations and service clients you don't trust (like public Internet). DownloadYou can get the latest development version from SVN repository. Please note that this is a development version and as a free bonus you can expect more bugs than usually. Releases considered stable are in Downloads section. [出自: jiwo.org] Quick Start
Random notes:
HTTP protocol note:There are essentially no signaling between server and client, almost no control over TCP behavior, all this makes error handling and recovery extremely difficult. If server detects that it can not send data to the client in more or less reliable way, the connection will be closed. The server has fixed-sized buffer for streamed data, this buffer will overflow quickly if client can not receive (or decode) data. Overflowed buffer can make streaming data severely damaged, thus preventing client to decode it, making the issue yet worse leaving no chance to recover. Some clients handle network continuous downloads as files, this is wrong. Seehttp://en.wikipedia.org/wiki/Push%E2%80%93pull_strategy for details. In short: server sends data by servers' clock, there's no way to change this. Correct behavior for client would be to receive and process all data same moment it's available. Alternative to this is receiving data by clients' clock. Without proper synchronization (and there're usually none) it is possible socket buffers to overflow (if send rate is higher than receive or stream is damaged) effectively stalling all transmission for this client. OverviewThe software currently implements only a very limited subset of features described in these documents:
The goal is not to implement these completely, only parts that are required by popular software to function properly. RTSP protocol supports PAUSE requests, but this server supposed to work with "live" streams only and does not have any PVR functionality. While it's possible to "pause" streaming, it's impossible to resume from the point it was paused. After resuming, audio/video decoders will act as if there were a big packet loss. It is possible to implement FEC schemes for RTP, but it looks like there no clients supporting FEC now. RTSP Compatibility
Notes:
|