Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[media.ccc.de] Fix live stream extraction #767

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

TobiGr
Copy link
Member

@TobiGr TobiGr commented Dec 27, 2021

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

The API was slightly changed and only HLS streams are provided anymore.

Add a basic test for to check whether the required streamInfo fields are available.

Fixes #766

@TobiGr TobiGr added bug Issue is related to a bug media.ccc.de service, https://media.ccc.de labels Dec 27, 2021
@TobiGr TobiGr changed the title [media.ccc.de] Fix live streams extraction [media.ccc.de] Fix live stream extraction Dec 27, 2021
The API was slightly changed and only HLS streams are provided anymore.

Add a basic test for to check whether the required streamInfo fields are available.

Closes #766
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Could you provide an apk?

Comment on lines +184 to +187
if (streamInfo.videoStreams.isEmpty()
&& streamInfo.audioStreams.isEmpty()
&& isNullOrEmpty(streamInfo.getHlsUrl())
&& isNullOrEmpty(streamInfo.getDashMpdUrl())) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmmh, I think before only videoStreams and audioStreams were checked because in any other case the stream is a livestream. So NewPipe's player expected to need to use hls/dash urls only on livestreams. Does this change break that workflow, or is the check being done differently by NewPipe and so this is not an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug media.ccc.de service, https://media.ccc.de
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[media.ccc.de] No streams for live streams
3 participants