Project

General

Profile

Actions

Bug #2096

closed

Bug #2369: IPTV port number over than 32767 is not work

iptv services not wprking after upgrade

Added by alf alfonsius about 11 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2014-05-08
Due date:
% Done:

0%

Estimated time:
Found in version:
latest git
Affected Versions:

Description

after compiling latest git today my config got screwed up. i got inputs from 2 diffrent nics eth1/228.x.x.x/24 and eth2/239.x.x.x/24
everything from eth1 stopped working with error: [ ERROR] iptv: getaddrinfo: 228.1.1.5: Servname not supported for ai_socktype

config file :
{
        "iptv_url": "udp://228.1.1.5:49410",
        "iptv_interface": "eth1",
        "iptv_atsc": false,
        "enabled": true,
        "onid": 1,
        "tsid": 15,
        "initscan": true,
        "charset": "AUTO" 
}

service config:
{
        "sid": 13842,
        "lcn": 0,
        "svcname": "Eurosport",
        "provider": "Eutelsat",
        "dvb_servicetype": 1,
        "prefcapid": 6103,
        "enabled": true,
        "pcr": 2577,
        "pmt": 288,
        "stream": [
                {
                        "pid": 2577,
                        "type": "MPEG2VIDEO",
                        "position": 0,
                        "width": 720,
                        "height": 576,
                        "duration": 3600
                },
                {
                        "pid": 2585,
                        "type": "MPEG2AUDIO",
                        "position": 0,
                        "audio_type": 0
                },
                {
                        "pid": 5055,
                        "type": "CA",
                        "position": 262144,
                        "caidlist": [
                                {
                                        "caid": 21766
                                }
                        ]
                },
                {
                        "pid": 6103,
                        "type": "CA",
                        "position": 262144,
                        "caidlist": [
                                {
                                        "caid": 2816
                                }
                        ]
                }
        ]
}

i got like 200 channels from that interface, none of them are working
here a working config:
{
        "iptv_url": "udp://239.1.1.5:5555",
        "iptv_interface": "eth2",
        "iptv_atsc": false,
        "enabled": true,
        "onid": 1,
        "tsid": 21,
        "initscan": true,
        "charset": "AUTO" 

service config:

{
        "sid": 21,
        "lcn": 0,
        "svcname": "HBO HD",
        "provider": "provider2",
        "dvb_servicetype": 1,
        "prefcapid": 0,
        "enabled": true,
        "pcr": 500,
        "pmt": 502,
        "stream": [
                {
                        "pid": 500,
                        "type": "H264",
                        "position": 0,
                        "width": 1920,
                        "height": 1080,
                        "duration": 3600
                },
                {
                        "pid": 501,
                        "type": "MPEG2AUDIO",
                        "position": 0,
                        "language": "eng",
                        "audio_type": 0
                },
                {
                        "pid": 3851,
                        "type": "CA",
                        "position": 262144,
                        "caidlist": [
                                {
                                        "caid": 19182
                                }
                        ]
                }
        ]
}


Files

hts-fix-bug-2096.patch (2.97 KB) hts-fix-bug-2096.patch Nikolai L., 2014-06-15 08:47
Actions

Also available in: Atom PDF