Page 1 of 1

Can VLC detect more than one SAP scope?

Posted: 29 Jun 2008 17:23
by fulchiero
I'd like to know more about the IPv4 SAP Services Discovery in VLC.
I assume, by default, that if I check off the IPv4 box, it will listen to SAPs on 224.2.127.254, port 9875.
This will allow me to see globally scoped streams, in the 233 range.
However, if I have some locally scoped streams, in the 239 range, the SAPs should be sent out on 239.195.255.255, port 9875, or else other clients on multicast networks will click on the SAP and see nothing. This is true of about half the SAPs you now see in VLC, the SAP scope does not match the stream scope.

How could a client in our network see both global and local scopes listed in VLC's playlist?
We could not expect them to change the SAP listen address in VLC's preferences.
Somewhere I thought I read that VLC listens to both global and local scopes. Is this correct?
If not, is there any way around the problem?
Thanking anyone for info...
Frank

Re: Can VLC detect more than one SAP scope?

Posted: 30 Jun 2008 22:21
by Rémi Denis-Courmont
That's automatic. VLC 0.8.6 listens to SAP on all 4 standard IPv4 scopes.

Re: Can VLC detect more than one SAP scope?

Posted: 30 Jun 2008 22:45
by fulchiero
That's automatic. VLC 0.8.6 listens to SAP on all 4 standard IPv4 scopes.
Great, that's what I was hoping for. Thanks for the prompt answer.
Frank

Re: Can VLC detect more than one SAP scope?

Posted: 01 Jul 2008 23:26
by fulchiero
That's automatic. VLC 0.8.6 listens to SAP on all 4 standard IPv4 scopes.
Could someone please tell me what are the standard 4 IPv4 scopes that VLC listens to for SAPS?

Are three 224.2.127.254 (port 9875), 239.255.255.255 (port 9875), 239.195.255.255 (port 9875)?

What would be the fourth? Thanking anyone for the info, Frank

Re: Can VLC detect more than one SAP scope?

Posted: 02 Jul 2008 16:57
by Rémi Denis-Courmont

Code: Select all

/* Global-scope SAP address */ #define SAP_V4_GLOBAL_ADDRESS "224.2.127.254" /* Organization-local SAP address */ #define SAP_V4_ORG_ADDRESS "239.195.255.255" /* Local (smallest non-link-local scope) SAP address */ #define SAP_V4_LOCAL_ADDRESS "239.255.255.255" /* Link-local SAP address */ #define SAP_V4_LINK_ADDRESS "224.0.0.255"

Re: Can VLC detect more than one SAP scope?

Posted: 02 Jul 2008 17:08
by fulchiero
Thanks again Rémi for the prompt response.