开发者

Is RTP suitable for delivery of data files to multiple recipients?

开发者 https://www.devze.com 2022-12-09 21:59 出处:网络
I have a need to transfer files from a single, centralized source to a several hundred client machines.We currently use UDPCast to do this sort of thing, but are looking for more of a standards based

I have a need to transfer files from a single, centralized source to a several hundred client machines. We currently use UDPCast to do this sort of thing, but are looking for more of a standards based approach to solving the problem.

I have been reading through the RTP RFC (1889) and notice that the protocol was primarily developed for streaming media (audio and/or video) to multiple clients. It occurred to me that it might also satisfy my needs for file transfer as well.

Of course, I would need to be able to ensure that all "blocks" of the file that I'm sending are received by each client.

Is RTP suitable for transfer of data files? Can RTCP be used to make sure that all clients receive all of the data that was sent?

开发者_如何学Python

Any guidance would be appreciated.


RTP is not directly designed for reliable block transfer. While you can shoehorn stuff on top of it to implement a reliable transfer protocol using RTP as a lower layer, this is stuffing a square peg in a round hole.

File transfer protocols exist in abundance; you should probably look at something like the Bittorrent protocol, or a subset of it since you apparently don't need peer-to-peer (but you can use it as a one-to-many protocol if you want).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号