Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

How to reconnect/reload (media) in same session after Network lost! #269

@cingh-jasdeep

Description

@cingh-jasdeep

Hi

Thanks for this helpful sample. I am building an online radio streaming app.
Very similar to the sample

UAMP: Kotlin version
Android Version: Pie
Device: Pixel 1

I wanted to know how the MediaSession can handle exceptions in the following cases?
(currently it does nothing)

  1. When there is no internet connection and a client tries to onLoadChildren?
    Right now it returns null, so no items.
    But how to reload onLoadChildren when internet connection resumes.

  2. After Catalog loaded, internet goes away while playing?
    Right now Playback goes to error state and does not return
    How to come back to normal state when internet connection resumes.

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions