Play VLC RTSP/UDP stream on Android devices via cellular network 4G - phone does not receive RTP/AVP/UDP

2,017 views
Skip to first unread message

KnightWhoSayNi

unread,
Jun 19, 2014, 8:03:09 AM6/19/14
to android-...@googlegroups.com
Hey guys, I am currently working on video streaming via RTSP/UPD for Android devices. My goal is to stream a video over a 4G cellular network (by using VLC streaming server and UDP). The problem I am facing is that the method used does not work with the Samsung Galaxy Core SM-G386F.
Below is a summary of the moethod and a log files. I would like to know if there is any apparent mistake I am making or basically it is not supported for said device.

My setup:

SERVER SIDE

Streaming servers:

  • Live555MediaServer

source: http://www.live555.com/liveMedia/

  • VideoLAN / VLC

source: http://www.videolan.org/vlc/download-debian.html

Video test files:

  • Jellyfish Video Bitrate Test FIles
ex: *Jellyfish-3-Mbps.mkv* - 60s, 3 Mbps AVG Bitrate, 21 MB
source: http://jell.yfish.us/

CLIENT SIDE

String url = "rtsp://IP_ADDR:8554/Jellyfish-3-Mbps.mkv"; // Live555MediaServer
String url = "rtsp://IP_ADDR:5555/test.sdp"; // VLC

Player.java (Method 1)

    VideoView v1 = (VideoView) findViewById(R.id.videoView1);
    v1.setVideoURI(Uri.parse(url));
    v1.requestFocus();
    v1.start();

Player.java (Method 2) - It only reads the RTSP stream (does not display video)

    MediaPlayer mp = new MediaPlayer();
    try {
        mp.setDataSource(url);
        mp.prepareAsync();
        mp.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
            @Override
            public void onPrepared(MediaPlayer mp) {
                Log.d(TAG, "START STREAM");
                mp.start();
            }
        });
    } catch (IOException e) {
        Log.d(TAG, "ERROR: " + e);
    } catch (Exception e) {
        Log.d(TAG, "ERROR: " + e);
    }

 AndroidManifest.xml

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Both methods (Method 1 and Method 2) and both media servers (Live555MediaServer and VLC) work fine on the following android devices:
  • Samsung Galaxy S4 (Android 4.3)
  • Samsung Galaxy S5 (Android 4.4.2)
  • Samsung Galaxy Note 3 (Android 4.4.2)

These devices use UDP packets (verified based on tcpdump traces done on phones and server).

The problem appears on the Android Galaxy Core SM-G386F (Android 4.2). It cannot play the RTSP/UDP stream.

Phone requests RTP/AVP/UDP, but it does not receive UDP packets (servers starts streaming the video). After few seconds, phone switch to RTP/AVP/TCP and it dies - "Server responses [461] ERROR from the SETUP request" (server stops streaming the video).

Full logcats:

Samsung Galaxy Core SM-G386F playing VLC streaming by using Method 1. - http://pastebin.com/wivFmW9U

It is not full logcat!

6-19 11:03:22.063: W/MyHandler(5005): connect to rtsp://IP_ADDR:5555/test.sdp
06-19 11:03:22.063: I/NuPlayerRenderer(5005): mSourceRtsp is true
06-19 11:03:22.063: I/ARTSPConnection(5005): host: IP_ADDR
06-19 11:03:22.063: I/ARTSPConnection(5005): mProxyName is empty
06-19 11:03:22.063: I/ARTSPConnection(5005): Set No Proxy
06-19 11:03:22.063: I/ARTSPConnection(5005): Server IP addresses:
06-19 11:03:22.071: I/ARTSPConnection(5005): IPv4: IP_ADDR
06-19 11:03:22.071: I/ARTSPConnection(5005): Device IP addresses:
06-19 11:03:22.071: I/ARTSPConnection(5005): IPv6: ::
06-19 11:03:22.071: I/ARTSPConnection(5005): IPv4: 0.0.0.0
06-19 11:03:22.071: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:22.071: V/ARTSPConnection(5005): ==select timeout mTCPConnectionSelectCount = -1
06-19 11:03:22.110: D/PowerManagerService(1885): [api] acquire WakeLock flags=0x2000000a tag=WindowManager uid=1000 pid=1885
06-19 11:03:22.149: I/power(1885): *** release_dvfs_lock : lockType : 1
06-19 11:03:22.149: I/power(1885): *** acquire_dvfs_lock : lockType : 1  freq : 1196000
06-19 11:03:22.149: D/Launcher.HomeView(2171): onStop
06-19 11:03:22.149: I/SurfaceFlinger(1464): id=28 Removed Mauncher (2/7)
06-19 11:03:22.149: I/SurfaceFlinger(1464): id=28 Removed Mauncher (-2/7)
06-19 11:03:22.149: D/CustomFrequencyManagerService(1885): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1196000  uid : 1000  pid : 1885  tag : ACTIVITY_RESUME_BOOSTER@5
06-19 11:03:22.149: D/CustomFrequencyManagerService(1885): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1196000  uid : 1000  pid : 1885  pkgName : ACTIVITY_RESUME_BOOSTER@8
06-19 11:03:22.149: W/ActivityManager(1885): mDVFSHelper.release()
06-19 11:03:22.165: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:22.173: V/ARTSPConnection(5005): ==select timeout mTCPConnectionSelectCount = -1
06-19 11:03:22.212: D/TelephonyManager(2145): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
06-19 11:03:22.212: D/STATUSBAR-NetworkController(2040): onDataActivity: direction=0
06-19 11:03:22.212: D/STATUSBAR-NetworkController(2040): updateDataIcon : isCdma = false isCdmaLTE = false hasService() = true mDataState = 2
06-19 11:03:22.266: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:22.274: I/MyHandler(5005): connection request completed with result 0 (Success)
06-19 11:03:22.274: V/ARTSPConnection(5005): request: 'OPTIONS rtsp://IP_ADDR:5555/test.sdp RTSP/1.0
06-19 11:03:22.274: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:22.274: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:22.274: V/ARTSPConnection(5005): CSeq: 0
06-19 11:03:22.274: V/ARTSPConnection(5005):
06-19 11:03:22.274: V/ARTSPConnection(5005): '
06-19 11:03:22.274: W/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:22.274: V/ARTSPConnection(5005): request: 'DESCRIBE rtsp://IP_ADDR:5555/test.sdp RTSP/1.0
06-19 11:03:22.274: V/ARTSPConnection(5005): Accept: application/sdp
06-19 11:03:22.274: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:22.274: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:22.274: V/ARTSPConnection(5005): CSeq: 1
06-19 11:03:22.274: V/ARTSPConnection(5005):
06-19 11:03:22.344: V/ARTSPConnection(5005): line: Server: VLC/2.0.3
06-19 11:03:22.344: V/ARTSPConnection(5005): line: Content-Length: 0
06-19 11:03:22.344: V/ARTSPConnection(5005): line: Cseq: 0
06-19 11:03:22.344: V/ARTSPConnection(5005): line: Public: DESCRIBE,SETUP,TEARDOWN,PLAY,PAUSE,GET_PARAMETER06-19 11:03:22.391: V/ARTSPConnection(5005): line: Server: VLC/2.0.3
06-19 11:03:22.391: V/ARTSPConnection(5005): line: Date: Thu, 19 Jun 2014 09:03:23 GMT
06-19 11:03:22.391: V/ARTSPConnection(5005): line: Content-Type: application/sdp
06-19 11:03:22.391: V/ARTSPConnection(5005): line: Content-Base: rtsp://IP_ADDR:5555/test.sdp
06-19 11:03:22.391: V/ARTSPConnection(5005): line: Content-Length: 470
06-19 11:03:22.391: V/ARTSPConnection(5005): line: Cache-Control: no-cache
06-19 11:03:22.391: V/ARTSPConnection(5005): line: Cseq: 106-19 11:03:22.446: I/MyHandler(5005): DESCRIBE completed with result 0 (Success)
06-19 11:03:22.446: I/ASessionDescription(5005): v=0
06-19 11:03:22.446: I/ASessionDescription(5005): o=- 15514097917452705389 15514097917452705389 IN IP4 e82-103-128-145s
06-19 11:03:22.446: I/ASessionDescription(5005): s=Unnamed
06-19 11:03:22.446: I/ASessionDescription(5005): i=N/A
06-19 11:03:22.446: I/ASessionDescription(5005): c=IN IP4 0.0.0.0
06-19 11:03:22.446: I/ASessionDescription(5005): t=0 0
06-19 11:03:22.446: I/ASessionDescription(5005): a=tool:vlc 2.0.3
06-19 11:03:22.446: I/ASessionDescription(5005): a=recvonly
06-19 11:03:22.446: I/ASessionDescription(5005): a=type:broadcast
06-19 11:03:22.446: I/ASessionDescription(5005): a=charset:UTF-8
06-19 11:03:22.446: I/ASessionDescription(5005): a=control:rtsp://IP_ADDR:5555/test.sdp
06-19 11:03:22.446: I/ASessionDescription(5005): m=video 0 RTP/AVP 96
06-19 11:03:22.446: I/ASessionDescription(5005): b=RR:0
06-19 11:03:22.446: I/ASessionDescription(5005): a=rtpmap:96 H264/90000
06-19 11:03:22.446: I/ASessionDescription(5005): a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKwspAHgCJ+XAVICAgKAAAH0gABdwE7QsWiQ,aOtzUlA=;
06-19 11:03:22.446: I/ASessionDescription(5005): a=control:rtsp://IP_ADDR:5555/test.sdp/trackID=0
06-19 11:03:22.446: W/MyHandler(5005): Server: VLC/2.0.3
06-19 11:03:22.446: W/MyHandler(5005): mBaseURL is change to rtsp://IP_ADDR:5555/test.sdp from 'content-base'
06-19 11:03:22.446: W/MyHandler(5005): Property [net.connectivity.qosbw] NOT Found, bwQoS=2147483647
06-19 11:03:22.446: W/APacketSource(5005): Format:video 0 RTP/AVP 96  / MIME-Type:H264/90000
06-19 11:03:22.446: I/APacketSource(5005): dimensions 1920x1080
06-19 11:03:22.446: I/ARTPConnection(5005): Start:15930
06-19 11:03:22.446: W/ASessionDescription(5005): system prop 3gpp-ra option is not found
06-19 11:03:22.446: V/ARTSPConnection(5005): request: 'SETUP rtsp://IP_ADDR:5555/test.sdp/trackID=0 RTSP/1.0
06-19 11:03:22.446: V/ARTSPConnection(5005): Transport: RTP/AVP/UDP;unicast;client_port=15930-15931
06-19 11:03:22.446: V/ARTSPConnection(5005): Blocksize: 1400
06-19 11:03:22.446: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:22.446: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:22.446: V/ARTSPConnection(5005): CSeq: 2
06-19 11:03:22.446: V/ARTSPConnection(5005):
06-19 11:03:22.446: V/ARTSPConnection(5005): '
06-19 11:03:22.469: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:22.477: I/Monitor(1885): SIOP:: Current AP = 390, CP = 0, PST = 391
06-19 11:03:22.477: I/power(1885): *** release_dvfs_lock : lockType : 1
06-19 11:03:22.477: D/CustomFrequencyManagerService(1885): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1196000  uid : 1000  pid : 1885  tag : ACTIVITY_RESUME_BOOSTER@8
06-19 11:03:22.516: I/ARTSPConnection(5005): status: RTSP/1.0 200 OK
06-19 11:03:22.516: V/ARTSPConnection(5005): line: Server: VLC/2.0.3
06-19 11:03:22.524: V/ARTSPConnection(5005): line: Date: Thu, 19 Jun 2014 09:03:23 GMT
06-19 11:03:22.524: V/ARTSPConnection(5005): line: Transport: RTP/AVP/UDP;unicast;client_port=15930-15931;server_port=56338-56339;ssrc=7858D56A;mode=play
06-19 11:03:22.524: V/ARTSPConnection(5005): line: Session: 19d7154fdbefe93b;timeout=60
06-19 11:03:22.524: V/ARTSPConnection(5005): line: Content-Length: 0
06-19 11:03:22.524: V/ARTSPConnection(5005): line: Cache-Control: no-cache
06-19 11:03:22.524: V/ARTSPConnection(5005): line: Cseq: 2
06-19 11:03:22.524: I/MyHandler(5005): SETUP(1) completed with result 0 (Success)
06-19 11:03:22.524: I/MyHandler(5005): server specified timeout of 60 secs.
06-19 11:03:22.524: W/MyHandler(5005): Missing 'source' field in Transport response. Using RTSP endpoint address.
06-19 11:03:22.524: W/MyHandler(5005): successfully poked holes (Server IP : IP_ADDR, rtp port : 56338, rtcp port : 56339)
06-19 11:03:22.524: V/ARTSPConnection(5005): request: 'PLAY rtsp://IP_ADDR:5555/test.sdp RTSP/1.0
06-19 11:03:22.524: V/ARTSPConnection(5005): Session: 19d7154fdbefe93b
06-19 11:03:22.524: V/ARTSPConnection(5005): Range: npt=0.000-
06-19 11:03:22.524: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:22.524: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:22.524: V/ARTSPConnection(5005): CSeq: 3
06-19 11:03:22.524: V/ARTSPConnection(5005):
06-19 11:03:22.524: V/ARTSPConnection(5005): '

06-19 11:03:32.923: I/MyHandler(5005): DESCRIBE completed with result 0 (Success)
06-19 11:03:32.923: I/ASessionDescription(5005): v=0
06-19 11:03:32.923: I/ASessionDescription(5005): o=- 15514097962445324108 15514097962445324108 IN IP4 e82-103-128-145s
06-19 11:03:32.923: I/ASessionDescription(5005): s=Unnamed
06-19 11:03:32.923: I/ASessionDescription(5005): i=N/A
06-19 11:03:32.923: I/ASessionDescription(5005): c=IN IP4 0.0.0.0
06-19 11:03:32.923: I/ASessionDescription(5005): t=0 0
06-19 11:03:32.923: I/ASessionDescription(5005): a=tool:vlc 2.0.3
06-19 11:03:32.923: I/ASessionDescription(5005): a=recvonly
06-19 11:03:32.923: I/ASessionDescription(5005): a=type:broadcast
06-19 11:03:32.923: I/ASessionDescription(5005): a=charset:UTF-8
06-19 11:03:32.923: I/ASessionDescription(5005): a=control:rtsp://IP_ADDR:5555/test.sdp
06-19 11:03:32.923: I/ASessionDescription(5005): m=video 0 RTP/AVP 96
06-19 11:03:32.923: I/ASessionDescription(5005): b=RR:0
06-19 11:03:32.923: I/ASessionDescription(5005): a=rtpmap:96 H264/90000
06-19 11:03:32.923: I/ASessionDescription(5005): a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKwspAHgCJ+XAVICAgKAAAH0gABdwE7QsWiQ,aOtzUlA=;
06-19 11:03:32.923: I/ASessionDescription(5005): a=control:rtsp://IP_ADDR:5555/test.sdp/trackID=0
06-19 11:03:32.923: W/MyHandler(5005): Server: VLC/2.0.3
06-19 11:03:32.923: W/MyHandler(5005): mBaseURL is change to rtsp://IP_ADDR:5555/test.sdp from 'content-base'
06-19 11:03:32.923: W/MyHandler(5005): Property [net.connectivity.qosbw] NOT Found, bwQoS=2147483647
06-19 11:03:32.923: W/APacketSource(5005): Format:video 0 RTP/AVP 96  / MIME-Type:H264/90000
06-19 11:03:32.923: I/APacketSource(5005): dimensions 1920x1080
06-19 11:03:32.923: W/ASessionDescription(5005): system prop 3gpp-ra option is not found
06-19 11:03:32.923: V/ARTSPConnection(5005): request: 'SETUP rtsp://IP_ADDR:5555/test.sdp/trackID=0 RTSP/1.0
06-19 11:03:32.923: V/ARTSPConnection(5005): Transport: RTP/AVP/TCP;unicast;interleaved=0-1
06-19 11:03:32.923: V/ARTSPConnection(5005): Blocksize: 1400
06-19 11:03:32.923: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:32.923: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:32.923: V/ARTSPConnection(5005): CSeq: 6
06-19 11:03:32.923: V/ARTSPConnection(5005):
06-19 11:03:32.923: V/ARTSPConnection(5005): '
06-19 11:03:32.993: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:32.993: I/ARTSPConnection(5005): status: RTSP/1.0 461 Unsupported transport
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Server: VLC/2.0.3
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Date: Thu, 19 Jun 2014 09:03:34 GMT
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Content-Length: 0
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Cache-Control: no-cache
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Cseq: 6
06-19 11:03:32.993: I/MyHandler(5005): SETUP(1) completed with result 0 (Success)
06-19 11:03:32.993: E/MyHandler(5005): Server responses [461] ERROR for the SETUP request
06-19 11:03:32.993: W/ARTSPConnection(5005): onReceiveResponse >>> State is not CONNECTED !!!
06-19 11:03:32.993: W/ALooperRoster(5005): failed to post message. Target handler 27 still registered, but object gone.
06-19 11:03:33.087: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:33.087: V/MediaPlayerService(5005): [4] notify (0x40c729a8, 100, 1, -2147483648)
06-19 11:03:33.087: V/MediaPlayer(5877): message received msg=100, ext1=1, ext2=-2147483648
06-19 11:03:33.087: E/MediaPlayer(5877): error (1, -2147483648)
06-19 11:03:33.087: V/MediaPlayer(5877): callback application
06-19 11:03:33.087: V/MediaPlayer(5877): back from callback
06-19 11:03:33.087: E/MediaPlayer(5877): Error (1,-2147483648)
06-19 11:03:33.087: D/VideoView(5877): Error: 1,-2147483648

...

06-19 11:03:24.274: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:24.376: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:24.469: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:24.571: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:24.673: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:24.774: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:24.876: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0

...

06-19 11:03:32.571: I/Monitor(1885): SIOP:: Current AP = 400, CP = 0, PST = 393
06-19 11:03:32.587: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:32.594: E/MyHandler(5005): Never received any data, switching transports.
06-19 11:03:32.594: I/MyHandler(5005): receive 'abor' message.
06-19 11:03:32.594: I/MyHandler(5005): Posting TEARDOWN message for force disconnect
06-19 11:03:32.602: V/ARTSPConnection(5005): request: 'TEARDOWN rtsp://IP_ADDR:5555/test.sdp RTSP/1.0
06-19 11:03:32.602: V/ARTSPConnection(5005): Session: 19d7154fdbefe93b
06-19 11:03:32.602: V/ARTSPConnection(5005): Connection: close
06-19 11:03:32.602: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:32.602: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:32.602: V/ARTSPConnection(5005): CSeq: 4
06-19 11:03:32.602: V/ARTSPConnection(5005):
06-19 11:03:32.602: V/ARTSPConnection(5005): '
06-19 11:03:32.688: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:32.696: I/ARTSPConnection(5005): status: RTSP/1.0 200 OK
06-19 11:03:32.696: V/ARTSPConnection(5005): line: Server: VLC/2.0.3
06-19 11:03:32.696: V/ARTSPConnection(5005): line: Date: Thu, 19 Jun 2014 09:03:34 GMT
06-19 11:03:32.696: V/ARTSPConnection(5005): line: Session: 19d7154fdbefe93b;timeout=60
06-19 11:03:32.696: V/ARTSPConnection(5005): line: Content-Length: 0
06-19 11:03:32.696: V/ARTSPConnection(5005): line: Cache-Control: no-cache
06-19 11:03:32.696: V/ARTSPConnection(5005): line: Cseq: 4
06-19 11:03:32.696: I/MyHandler(5005): TEARDOWN completed with result 0 (Success)
06-19 11:03:32.696: W/ARTSPConnection(5005): onReceiveResponse >>> State is not CONNECTED !!!
06-19 11:03:32.696: I/ARTSPConnection(5005): host: IP_ADDR
06-19 11:03:32.696: I/ARTSPConnection(5005): mProxyName is empty
06-19 11:03:32.696: I/ARTSPConnection(5005): Set No Proxy
06-19 11:03:32.696: I/ARTSPConnection(5005): Server IP addresses:
06-19 11:03:32.696: I/ARTSPConnection(5005): IPv4: IP_ADDR
06-19 11:03:32.696: I/ARTSPConnection(5005): Device IP addresses:
06-19 11:03:32.696: I/ARTSPConnection(5005): IPv6: ::
06-19 11:03:32.696: I/ARTSPConnection(5005): IPv4: 0.0.0.0
06-19 11:03:32.696: V/ARTSPConnection(5005): ==select timeout mTCPConnectionSelectCount = -1
06-19 11:03:32.790: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:32.798: I/MyHandler(5005): connection request completed with result 0 (Success)
06-19 11:03:32.798: V/ARTSPConnection(5005): request: 'DESCRIBE rtsp://IP_ADDR:5555/test.sdp RTSP/1.0
06-19 11:03:32.798: V/ARTSPConnection(5005): Accept: application/sdp
06-19 11:03:32.798: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:32.798: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:32.798: V/ARTSPConnection(5005): CSeq: 5
06-19 11:03:32.798: V/ARTSPConnection(5005):
06-19 11:03:32.798: V/ARTSPConnection(5005): '

06-19 11:03:32.923: I/MyHandler(5005): DESCRIBE completed with result 0 (Success)
06-19 11:03:32.923: I/ASessionDescription(5005): v=0
06-19 11:03:32.923: I/ASessionDescription(5005): o=- 15514097962445324108 15514097962445324108 IN IP4 e82-103-128-145s
06-19 11:03:32.923: I/ASessionDescription(5005): s=Unnamed
06-19 11:03:32.923: I/ASessionDescription(5005): i=N/A
06-19 11:03:32.923: I/ASessionDescription(5005): c=IN IP4 0.0.0.0
06-19 11:03:32.923: I/ASessionDescription(5005): t=0 0
06-19 11:03:32.923: I/ASessionDescription(5005): a=tool:vlc 2.0.3
06-19 11:03:32.923: I/ASessionDescription(5005): a=recvonly
06-19 11:03:32.923: I/ASessionDescription(5005): a=type:broadcast
06-19 11:03:32.923: I/ASessionDescription(5005): a=charset:UTF-8
06-19 11:03:32.923: I/ASessionDescription(5005): a=control:rtsp://IP_ADDR:5555/test.sdp
06-19 11:03:32.923: I/ASessionDescription(5005): m=video 0 RTP/AVP 96
06-19 11:03:32.923: I/ASessionDescription(5005): b=RR:0
06-19 11:03:32.923: I/ASessionDescription(5005): a=rtpmap:96 H264/90000
06-19 11:03:32.923: I/ASessionDescription(5005): a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKwspAHgCJ+XAVICAgKAAAH0gABdwE7QsWiQ,aOtzUlA=;
06-19 11:03:32.923: I/ASessionDescription(5005): a=control:rtsp://IP_ADDR:5555/test.sdp/trackID=0
06-19 11:03:32.923: W/MyHandler(5005): Server: VLC/2.0.3
06-19 11:03:32.923: W/MyHandler(5005): mBaseURL is change to rtsp://IP_ADDR:5555/test.sdp from 'content-base'
06-19 11:03:32.923: W/MyHandler(5005): Property [net.connectivity.qosbw] NOT Found, bwQoS=2147483647
06-19 11:03:32.923: W/APacketSource(5005): Format:video 0 RTP/AVP 96  / MIME-Type:H264/90000
06-19 11:03:32.923: I/APacketSource(5005): dimensions 1920x1080
06-19 11:03:32.923: W/ASessionDescription(5005): system prop 3gpp-ra option is not found
06-19 11:03:32.923: V/ARTSPConnection(5005): request: 'SETUP rtsp://IP_ADDR:5555/test.sdp/trackID=0 RTSP/1.0
06-19 11:03:32.923: V/ARTSPConnection(5005): Transport: RTP/AVP/TCP;unicast;interleaved=0-1
06-19 11:03:32.923: V/ARTSPConnection(5005): Blocksize: 1400
06-19 11:03:32.923: V/ARTSPConnection(5005): User-Agent: Samsung SM-G386F stagefright/Beyonce/1.1.9 (Linux;Android 4.2.2)
06-19 11:03:32.923: V/ARTSPConnection(5005): x-wap-profile: http://wap.samsungmobile.com/uaprof/SM-G386F.xml
06-19 11:03:32.923: V/ARTSPConnection(5005): CSeq: 6
06-19 11:03:32.923: V/ARTSPConnection(5005):
06-19 11:03:32.923: V/ARTSPConnection(5005): '
06-19 11:03:32.993: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:32.993: I/ARTSPConnection(5005): status: RTSP/1.0 461 Unsupported transport
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Server: VLC/2.0.3
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Date: Thu, 19 Jun 2014 09:03:34 GMT
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Content-Length: 0
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Cache-Control: no-cache
06-19 11:03:32.993: V/ARTSPConnection(5005): line: Cseq: 6
06-19 11:03:32.993: I/MyHandler(5005): SETUP(1) completed with result 0 (Success)
06-19 11:03:32.993: E/MyHandler(5005): Server responses [461] ERROR for the SETUP request
06-19 11:03:32.993: W/ARTSPConnection(5005): onReceiveResponse >>> State is not CONNECTED !!!
06-19 11:03:32.993: W/ALooperRoster(5005): failed to post message. Target handler 27 still registered, but object gone.
06-19 11:03:33.087: V/NuPlayer(5005): scanning sources haveAudio=0, haveVideo=0
06-19 11:03:33.087: V/MediaPlayerService(5005): [4] notify (0x40c729a8, 100, 1, -2147483648)
06-19 11:03:33.087: V/MediaPlayer(5877): message received msg=100, ext1=1, ext2=-2147483648
06-19 11:03:33.087: E/MediaPlayer(5877): error (1, -2147483648)
06-19 11:03:33.087: V/MediaPlayer(5877): callback application
06-19 11:03:33.087: V/MediaPlayer(5877): back from callback
06-19 11:03:33.087: E/MediaPlayer(5877): Error (1,-2147483648)
06-19 11:03:33.087: D/VideoView(5877): Error: 1,-2147483648

Some comments:

  • All devices can play the same test video (tested by playing video from device' memory)
Reply all
Reply to author
Forward
0 new messages