misskey icon indicating copy to clipboard operation
misskey copied to clipboard

Not playing HLS video from Peertube with split streams

Open spirillen opened this issue 7 months ago • 7 comments

💡 Summary

Hi there,

I hope you’re all doing well!

I’ve noticed an issue with the recent upgrade of PeerTube to version 7.1.1 and now 7.2.0-rc.1. It seems that Misskey is having trouble playing newer videos that are HLS formatted, while the older videos in the same format play just fine.

I wanted to check if this is a known issue and whether you’re planning to address it. I’ve opened a ticket about this in PeerTube’s GitHub repository, and they suggested I reach out to you. You can find the issues linked below, where there are more details and examples of the problem.

Screenshot

Image

Thanks a lot!

https://github.com/Chocobozzz/PeerTube/issues/7048#event-17808987368

🥰 Expected Behavior

I expect that the videos coming from PeerTube will be federated correctly, including in HLS with split streams for both video and audio.

🤬 Actual Behavior

Please refer to the summary and the link provided for the actual behavior: https://github.com/Chocobozzz/PeerTube/issues/7048#event-17808987368.

📝 Steps to Reproduce

1, serve a online media on any PeerTube 7.x and missKey struggle to serve HLS formatted videos with split Stream

💻 Frontend Environment

* Model and OS of the device(s):
* Browser: FireFox ESR, Tor (Forefox ESR)
* Server URL: https://matrix.rocks/about-misskey
* Misskey: v2025.5.0 and prior

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: bash-script
* Misskey: v2025.5.0 and prior
* Node: v22.16.0
* PostgreSQL: 17
* Redis: 7
* OS and Architecture: Ubuntu 22 (About to upgrade to 24)

Do you want to address this bug yourself?

  • [ ] Yes, I will patch the bug myself and send a pull request

update: Added screenshot

spirillen avatar May 26 '25 16:05 spirillen

This is not a misskey specific issue and more so a peertube issue.

Note that misskey tries to use the player of PeerTube (embed) and not the Misskey/Browser: https://tube.matrix.rocks/videos/embed/sgbG4XveutUqaWr2mjNKBZ?autoplay=1&auto_play=1 but it returns a browser not supported error

Image

Mar0xy avatar May 26 '25 23:05 Mar0xy

Hi @Mar0xy Thanks for your followup on the issue, and also for helping solve this, by sharing your experience in https://github.com/Chocobozzz/PeerTube/issues/7049, that is much appreciated.

Allow me to NOT close this issue, until the problem is solved, as other Fedi software like Plerome(Akkoma) and at least friendica are affected as well.

spirillen avatar May 27 '25 02:05 spirillen

It sounds better to ask them to support on their tracker and not tracking their progress on this board... doesn't it?

KisaragiEffective avatar May 27 '25 02:05 KisaragiEffective

It'd work if you see it on mobile, according to https://caniuse.com/http-live-streaming .

However desktop browsers expect Safari do not support it, so might want to introduce libs like Hls.js .

KisaragiEffective avatar May 27 '25 02:05 KisaragiEffective

Hello,

This is a peertube bug that will be fixed in next release (7.2)

Chocobozzz avatar May 30 '25 13:05 Chocobozzz

Hello,

This is a peertube bug that will be fixed in next release (7.2)

Thank you so much for letting us know!

kakkokari-gtyih avatar May 30 '25 13:05 kakkokari-gtyih

Then it;s just about getting it installed and tested 👋🏻

Should we close issue, or wait till we have success??

spirillen avatar May 30 '25 14:05 spirillen

This does not seem to be our issue, and seems already fixed, so I close this.

Sayamame-beans avatar Jul 20 '25 03:07 Sayamame-beans