Android AFTV: No IPTV with multicast rtp
#1
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)
Reply
#2
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/10196...or-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...24298.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.vid...evel/96263
Reply
#3
Can you file a bug report on trac.kodi.tv?
Reply
#4
(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
Reply
#5
I have this problem with all videos format Sad, stop the stream video in 3 seconds in my Fire TV
Reply

Logout Mark Read Team Forum Stats Members Help
AFTV: No IPTV with multicast rtp0