Page 1 of 1

App crashes when UDP Streaming

Posted: 09 Sep 2016 12:41
by ukStreamer
I have an iPhone with iOS version 9.3.5 and VLC app version 2.7.8. I have been attempting to stream MPEG4 video files to the iPhone over Wi-Fi, via udp using a server with a desktop version of VLC. The iPhone app is launched using the x-callback-url from Safari. The app starts well but then freezes regularly before crashing. The interval between each crash is different for each video file but becomes predictable. For example, with one file, it may crash every 10 minutes and for another file, it could be every 7 minutes. The MPEG4 files were created using the latest FFMPEG and are transcoded from DVD vob files and have MPEG4 video coding, AC3 audio coding and frame rate set at 30fps, although the coding formats do not appear to be the issue as I have tried various transcoding options all with similar results. I have other devices either connected via ethernet to the server or via Wi-Fi and they don't crash. These other devices have Windows OS and the latest desktop VLC and I am using a mix of web plugins and applications. Any ideas what could be causing the crashes?

Re: App crashes when UDP Streaming

Posted: 13 Sep 2016 10:07
by fkuehne
Without crash logs, this is extremely hard to say. Do you do UDP unicast or multicast?

Re: App crashes when UDP Streaming

Posted: 13 Sep 2016 11:40
by ukStreamer
I am using UDP unicast as the streams are aimed at specific users. I don't see a mechanism within the App to record logs. is there one? I am going to try other streaming mechanisms to see if the issue is localised to the method I am using. If I have any news I will report back.

Re: App crashes when UDP Streaming

Posted: 13 Sep 2016 18:18
by ukStreamer
I have tested rtp streaming today and the problem does not occur. I will test other streaming protocols if possible over the next couple of days and will advise.

Re: App crashes when UDP Streaming

Posted: 16 Sep 2016 13:32
by ukStreamer
As well as rtp streaming, I have tested rtsp and http streaming. The problems I encountered only appear when udp streaming. I can use rtp streaming and so will continue with this.