0

I am using the VLC media player on windows 10.

When I used the file and stream using the HTTP on port 9000 it worked perfectly. I have port forwarding setup on the Router for both ports for the IP address of my windows 10 laptop on port 9000.

LOCAL IP : 192.168.0.7

So when I used the Http://<"ISP public IP">>:9000 on the same WINDOWS LAPTOP , It worked perfectly.

ISP Public IP : 76.XXX.XXX.XXX

B)

NOW, I tried to use the same for UDP streaming

I chose the file & then selected UDP . Then I provided the IP address 224.0.0.0 PORT : 9000

Then without transcoding & Just selected the All Elemental stream.

Trying to play on same computer

udp://[email protected]:9000

It plays as udp://224.0.0.0:9000 on the local computer.

But when I use the following udp://<<"ISP Public IP">>@224.0.0.0:9000 Nothing works .... :(

PLEASE HELP ,.. what should I do so that I could play the UDP stream from internet.

enter image description here

enter image description here

enter image description here

Tried again based on suggestion from Ed..still not able to get the UDP exposed.

enter image description here enter image description here

AS per the internet port .. It shows as opened by ISP for port 9000.

The FIREWALL rule is opened for both TCP and UDP. I selected "BOTH" in router while opening the port for FIREWALL port.

It works locally to play on UDP enter image description here

 HOW TO PERFORM NORMAL UDP?

7
  • 1
    It’s super unlikely you’re equipped (ISP and otherwise) to receive multicast traffic from the internet.
    – Daniel B
    Commented Oct 19, 2019 at 21:15
  • Thanks @DanielB but how can I check if ISP is blocking UDP? Commented Oct 19, 2019 at 22:19
  • Your ISP is not blocking UDP. The problem here is that you’re trying to do something with Multicast. Multicast is not usually used on the internet. Perhaps you could include in your question what you’re hoping to achieve.
    – Daniel B
    Commented Oct 19, 2019 at 22:37
  • I am trying to stream the file and access via UDP protocol. No need for multicast but I am ok with unicast. Commented Oct 19, 2019 at 22:49
  • Tried with various options .. Still no luck to play UDP Streaming on Internet.. Please help. Commented Oct 19, 2019 at 23:20

3 Answers 3

4

You are not trying to just use UDP streaming (which would most likely work perfectly), you are trying to use UDP multicast streaming. This is a very important difference.

Multicast is a method, by which a single sender can talk one-way to multiple receivers. It is initiated by using special IP adresses (224.0.0.0 to 239.255.255.255), that are not normally used on the internet.

In a flat LAN this poses not many problems: The sent packets will arrive at all connected PCs via the switch and the PCs then can pick those they want and assemble the stream from them.

In a network with routers, this naive approach no longer works: It is physically impossible to transport all packets from all senders to all possible receivers, so that they can pick those that they want.

This is, why most multicast traffic doesn't cross router boundaries - only if all the routers between a receiver and a sender have a mechanism to agree on which multicast packets to transport (again: transporting all is not feasable) can they be delivered. The most common mechanism is IGMP (but others exist). I do not know any ISPs providing IGMP for their residential or SMB customers.

Absent such a mechanism, the packets for such a multicast stream will simply not arrive at your Internet connection, so no setting in your home router can make them visible.

If you control the sender, you can configure it to use unicast (i.e. "normal" UDP) to the public IP adress of your internet connection: Then your port forwards will work with a VNC stream designator of udp://@:9000.

If you do not control the sender, you can not use this sort of streaming.

5
  • I am the sender and using the VLC.. How can I do "normal UDP" you mentioned. I don't want to perform Multicast over internet. 1. Local Laptop from where I am broadcasting using VLC media player ( 192.168.0.7) 2. Public IP address ( 76.xx.xx.xxx) 3. Router port forwarding already done (Image enclosed above) in original post for PORT 9000 ( both TCP and UDP). I don't see the option how to avoid multicast.. What IP address should I put when I choose the UDP in the VLC ? I believe the port number is 9000 that is correct but IP Address which I am putting is MAIN part. Please help. Commented Oct 20, 2019 at 0:18
  • 1
    As I said: Stream to your public IP address. So in VLC use udp://76.xx.xx.xxx:9000 as stream target designator. This means: 76.xx.xx.xxx in the first box, 9000 in the second box. Commented Oct 20, 2019 at 0:29
  • And on the LAN: use udp://192.168.0.7:9000 as stream target designator. Commented Oct 20, 2019 at 0:30
  • Thanks @Eugen Rieck I am able to stream udp://76.xx.xx.xxx:9000 but cannot play from internet. Although I am able to play udp://@:9000 and it plays locally. How can I play the VLC from my phone iOS App .. When I tried udp://76.xx.xx.xxx:9000 it didn't opened any stream. Commented Oct 20, 2019 at 1:11
  • As I said: The VLC stream designator in the player should be udp://@:9000 Commented Oct 20, 2019 at 13:03
0

The address you are using 224.0.0.0 is local. See this table for multicast addresses.

Set up port forwarding like you did for port 9000 tcp (but this time for udp). And then access the udp stream with the public IP, no the multicast one.

2
  • Tried that just now but still the same issue.. Commented Oct 19, 2019 at 22:28
  • I must be missing something critical in routing. Commented Oct 19, 2019 at 23:33
0

swap the IP addresses around. "UDP://[local ip]@[public ip]:[port]"

it is searching for "private IP locations @ public ip locations:public port"

the way you have formed your argument it is seeking a non existant IP to retrieve info from.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .