[mythtv-commits] Ticket #7722: Network Recorder doesn't work with SSP IPTV

MythTV noreply at mythtv.org
Tue Jan 25 22:05:28 UTC 2011


#7722: Network Recorder doesn't work with SSP IPTV
-------------------------------------+----------------------------
 Reporter:  stefan.becker@…          |          Owner:  danielk
     Type:  defect                   |         Status:  assigned
 Priority:  minor                    |      Milestone:  unknown
Component:  MythTV - Recording       |        Version:  0.23-fixes
 Severity:  low                      |     Resolution:
 Keywords:  iptv SSP multicast UDP   |  Ticket locked:  0
-------------------------------------+----------------------------

Comment (by stefan.becker@…):

 I finally sat down and started poking around to find out what might be
 wrong. I had already figured out that the IPTV recorder is using the
 live555 libraries. So I started to hack together a test program based on
 IPTV recorder and live555 test program code.

 When I ran the test program on my mediabox I stumbled over the following
 error message:
 {{{
 $ ./live555-test
 Step 1: inet_aton()
 Step 2: scheduler
 Step 3: env
 Unable to determine our source address: This computer has an invalid IP
 address: 0x0
 Step 4: socket
 Step 5: source
 Step 6: sink
 Beginning receiving multicast stream...
 }}}

 A little search on the Internet found this
 [http://forum.videolan.org/viewtopic.php?f=13&t=41334 thread] in the VLC
 forum, which pointed me in the right direction: a broken /etc/hosts!

 Test for broken /etc/hosts:
 {{{
 $ ping $(hostname)
 PING mediabox (127.0.0.1) 56(84) bytes of data.
 64 bytes from mediabox (127.0.0.1): icmp_req=1 ttl=64 time=0.042 ms
 }}}

 If you get 127.0.0.1 then your /etc/hosts is broken and live555 will not
 be able to find the correct IP address for its receiving socket. After
 fixing /etc/hosts you'll get instead:
 {{{
 $ ping $(hostname)
 PING mediabox (192.168.2.3) 56(84) bytes of data.
 64 bytes from mediabox (192.168.2.3): icmp_req=1 ttl=64 time=0.042 ms

 $ ./live555-test
 Step 1: inet_aton()
 Step 2: scheduler
 Step 3: env
 Step 4: socket
 Step 5: source
 Step 6: sink
 Beginning receiving multicast stream...
 }}}

 After that change MythTV was finally able to record from IPTV streams.
 Yeah!

 Please close this report.

 I hope that in the future my description will help others to fix their
 problem. This might be something for the MythTV wiki.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/7722#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list