google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.74k stars 6.03k forks source link

udp stream play video but can't play audio #5542

Closed MuthuKrishnanO closed 5 years ago

MuthuKrishnanO commented 5 years ago

02-21 01:00:45.816 30850-31511/com.example.user.iptv_ridapps I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es 02-21 01:00:45.834 30850-31521/com.example.user.iptv_ridapps I/OMXClient: Using client-side OMX mux. 02-21 01:00:45.838 30850-31520/com.example.user.iptv_ridapps I/MediaCodec: MediaCodec::setState == > mCrypto.clear 02-21 01:00:45.841 30850-31521/com.example.user.iptv_ridapps E/ACodec: [OMX.hisi.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648 02-21 01:00:45.841 30850-31521/com.example.user.iptv_ridapps I/ACodec: [OMX.hisi.video.decoder.avc] prepareForAdaptivePlayback(528x576) 02-21 01:00:45.848 30850-31521/com.example.user.iptv_ridapps I/ACodec: [OMX.hisi.video.decoder.avc] Allocating 4 buffers of size 2097152 on input port 02-21 01:00:45.854 30850-31521/com.example.user.iptv_ridapps I/ACodec: [OMX.hisi.video.decoder.avc] will output to SurfaceView 02-21 01:00:45.854 30850-31521/com.example.user.iptv_ridapps I/ACodec: Output will queue to overlay. 02-21 01:00:45.855 30850-31521/com.example.user.iptv_ridapps I/ACodec: isVideoBypass -- omxBypass = 0, queuesToNativeWindow = 1 02-21 01:00:45.855 30850-31521/com.example.user.iptv_ridapps I/ACodec: [OMX.hisi.video.decoder.avc] Allocating 7 buffers from a native window of size 456192 on output port bug

MuthuKrishnanO commented 5 years ago

I'm using udpdatasource to play the video in exoplayerview .

andrewlewis commented 5 years ago

Please provide complete information as requested in the issue template. The issue template can be found here.

andrewlewis commented 5 years ago

Note: the logging provided is not necessarily indicative of a problem, so please provide a full bug report.

Ideally, it would be helpful if you could modify the ExoPlayer demo app to load the UDP stream and take the bugreport just after attempting to play it.

MuthuKrishnanO commented 5 years ago

now using the Exoplayer Demo app .but can't install apk to android SETOFBOX, it shows the bug like that

Failed to find byte code for android/media/MediaDrm$OnKeyStatusChangeListener

MuthuKrishnanO commented 5 years ago

connect set-top box using adb plugin

andrewlewis commented 5 years ago

Looking at the logcat provided via email: this device (Hisilicon Hi3798CV200 API 22) is not advertising support for the audio format: D/EventLogger: [ ] Track:0, id=1/3504, mimeType=audio/mpeg-L2, channels=2, sample_rate=48000, supported=NO_UNSUPPORTED_TYPE.