Kodi Community Forum
Android AFTV: No IPTV with multicast rtp - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: IPTV Simple Client (https://forum.kodi.tv/forumdisplay.php?fid=215)
+---- Thread: Android AFTV: No IPTV with multicast rtp (/showthread.php?tid=210565)



AFTV: No IPTV with multicast rtp - tester14 - 2014-12-05

Anyone who can help with my problem? I cannot start any rtp stream on my Fire TV. Please find below the debug information. Thank you.


DEBUG: PVRManager - bool PVR::CPVRManager::OpenLiveStream(const CFileItem&) - opening live stream on channel 'BBC One HD'
19:45:54 T:1541055280 DEBUG: opening live stream on url 'rtp://xxx.xxx.xx.xx:10000'
19:45:54 T:1541055280 DEBUG: PVRFile - virtual bool XFILE::CPVRFile::Open(const CURL&) - playback has started on filename pvr://channels/tv/Alle TV-Kanäle/34.pvr
19:45:54 T:1541055280 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: rtp://xxx.xxx.xx.xx:10000
19:45:54 T:1541055280 NOTICE: Creating Demuxer
19:45:54 T:1541055280 DEBUG: ffmpeg[5BDAA330]: [udp] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)

and

19:49:55 T:1541055280 DEBUG: ffmpeg[5BDAA330]: [udp] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
19:50:25 T:1541055280 DEBUG: Previous line repeats 1 times.
19:50:25 T:1541055280 DEBUG: Error, could not open file rtp://xxx.xxx.xx.xx:10000/
19:50:25 T:1541055280 DEBUG: ffmpeg[5BDAA330]: [udp] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)


RE: AFTV: No IPTV with multicast rtp - idstein - 2015-01-02

This might be a guess at the moment only. But I think the android build of ffmpeg has been build without pthread support. I read somewhere that pthread is only support starting with Android NDK 9 or so. (see http://stackoverflow.com/questions/10196061/how-to-compile-ffmpeg-and-x264-with-thread-support-for-android)

Could be that all Kodi builds depend on a lower NDK level due to backward compatibility.

UPD/RTP require pthread cancel function being enabled at build time. I guess this has been disabled back in 2012 for ffmpeg due to an incomplete pthread implementation on Android http://ffmpeg.org/pipermail/ffmpeg-devel/2012-May/124298.html.


UPDATE:
There seems to be some history in why there is no native pthread_cancel available on Android/Bionic see http://www.phonesdevelopers.com/1718746/.

VLC seem to have covered that missing feature with some workaround / compatibility approaches: http://comments.gmane.org/gmane.comp.video.videolan.vlc.devel/96263


RE: AFTV: No IPTV with multicast rtp - negge - 2015-01-03

Can you file a bug report on trac.kodi.tv?


RE: AFTV: No IPTV with multicast rtp - idstein - 2015-01-03

(2015-01-03, 11:29)negge Wrote: Can you file a bug report on trac.kodi.tv?

Done.

You can follow the issue here http://trac.kodi.tv/ticket/15666 including the investigation on its origin I've done so far.

EDIT:

I've updated FFMpeg and proposed a small change. If the changes are accepted, we could again run a test with RTP over UDP (IPTV Client) on FireTV.
Pull request: https://github.com/FFmpeg/FFmpeg/pull/102


RE: AFTV: No IPTV with multicast rtp - Mko_vip - 2015-02-06

I have this problem with all videos format Sad, stop the stream video in 3 seconds in my Fire TV