Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11979 closed Patch - Bug Fix (fixed)

Re-Fix #10667 for 0.27: IPTV binds to 0.0.0.0:port

Reported by: chemobejk@… Owned by: danielk
Priority: minor Milestone: 0.27.1
Component: MythTV - Recording Version: 0.27-fixes
Severity: medium Keywords: iptv bind multiple recordings
Cc: Ticket locked: no

Description

This issue had already been fixed in devel/rtp, but now I noticed in 0.27 that it is again not possible to have multiple IPTV recordings when using multicast IPTV that share the same port number.

The first IPTV recording binds to 0.0.0.0:port thus preventing any other IPTV recording on "port".

I've taken the original fixe for devel/rtp and re-applied to the correct source file in 0.27 branch. But this should also go to master branch!

Attachments (1)

0001-Fixes-10667.-Bind-to-multicast-address.patch (2.6 KB) - added by chemobejk@… 10 years ago.
Bind to multicast address instead of 0.0.0.0

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by chemobejk@…

Bind to multicast address instead of 0.0.0.0

comment:1 Changed 10 years ago by chemobejk@…

With the attached patch I can again record multiple IPTV streams at the same time.

comment:2 Changed 10 years ago by Karl Egly

Component: MythTV - GeneralMythTV - Recording
Owner: set to danielk

comment:3 Changed 10 years ago by mark@…

Thanks for posting this patch.

After upgrade to 0.27, multiple iptv streams failed, I could only get one stream at a time.

This patch fixed this issue, so I second the call for it to go to master.

comment:4 Changed 10 years ago by Stefan Becker <chemobejk@…>

Resolution: fixed
Status: newclosed

In f2defe87d63fbe544c7333af0ca5b04aa078ebf4/mythtv:

Bind to multicast address instead of ANY

If multiple servers multicast content on the same port we can't receive
it on multiple recorders if bind to QHostAddress::Any. If we bind to the
multicast address we don't have this problem. Problem discovered and
patched by Niels Ole Kirkeby.

Note: This also adds error handling for when a bind fails.

Fixes #11979
Fixes #12036

The tickets contain multiple reports of success.

comment:5 Changed 10 years ago by Stefan Becker <chemobejk@…>

In b249ad4d241b8a3adf7b3cde8a26b03e736febd2/mythtv:

Bind to multicast address instead of ANY

If multiple servers multicast content on the same port we can't receive
it on multiple recorders if bind to QHostAddress::Any. If we bind to the
multicast address we don't have this problem. Problem discovered and
patched by Niels Ole Kirkeby.

Note: This also adds error handling for when a bind fails.

Fixes #11979
Fixes #12036

The tickets contain multiple reports of success.
(cherry picked from commit f2defe87d63fbe544c7333af0ca5b04aa078ebf4)

comment:6 Changed 10 years ago by Raymond Wagner

Milestone: 0.27.1
Note: See TracTickets for help on using tickets.