(GO) live555 get IP-less solution

Source: Internet
Author: User

Indeed, this problem isn ' t a VLC bug, but one of the its dependency as live555.
There is and ways to fix the problem, as it would appear if you had a firewall that's closed by default.

-Either using fixed IP from/etc/hosts like it is told before
-Or Open the UDP port 15947 of your firewall. (Better if you have a dynamic IP attributed via DHCP).

Quoting Groupsock/groupsockhelper.cpp at l.579

Get our address by sending a (0-TTL) multicast packet,
Receiving it, and looking at the source address used.
(This is kinda bogus and it provides the best guarantee
That other nodes would think our address was the same as we do.)
do {
Loopbackworks = 0; Until we learn otherwise

TESTADDR.S_ADDR = our_inet_addr ("228.67.43.91"); Arbitrary
Port Testport (15947); Ditto


This hack doesn ' t seems IPv6 compliant. (Like the whole live555 library anyway)

Reference:
1,LIVE555 appears unable to determine our source Address:this computer have an invalid IP address:0x0 solution
Http://www.cppblog.com/fwxjj/archive/2009/12/17/103377.html

(GO) live555 get IP-less solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.