Modify

Ticket #10667 (closed Patch - Bug Fix: fixed)

Opened 13 months ago

Last modified 12 months ago

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

patch2.txt (596 bytes) - added by anonymous 13 months ago.

Change History

Changed 13 months ago by anonymous

comment:1 Changed 13 months 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 13 months ago by danielk

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

comment:3 Changed 12 months ago by Daniel Thor Kristjansson <danielk@…>

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

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 12 months ago by chemobejk@…

Verified - commit solves the problem. Thanks.

View

Add a comment

Modify Ticket

Action
as closed
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.