joreilly / Confetti

KMP GraphQL based conference project with Jetpack Compose Android, Compose for Wear and SwiftUI iOS clients along with GraphQL backend.
Apache License 2.0
759 stars 89 forks source link

Add Wear audio player #741

Open yschimke opened 1 year ago

yschimke commented 1 year ago

backend now provides links such as

https://raw.githubusercontent.com/paug/AndroidMakersBackend/main/service-graphql/src/main/resources/links.json

martinbonnin commented 1 year ago

For the record, it might not work for all conferences as most of them host on Youtube and we don't have access to the raw audio stream. But it's working for Android Makers!

yschimke commented 1 year ago

Is that information visible from the metadata? How do I know if the conference supports it?

Also, I might try linking out to Youtube where I have a youtube link.

martinbonnin commented 1 year ago

Is that information visible from the metadata? How do I know if the conference supports it?

It's only per-session right now, you'll have to get the links for each session and see if audio is there. We could make a hint like Conference.hasAudioLinks (edit: I meant Conference, not Session) that's computed server side if that'd be useful? But all in all I'm expecting links to vary per-session. For an example, Android Makers has had cases were some speakers explicitely didn't want their talk on Youtube. So hasAudioLinks could be useful as a general indication but you'd sill have to check links before showing the UI