-
-
Notifications
You must be signed in to change notification settings - Fork 855
Open
Description
Title: NullPointerException in StreamBase.getVideoData on Android 14 (Oppo Reno8 T)
Describe the bug
The application crashes with a NullPointerException
originating from the StreamBase$getVideoData$1.onVideoInfo
method when the video encoder processes an output buffer. This crash occurs specifically on an Oppo Reno8 T running Android 14.
To Reproduce
Steps to reproduce the behavior:
- No steps available
Expected behavior
The stream should start successfully and continue running without crashing.
Screenshots
N/A (Crash log provided)
Smartphone (please complete the following information):
- Library version: 2.6.4
- Device: Oppo Reno8 T
- OS: Android 14 (SDK 34)
Additional context
Crash Log (Stack Trace)
Exception java.lang.NullPointerException:
at com.pedro.library.base.StreamBase$getVideoData$1.onVideoInfo (Unknown Source:2)
at com.pedro.encoder.video.VideoEncoder.requestKeyframe (VideoEncoder.java:263)
at com.pedro.encoder.video.VideoEncoder.checkBuffer (VideoEncoder.java:527)
at com.pedro.encoder.BaseEncoder.processOutput (BaseEncoder.java:261)
at com.pedro.encoder.BaseEncoder.outputAvailable (BaseEncoder.java:295)
at com.pedro.encoder.BaseEncoder$1.onOutputBufferAvailable (BaseEncoder.java:315)
at android.media.MediaCodec$EventHandler.handleCallback (MediaCodec.java:1943)
at android.media.MediaCodec$EventHandler.handleMessage (MediaCodec.java:1841)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:257)
at android.os.Looper.loop (Looper.java:368)
at android.os.HandlerThread.run (HandlerThread.java:67)
implementation("com.github.pedroSG94.RootEncoder:library:2.6.4")
Metadata
Metadata
Assignees
Labels
No labels