iOS 10.3.1 breaks streaming over cellular?

Michael McNamara mmcnamara at control4.com
Tue Apr 25 16:58:01 UTC 2017


Hi All,

I’ve been chasing down webcam streaming issues in recent days and it seems as though iOS 10.3.1 may have broken streaming via webcams (MJPEG and h264 / RTSP) over cellular networks using GStreamer.  I’m just wondering if anyone else can confirm that?  Streaming via wifi works no problem.  The issue doesn’t exist in iOS 10.2.x or earlier.  I’ve tried multiple versions of GStreamer (1.11.90, 1.10.4, 1.8.3, 1.6.4) using gst-player and playbin and they all exhibit the same behavior when used in an iOS app.

[31;01mERROR  [00m [00m gst-player gstplayer.c:1160:error_cb:<player0>[00m ERROR: from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: Could not establish connection to server.

 [31;01mERROR  [00m [00m gst-player gstplayer.c:1162:error_cb:<player0>[00m Additional debug info:
gstsouphttpsrc.c(1294): gst_soup_http_src_parse_status (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
Could not connect: Network is unreachable (4), URL: http://xx.xx.xx.xx/mjpg/video.mjpg?resolution=1024x768, Redirect to: (NULL)

[00m Error: Error from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: Could not open resource for reading.
Could not establish connection to server.
gstsouphttpsrc.c(1294): gst_soup_http_src_parse_status (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
Could not connect: Network is unreachable (4), URL: http://xx.xx.xx.xx/mjpg/video.mjpg?resolution=1024x768, Redirect to: (NULL) (gst-player-error-quark, 0)

[00m  0x5a78138 [37mDEBUG  [00m [00m          gst-player gstplayer.c:866:change_state:<player0>[00m Changing app state from buffering to stopped

 I’ve tried a number of internet accessible cameras. Initially I thought this might be due to the fact that some lower level networking libraries on iOS will not wake the cellular radio.  As a test I created a simple socket server that made certain the cellular radio was always active, but there was no difference.  Curiously souphttpsrc logs that it got headers:

souphttpsrc gstsouphttpsrc.c:1034:gst_soup_http_src_got_headers:<source> got headers

even when it’s reporting the network as unreachable.  This doesn’t seem like a GStreamer issue per se (as it has worked up until very recently), but I thought I’d throw it out there to see if anyone else is having issues or, better yet, has a solution!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170425/80795df7/attachment.html>


More information about the gstreamer-devel mailing list