multicast and data loss

About encoding, codec settings, muxers and filter usage
ded
New Cone
New Cone
Posts: 3
Joined: 29 Nov 2009 15:29

multicast and data loss

Postby ded » 05 Dec 2009 08:43

hello !

i would like to stream in multicast over a wifi network.there is more than one wifi accesspoint and a clients could forward 3 or 4 wifi routers.
this network has data loss and latency is really variable.
i read on wikipedia that TS use Reed-Solomon code like parchive(PAR2) to correct small data loss or transmission errors.is that possible to increase the number of correction symbols ? or there and other way to stream over this network(unicast is not possible)?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: multicast and data loss

Postby Rémi Denis-Courmont » 05 Dec 2009 09:26

Most access points can't tolerate multicast at streaming rate. This is a bandwidth problem. No error correction can fix that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ded
New Cone
New Cone
Posts: 3
Joined: 29 Nov 2009 15:29

Re: multicast and data loss

Postby ded » 06 Dec 2009 11:09

thanks for this reply.

is there a way to check the maximum multicast bandwith like iperf on linux?

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: multicast and data loss

Postby thannoy » 08 Dec 2009 14:39

multicast implies UDP, so unreliable especially over wifi and loaded networks.
If another peer send a packet to the wifi AP at the time one of yours is being sent, both packets will be merged and unreadable, they will need to be resent. In fact the same occurs on cabled network and UDP packets are not re-emitted whereas TCP are re-asked by receiver so re-emitted..

A bench will only give an idea. If one day someone use the wifi for a HTTP download while you are streaming, your streaming performances will decrease dramatically for example.
And in fact, are you sure multicasted packets are not duplicated for each peer on a wifi access point (and sent sequentially to each one), in which case performances decrease very fast depending on the number of connected/listening peers?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests