News for hackers. Stuff that matters.
Re:Moving my home media library from iTunes to Jellyfin and ... by at_a_remove on Thursday June 10, 2021 @02:39PM (#27463964)
That's interesting. We have the chat part already set up in Discord.

I had heard of the OBS Project but I wasn't sure if it would handle my somewhat specific use case.

I know Jellyfin had been working on a feature called SyncPlay but I didn't know how far it had gotten in various clients yet. Out of curiosity, why would you like an RTMP stream setup over Jellyfin in my case? What are the pros and cons?

(I know wanting to set up my own little TV channel for a dozen people is kind of a silly thing to do, but that's the itch I have)

Re:Moving my home media library from iTunes to Jellyfin and ... by stryan on Thursday June 10, 2021 @03:22PM (#27464512)
Ah, sorry, SyncPlay is the watch party feature I was thinking of. I know it's available in the web client (what we used) and the Android app.

RTMP gives you lower latency and more control over what's being shown when combined with OBS. Jellyfin's SyncPlay works great when you want to watch a shared movie with a set group of people, but it gets buggy when you watch multiple episodes in a row or people drop in and out. Doing OBS with RMTP (I used MovieNight) means it's just one continuous stream that people tune in to. You can use OBS to queue up arbitrary video files, and with different scenes set up you can even do bumpers and "commercials".

And it's definitely not silly! I used an RTMP stream to do a "Saturday Morning Cartoons" stream for my friends a while back.

Re:Moving my home media library from iTunes to Jellyfin and ... by at_a_remove on Thursday June 10, 2021 @03:35PM (#27464678)
It sounds like your use case and mine are very similar. That sounds fantastic! How well does this handle user authentication/authorization? Are the clients widespread enough?

This is definitely going on my Potential Solutions list, which has been interesting to navigate, to say the least.

Re:Moving my home media library from iTunes to Jellyfin and ... by stryan on Thursday June 10, 2021 @04:22PM (#27465297)
Jellyfin supports all the major platforms[0] to some degree. The web client is definitely the most polished though. I've only used web, Android, and Kodi; Kodi being the flakiest. RTMP is a very well supported protocol, you can watch it in browser or throw the URL at pretty much any given media player and it'll work.

For user auth, Jellyfin has it's built in db and I have it hooked up to an LDAP server with authorization for a certain OU. RTMP I never tried to restrict, though if you use the nginx/apache method you probably use .htaccess or something similar?

[0]: https://jellyfin.org/clients/

Re:Moving my home media library from iTunes to Jellyfin and ... by livueta on Thursday June 10, 2021 @06:32PM (#27466715)
If you're using nginx-rtmp-module auth is actually extremely easy: use the on_play and on_publish callback directives[1] to implement whatever auth you want, a la [2][3].

[1] https://github.com/arut/nginx-rtmp-module/wiki/Directives#on...

[2] https://github.com/Nesseref/nginx-rtmp-auth/blob/master/pyth...

[3] https://github.com/Nesseref/nginx-rtmp-auth/blob/master/pyth...

Re:Moving my home media library from iTunes to Jellyfin and ... by at_a_remove on Friday June 11, 2021 @10:43AM (#27474056)
Ooooh! Neat!
Re:Moving my home media library from iTunes to Jellyfin and ... by at_a_remove on Thursday June 10, 2021 @05:07PM (#27465865)
RTMP is looking really interesting for this. And your cartoon use case matches something I had been considering. Thank you!