Android RTSP - MediaPlayer / PVMFFailure initialization failed

I have a camera from Cisco, and I like to stream this video stream to my Android phone. It is encoded in MPEG4, so there should not be any problems, but it no longer works (it worked with another camera a few weeks ago). Any idea what I can try? I do not know what is wrong here.

I/ActivityManager(   79): Starting activity: Intent { cmp=com.Projekt1/.CameraView }
I/System.out(18792): SDPURL - rtsp://10.42.0.103:554/live.sdp
I/NotificationService(   79): enqueueToast pkg=com.Projekt1 callback=android.app.ITransientNotification$Stub$Proxy@44a22218 duration=0
D/MediaPlayer(18792): Couldn't open file on client side, trying server side
I/ActivityManager(   79): Displayed activity com.Projekt1/.CameraView: 270 ms (total 270 ms)
W/MediaPlayer(18792): info/warning (1, 26)
I/MediaPlayer(18792): Info (1,26)
E/PlayerDriver(   52): Command PLAYER_INIT completed with an error or info PVMFFailure
E/MediaPlayer(18792): error (1, -1)
E/MediaPlayer(18792): Error (1,-1)
D/VideoView(18792): Error: 1,-1
W/PlayerDriver(   52): PVMFInfoErrorHandlingComplete
+3
source share
1 answer

Sorry Nils, you have the correct codec, but Android only supports .3gp Streaming video, I see that you have

rtsp://10.42.0.103:554/live.sdp
0
source

Source: https://habr.com/ru/post/1750358/


All Articles