Skip to content

Bug: no audio after repeating #44

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

I use this:

        videoView.setRawData(R.raw.test)
        videoView.isLooping = true
        videoView.setVolume(1f, 1f)
        videoView.prepare { videoView.start() }

And this in layout file:

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent" android:layout_height="match_parent">

    <com.yqritc.scalablevideoview.ScalableVideoView
        android:id="@+id/videoView" android:layout_width="match_parent" android:layout_height="match_parent"
        app:scalableType="centerCrop"/>
</RelativeLayout>

Yet for some reason, after the first playback, I can't hear anything. How come?

Attached sample project.
MyApplication.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions