[mythtv-firehose] mythtv/rtp commit: ca36ff024 by Daniel Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Fri Feb 17 17:36:02 UTC 2012

      Author:  Daniel Kristjansson <danielk at cuymedia.net>
 Change Date:  2012-02-17T09:31:11-08:00
   Push Date:  2012/02/17 09:35:53 -0800
  Repository:  mythtv
      Branch:  rtp
New Revision:  ca36ff024ffecd3f5a8f6fb2575defe646a441a2
   Changeset:  https://github.com/MythTV/mythtv/commit/ca36ff024


Set some sane settings for UDP sockets in IPTVStreamHandler.

This sets a larger than default buffer size so we drop fewer packets.

This also adds support for joining a multicast group. To test change
addr in IPTVChannel::Tune() to a multicast address.

Because setting the receive buffer is not supported by QUdpSocket
and setting joining a multicast group using QUdpSocket requires the
latest Qt, this uses the POSIX API for these things and uses
QUdpSocket::setSocketDescriptor() to assign the socket we've opened
to QUdpSocket for further handling.



More information about the mythtv-firehose mailing list