Skip to content

TranscoderUtils.java line 134 #269

@Ma7moudHatem

Description

@Ma7moudHatem

I have the following crash on my app caused by LiTr lib:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
       at android.media.MediaFormat.getLong(MediaFormat.java:855)
       at com.linkedin.android.litr.utils.TranscoderUtils.estimateVideoTrackBitrate(TranscoderUtils.java:134)
       ...

Could you please fix it as it affected many of my app users?

Extra Info:
LiTr version: com.linkedin.android.litr:litr:1.5.5
Android OS: Different OS versions
Android device: Different Android devices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions