Bug #2096
closedBug #2369: IPTV port number over than 32767 is not work
iptv services not wprking after upgrade
0%
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
Updated by Adam Sutton over 11 years ago
- Status changed from New to Need feedback
Does it work if you go back to an older version?
Adam
Updated by Nikolai L. over 11 years ago
- File hts-fix-bug-2096.patch hts-fix-bug-2096.patch added
I made a bisect:
@
$ git bisect bad
91e5c9f7a8c01e89e623739caafdc2eebd243705 is the first bad commit
commit 91e5c9f7a8c01e89e623739caafdc2eebd243705
Author: Jaroslav Kysela <perex@perex.cz>
Date: Wed Apr 9 19:28:16 2014 +0200
Reorganize the UDP code from IPTV to the shared location
:100644 100644 466d64057f90de53702e0fcbb6d362e11b09458a ca7f8a55d252d9430c5c33f589a3115ab9a820db M Makefile
:040000 040000 da0c735a5c5e3043491f603fefa6b02c9e2a5692 191a669486ab69ad1ff73fd782f1fa4dae204961 M src
@
I just attached my patch for this, which works for me. Seems that the port type were a bit shuffled.
Updated by Jaroslav Kysela about 11 years ago
- Status changed from Need feedback to Fixed
- Parent task set to #2369