ExoPlayer: Multicast stream get stuck with no error
ExoPlayer Version
2.18.3
Devices that reproduce the issue
Smartlabs
Devices that do not reproduce the issue
NA
Reproducible in the demo app?
Yes
Reproduction steps
play a multicsat stream when connected to a multicast supported network same streams sometimes get stuck and sometimes work when switching between them
Expected result
Stream starts playing
Actual result
Stream is stuck randomly after it worked previously, meaning, we played it, changed to other streams and came back to this one and suddenly it is stuck
We observed in the logs errors from codec OMX.amlogic.avc.decoder.awesome2
We tried to troubleshoot the issue - we excluded c2.android.aac.decoder codec and it actually helped to eliminate the issue, streams stopped getting stuck, but this is not a viable solution cause it is on account of having no audio due to excluding of codec.
Side note - also surprisingly, removing the codec helped make the streams loading time a lot faster.
here are some strange lines from logs if multicast is not loaded:
Access denied finding property "media.omx.width"
type=1400 audit(0.0:790): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1004 scontext=u:r:mediacodec:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
setParameter(0xf083e4d0:amlogic.avc.decoder.awesome2, OMX.google.android.index.allocateNativeHandle(0x7f00000a): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019)
setParameter(0xf083e4d0:amlogic.avc.decoder.awesome2, OMX.google.android.index.storeMetaDataInBuffers(0x7f000002): Output:1 en=1 type=1) ERROR: BadPortIndex(0x8000101b)
what I can see is that by default native buffer info is w:640, h:480 and then some errors while setting resolution:
Access denied finding property "media.omx.width"
Access denied finding property "media.omx.height"
and then
setConfig(0xf083e4d0:amlogic.avc.decoder.awesome2, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)
ACodec
com.kaltura.playkitdemo I codec does not support config priority (err -1010)
Media
The stream is multicast and can only be tested on multicast network, so can’t share working example
Bug Report
- You will email the zip file produced by
adb bugreportto dev.exoplayer@gmail.com after filing this issue.
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 27 (9 by maintainers)
@tonihei if you could please have a look at the bug report we sent today via mail thx!