We also had the same issue with live555 (many people had!). We had the issue 
with Linux only. We were greatly helped with the explanation of these 2 links.

http://www.nmsl.cs.ucsb.edu/MulticastSocketsBook/
http://stackoverflow.com/questions/2741936

Look at the mcreceive.c example of the first link that shows how to solve the 
issue.

Basically we did a minor change in the live555 library such that the 
setupDatagramSocket method in GrousockHelper do bind with the multicast group 
address if Linux. This solved the issue.

You can also check this thread:

http://lists.live555.com/pipermail/live-devel/2010-October/012630.html

Will give you explanations why Ross thinks this is bad idea to implement the 
above solution in the live555 library.

I have include patchs that we used on library released  2009 07 28 that kept 
the compatibility with the library yet solved the issue. Unfortunately we don't 
work the latest library yet. Hope this help.

Guy






From: live-devel-boun...@ns.live555.com 
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Miklos Szeles
Sent: Tuesday, August 23, 2011 9:25
To: live-de...@ns.live555.com
Subject: Re: [Live-devel] RTSP multicast problem

Hi,
Can anybody help in this issue? We are using CentOS 5.5. Is there any patch 
available for CentOS which solves this issue?
What other linux distribution works correctly besides FreeBSD?
BR,
Miklós

2011.08.19. 9:34 keltezéssel, Miklos Szeles írta:
Thanks for your answer Ross. Can you give some hints regarding the OS kernel 
fixing? Where/what should we change to solve this issue by patching the kernel?
Best regards,
Miklós

2011.08.18. 16:47 keltezéssel, Ross Finlayson írta:
Unfortunately I don't know of a solution to this, other than
1/ Fixing the OS kernel, or
2/ Using a different OS (e.g. FreeBSD) that doesn't have the problem, or
3/ Changing at least one of the cameras to use a different port, or
4/ Running your two client applications on separate hosts.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/





_______________________________________________

live-devel mailing list

live-devel@lists.live555.com<mailto:live-devel@lists.live555.com>

http://lists.live555.com/mailman/listinfo/live-devel




--

Miklós Szeles



NETAVIS Kft.

Web: www.netavis.net<http://www.netavis.net>

Mail: msze...@netavis.hu<mailto:msze...@netavis.hu>

Hűvösvölgyi út 54.

H-1021 Budapest

Hungary

Tel: +36 1 225 31 38

Fax: +36 1 225 31 39





_______________________________________________

live-devel mailing list

live-devel@lists.live555.com<mailto:live-devel@lists.live555.com>

http://lists.live555.com/mailman/listinfo/live-devel



--

Miklós Szeles



NETAVIS Kft.

Web: www.netavis.net<http://www.netavis.net>

Mail: msze...@netavis.hu<mailto:msze...@netavis.hu>

Hűvösvölgyi út 54.

H-1021 Budapest

Hungary

Tel: +36 1 225 31 38

Fax: +36 1 225 31 39

Attachment: GroupsockHelper.cpp.diff
Description: GroupsockHelper.cpp.diff

Attachment: GroupsockHelper.hh.diff
Description: GroupsockHelper.hh.diff

Attachment: NetInterface.cpp.diff
Description: NetInterface.cpp.diff

Attachment: NetInterface.hh.diff
Description: NetInterface.hh.diff

Attachment: Groupsock.cpp.diff
Description: Groupsock.cpp.diff

Attachment: Groupsock.hh.diff
Description: Groupsock.hh.diff

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to