SDP attribute "source-filter" should not be included by default in SAP announcements
After [16564] which was backported into 0.8.6 in [16774] SAP announcements generated by VLC always contain the SDP attribute
a:source-filter IN IPx * source.ip.addr
This has bad sideeffects in several ways:
- it breaks backwards compatibility - VLC 0.8.4a and VLC 0.8.5 will be unable to play multicast streams if the OS does not support IGMPv3
- it will break if some form of address translation happens (forwarding proxy, NAT, etc).
- it will always trigger IGMPv3 source-specific joins if IGMPv3 is available
- it might break on hosts with multiple interfaces
- it might break if the user is using another application than VLC on the client side
This SDP attribute is primarily targeted for source-specific multicast streams, which need to be aware about both the group address and the source address. Adding this attribute to all streams just because courmisch is lazy is not a way to go, since it can cause severe troubles to the users.
Much more sensible approach would be to add this via new option e.g.
:sout=#std{access=rtp,mux=ts,dst=232.1.2.3:1234,sap,group="Test",name="kkk", sfilter}
by which the user could control whether he wants to include this SDP attribute.