TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.1k stars 3.02k forks source link

LiveStream Support for CCC events #5271

Open yoshimo opened 3 years ago

yoshimo commented 3 years ago

Checklist

Describe the feature you want

The CCC media site not only hosts recorded talks but the C3Voc team is also present at various events and offers Livestreams there. Streaming.media.ccc.de offers streams with various languages and subtitles during these events. They are also served as relive if you came later and they haven't been published as final version on media. CCC. de just yet. It would be great to be able to watch them in NP.

alternatives are chaosflix, a dedicated app. Can be used but NP should be comparable in terms of features. The Website can be used to but doesn't offer the same level of UX on mobile devices.

fossdd commented 3 years ago

I searched how ChaosFlix it does and found these files:

There are also other Applications that offers features to stream CCC livestreams

It maybe helps the developers to implement this feature.

Streams are also for every browser accessible on https://streaming.media.ccc.de/ (voc/streaming-website), but difficult to parse, cause the website changes their design for every event.

The next conference is the rC3 which begins from 2020-12-27 to 2020-12-30.

TobiGr commented 3 years ago

https://streaming.media.ccc.de/streams/v2.json seems to be the API endpoint. Does any documentation of the expected content exist?

yoshimo commented 3 years ago

The Kodi addon link seems to have a sample feed.

fossdd commented 3 years ago

Oh, great: I've found a example response for https://streaming.media.ccc.de/streams/v2.json. Currently it's a empty JSON array, cause no event is live.

https://gist.github.com/MaZderMind/a91f242efb2f446a2237d4596896efd6

TobiGr commented 3 years ago

Get a working APK from my pull request: #5286 Please test it.

You can find live videos by secting media.ccc.de service and opening the "Live" kiosk from the navigation drawer.

yoshimo commented 3 years ago

Basic streaming works , the different streams from different rooms are visible and can be played. Is it possible to read the "topic" of the current session?

Unlike the website, you can't go back in time and watch a stream from the beginning if you came late.

Does it always pic the highest resolution?

fossdd commented 3 years ago

The used API gives active "talks".

TobiGr commented 3 years ago

Like that? app-debug.zip

yoshimo commented 3 years ago

Looks better now, titles are visible.

fossdd commented 3 years ago

Yes, that looks nice.

fossdd commented 3 years ago

I think this issue can be closed with NewPipe Version 0.20.8