Android 4.2.2 Stream Failed Problem (libvlc-all:3.*.*)
Android VLC library not working on android 4.2.2
i develop one application with "libvlc-all:3.." and my app working very well on android 5 and above android 5 but when i try to run on android 4.2.2 it doesn't work.
i already test all version of "libvlc-all:3.." but none of them is working ..
there is working any version of library for android 4.2.2 ?
Please let me know there is any solutions for this bug..
Logs :
- D/dalvikvm(30571): Trying to load lib /data/app-lib/com.interra.vlctest-1/libc++_shared.so 0x40f9b9c0
- D/dalvikvm(30571): Added shared lib /data/app-lib/com.interra.vlctest-1/libc++_shared.so 0x40f9b9c0
- D/dalvikvm(30571): No JNI_OnLoad found in /data/app-lib/com.interra.vlctest-1/libc++_shared.so 0x40f9b9c0, skipping init
- D/dalvikvm(30571): Trying to load lib /data/app-lib/com.interra.vlctest-1/libvlc.so 0x40f9b9c0
- D/dalvikvm(30571): Added shared lib /data/app-lib/com.interra.vlctest-1/libvlc.so 0x40f9b9c0
- D/dalvikvm(30571): Trying to load lib /data/app-lib/com.interra.vlctest-1/libvlcjni.so 0x40f9b9c0
- D/dalvikvm(30571): Added shared lib /data/app-lib/com.interra.vlctest-1/libvlcjni.so 0x40f9b9c0
- W/dalvikvm(30571): VFY: unable to find class referenced in signature (Landroid/media/AudioDeviceCallback;)
- W/dalvikvm(30571): VFY: unable to find class referenced in signature (Landroid/media/AudioDeviceCallback;)
- W/dalvikvm(30571): Unable to resolve superclass of Lorg/videolan/libvlc/MediaPlayer$3; (217)
- W/dalvikvm(30571): Link of class 'Lorg/videolan/libvlc/MediaPlayer$3;' failed
- E/dalvikvm(30571): Could not find class 'org.videolan.libvlc.MediaPlayer$3', referenced from method org.videolan.libvlc.MediaPlayer.createAudioDeviceCallback
- W/dalvikvm(30571): VFY: unable to resolve new-instance 2326 (Lorg/videolan/libvlc/MediaPlayer$3;) in Lorg/videolan/libvlc/MediaPlayer;
- D/dalvikvm(30571): VFY: replacing opcode 0x22 at 0x0000
- I/dalvikvm(30571): Could not find method android.content.Context.getSystemService, referenced from method org.videolan.libvlc.MediaPlayer.registerAudioPlugV23
- W/dalvikvm(30571): VFY: unable to resolve virtual method 420: Landroid/content/Context;.getSystemService (Ljava/lang/Class;)Ljava/lang/Object;
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x0008
- W/dalvikvm(30571): Unable to resolve superclass of Lorg/videolan/libvlc/MediaPlayer$3; (217)
- W/dalvikvm(30571): Link of class 'Lorg/videolan/libvlc/MediaPlayer$3;' failed
- D/dalvikvm(30571): DexOpt: unable to opt direct call 0x44d1 at 0x02 in Lorg/videolan/libvlc/MediaPlayer;.createAudioDeviceCallback
- D/VLC (30571): [64e98680/20011f02] libvlc libvlc: VLC media player - 3.0.11.1 Vetinari
- D/VLC (30571): [64e98680/50005f] libvlc libvlc: Copyright © 1996-2020 the VideoLAN team
- D/VLC (30571): [64e98680/6e0069] libvlc libvlc: revision 3.0.11.1-65-ge1c5c904ee
- D/VLC (30571): [64e98680/6f0064] libvlc libvlc: configured with ../configure '--host=arm-linux-androideabi' '--build=x86_64-unknown-linux' '--with-contrib=/builds/videolan/vlc-android/vlc/contrib/arm-linux-androideabi' '--prefix=/builds/videolan/vlc-android/vlc/build-android-arm-linux-androideabi/install/' '--with-pic' '--disable-nls' '--enable-live555' '--enable-realrtsp' '--enable-avformat' '--enable-swscale' '--enable-avcodec' '--enable-opus' '--enable-opensles' '--enable-matroska' '--enable-taglib' '--enable-dvbpsi' '--disable-vlc' '--disable-shared' '--disable-update-check' '--disable-vlm' '--disable-dbus' '--enable-lua' '--disable-vcd' '--disable-v4l2' '--enable-dvdread' '--enable-dvdnav' '--enable-bluray' '--disable-linsys' '--disable-decklink' '--disable-libva' '--disable-dv1394' '--enable-mod' '--disable-sid' '--disable-gme' '--disable-tremor' '--disable-mad' '--enable-mpg123' '--disable-dca' '--disable-sdl-image' '--enable-zvbi' '--disable-fluidsynth' '--enable-fluidlite' '--disable-jack' '--disable-pulse' '--di
- D/VLC (30571): [64e98680/64ecabf0] libvlc libvlc: plug-ins loaded: 368 modules
- D/VLC (30571): [64ededd8/61726662] libvlc logger: looking for logger module matching "any": 4 candidates
- D/VLC (30571): [64ededd8/61722d74] libvlc logger: using logger module "android_logger"
- D/VLC (30571): [64e98680/776b] libvlc libvlc: translation test: code is "C"
- D/VLC (30571): [64ec80c8/776b] libvlc keystore: looking for keystore module matching "memory": 3 candidates
- D/VLC (30571): [64ec80c8/776b] libvlc keystore: using keystore module "memory"
- D/VLC (30571): [64e98680/776b] libvlc libvlc: CPU has capabilities ARM_NEON FPU
- D/VLC (30571): [6ab9cc08/776b] libvlc generic: creating audio output
- D/VLC (30571): [660b9c58/776b] libvlc audio output: looking for audio output module matching "android_audiotrack": 4 candidates
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetMethodID(AudioTrack.writeV23) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetMethodID(AudioTrack.writeShortV23) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetMethodID(AudioTrack.writeBufferV21) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetMethodID(AudioTrack.getTimestamp) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetMethodID(AudioTrack.setVolume) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetStaticFieldID(AudioFormat.ENCODING_AC3) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetStaticFieldID(AudioFormat.ENCODING_E_AC3) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetStaticFieldID(AudioFormat.ENCODING_DTS) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetStaticFieldID(AudioFormat.ENCODING_DTS_HD) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetStaticFieldID(AudioFormat.ENCODING_DOLBY_TRUEHD) failed
- E/VLC (30571): [660b9c58/776b] libvlc audio output: GetStaticFieldID(AudioManager.ERROR_DEAD_OBJECT) failed
- D/VLC (30571): [660b9c58/776b] libvlc audio output: using audio output module "android_audiotrack"
- D/VLC (30571): [6ab9cc08/776b] libvlc generic: keeping audio output
- I/dalvikvm(30571): Could not find method android.app.Activity.isInPictureInPictureMode, referenced from method org.videolan.libvlc.VideoHelper.updateVideoSurfaces
- W/dalvikvm(30571): VFY: unable to resolve virtual method 103: Landroid/app/Activity;.isInPictureInPictureMode ()Z
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x00b8
- D/dalvikvm(30571): DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
- W/dalvikvm(30571): VFY: unable to resolve static field 116 (SUPPORTED_ABIS) in Landroid/os/Build;
- D/dalvikvm(30571): VFY: replacing opcode 0x62 at 0x0000
- D/libEGL (30571): loaded /system/lib/egl/libEGL_mali.so
- D/libEGL (30571): loaded /system/lib/egl/libGLESv1_CM_mali.so
- D/libEGL (30571): loaded /system/lib/egl/libGLESv2_mali.so
- I/SurfaceFlinger( 1229): GraphicBufferAlloc::createGraphicBuffer
- W/BufferQueue( 1229): freeAllBuffersLocked called but mQueue is not empty
- I/SurfaceFlinger( 1229): GraphicBufferAlloc::createGraphicBuffer
- D/OpenGLRenderer(30571): Enabling debug mode 0
- D/VLC (30571): [6b394970/776b] libvlc input: Creating an input for 'rtsp://192.168.12.16/h264/ch4/main/av_stream'
- D/VLC (30571): [6b394970/77ae] libvlc input: using timeshift granularity of 50 MiB
- D/VLC (30571): [6b394970/77ae] libvlc input: using default timeshift path
- D/VLC (30571): [6b394970/77ae] libvlc input:
rtsp://admin:interra2019@192.168.12.16/h264/ch4/main/av_stream' gives access
rtsp' demuxany' path
admin:interra2019@192.168.12.16/h264/ch4/main/av_stream' - D/VLC (30571): [6b398be0/77ae] libvlc input source: creating demux: access='rtsp' demux='any' location='admin:interra2019@192.168.12.16/h264/ch4/main/av_stream' file='(null)'
- D/VLC (30571): [6b398cd0/77ae] libvlc demux: looking for access_demux module matching "rtsp": 7 candidates
- D/VLC (30571): [6b398cd0/77ae] libvlc demux: version 2016.11.28
- W/VLC (30571): [6b398cd0/77ae] libvlc demux: Password in a URI is DEPRECATED
- I/ActivityManager( 1700): Displayed com.interra.vlctest/.MainActivity: +3s482ms
- I/dalvikvm(30571): Could not find method android.view.View.setTooltipText, referenced from method androidx.appcompat.widget.TooltipCompat.setTooltipText
- W/dalvikvm(30571): VFY: unable to resolve virtual method 3729: Landroid/view/View;.setTooltipText (Ljava/lang/CharSequence;)V
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x0006
- I/dalvikvm(30571): Could not find method android.view.ViewConfiguration.getScaledHorizontalScrollFactor, referenced from method androidx.core.view.ViewConfigurationCompat.getScaledHorizontalScrollFactor
- W/dalvikvm(30571): VFY: unable to resolve virtual method 3748: Landroid/view/ViewConfiguration;.getScaledHorizontalScrollFactor ()F
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x0006
- I/dalvikvm(30571): Could not find method android.view.ViewConfiguration.getScaledHoverSlop, referenced from method androidx.core.view.ViewConfigurationCompat.getScaledHoverSlop
- W/dalvikvm(30571): VFY: unable to resolve virtual method 3749: Landroid/view/ViewConfiguration;.getScaledHoverSlop ()I
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x0006
- I/dalvikvm(30571): Could not find method android.view.ViewConfiguration.getScaledVerticalScrollFactor, referenced from method androidx.core.view.ViewConfigurationCompat.getScaledVerticalScrollFactor
- W/dalvikvm(30571): VFY: unable to resolve virtual method 3754: Landroid/view/ViewConfiguration;.getScaledVerticalScrollFactor ()F
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x0006
- I/dalvikvm(30571): Could not find method android.view.ViewConfiguration.shouldShowMenuShortcutsWhenKeyboardPresent, referenced from method androidx.core.view.ViewConfigurationCompat.shouldShowMenuShortcutsWhenKeyboardPresent
- W/dalvikvm(30571): VFY: unable to resolve virtual method 3757: Landroid/view/ViewConfiguration;.shouldShowMenuShortcutsWhenKeyboardPresent ()Z
- D/dalvikvm(30571): VFY: replacing opcode 0x6e at 0x0006
- E/ (30571): onEvent: Opening
- W/VLC (30571): [6b398cd0/77ae] libvlc demux: RTP subsession 'video/H264' failed (getsockname() error: Bad file number)
- D/VLC (30571): [6b398cd0/77ae] libvlc demux: setup start: 0.000000 stop:0.000000
- E/VLC (30571): [6b398cd0/77ae] libvlc demux: Nothing to play for rtsp://192.168.12.16:554/h264/ch4/main/av_stream
- D/VLC (30571): [6b398cd0/77ae] libvlc demux: no access_demux modules matched
- D/VLC (30571): [6b681168/77ae] libvlc stream: creating access: rtsp://admin:interra2019@192.168.12.16/h264/ch4/main/av_stream
- D/VLC (30571): [6b681168/77ae] libvlc stream: looking for access module matching "rtsp": 24 candidates
- D/VLC (30571): [6b681168/77ae] libvlc stream: try to open 'rtsp://admin:interra2019@192.168.12.16/h264/ch4/main/av_stream'
- D/VLC (30571): [6b681168/77ae] libvlc stream: connect to host '192.168.12.16'
- D/VLC (30571): [6b681168/77ae] libvlc stream: net: connecting to 192.168.12.16 port 554
- D/VLC (30571): [6b681168/77ae] libvlc stream: connection succeeded (socket = 46)
- D/VLC (30571): [6b681168/77ae] libvlc stream: net: opening 0.0.0.0 datagram port 9188
- D/VLC (30571): [6b681168/77ae] libvlc stream: net: opening 0.0.0.0 datagram port 9189
- E/VLC (30571): [6b681168/77ae] libvlc stream: Failed to setup RTSP session
- D/VLC (30571): [6b681168/77ae] libvlc stream: net: connecting to 192.168.12.16 port 554
- I/SurfaceFlinger( 1229): GraphicBufferAlloc::createGraphicBuffer
- D/VLC (30571): [6b681168/77ae] libvlc stream: connection succeeded (socket = 46)
- W/VLC (30571): [6b681168/77ae] libvlc stream: Cseq mismatch, got 1, assumed 0
- D/VLC (30571): [6b681168/77ae] libvlc stream: rtsp connected
- W/VLC (30571): [6b681168/77ae] libvlc stream: only real/helix rtsp servers supported for now
- D/VLC (30571): [6b681168/77ae] libvlc stream: no access modules matched
- E/VLC (30571): [6b394970/77ae] libvlc input: Your input can't be opened
- E/VLC (30571): [6b394970/77ae] libvlc input: VLC is unable to open the MRL 'rtsp://admin:interra2019@192.168.12.16/h264/ch4/main/av_stream'. Check the log for details.