Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#10667 closed Patch - Bug Fix (fixed)

iptv bind error (devel/rtp)

Reported by: nok@… Owned by: danielk
Priority: minor Milestone: 0.26
Component: MythTV - General Version: Unspecified
Severity: medium Keywords: iptv
Cc: Ticket locked: no

Description

When using same port-no for multiple iptv streams, at least udp, all data goes to the first socket opened. Thus if you have two recordings on two different streams, all data goes to the first stream and the second recording fails. Including the multicast address in the bind statement when joining the stream fixes this.

Attachments (1)

patch2.txt (596 bytes) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by anonymous

comment:1 Changed 5 years ago by chemobejk@…

I have the same problem with devel/rtp and SSP's IPTV service: all IPTV streams URLs use the same port, i.e. udp://224.x.y.z:1111/.

I've applied the patch and can confirm that it fixes the problem.

comment:2 Changed 5 years ago by danielk

  • Milestone changed from unknown to 0.26
  • Owner set to danielk
  • Status changed from new to assigned

comment:3 Changed 5 years ago by Daniel Thor Kristjansson <danielk@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 3a34be618f861c742e3ffbf3701be7c340584b27/mythtv:

Fixes #10667. Bind to multicast address.

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.

comment:4 Changed 5 years ago by chemobejk@…

Verified - commit solves the problem. Thanks.

comment:5 Changed 4 years ago by Daniel Thor Kristjansson <danielk@…>

In 3a34be618f861c742e3ffbf3701be7c340584b27/mythtv:

Fixes #10667. Bind to multicast address.

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain danielk.
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.