[Live-devel] RTSP multicast problem
BONNEAU Guy
gbonneau at miranda.com
Tue Aug 23 20:15:34 PDT 2011
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-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Miklos Szeles
Sent: Tuesday, August 23, 2011 9:25
To: live-devel at 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 at lists.live555.com<mailto:live-devel at 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: mszeles at netavis.hu<mailto:mszeles at 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 at lists.live555.com<mailto:live-devel at 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: mszeles at netavis.hu<mailto:mszeles at netavis.hu>
Hűvösvölgyi út 54.
H-1021 Budapest
Hungary
Tel: +36 1 225 31 38
Fax: +36 1 225 31 39
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GroupsockHelper.cpp.diff
Type: application/octet-stream
Size: 1136 bytes
Desc: GroupsockHelper.cpp.diff
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GroupsockHelper.hh.diff
Type: application/octet-stream
Size: 509 bytes
Desc: GroupsockHelper.hh.diff
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NetInterface.cpp.diff
Type: application/octet-stream
Size: 716 bytes
Desc: NetInterface.cpp.diff
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NetInterface.hh.diff
Type: application/octet-stream
Size: 489 bytes
Desc: NetInterface.hh.diff
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Groupsock.cpp.diff
Type: application/octet-stream
Size: 1601 bytes
Desc: Groupsock.cpp.diff
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Groupsock.hh.diff
Type: application/octet-stream
Size: 454 bytes
Desc: Groupsock.hh.diff
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110824/c8ce67c2/attachment-0005.obj>
More information about the live-devel
mailing list