Open dyc3 opened 4 years ago
This is currently lacking example video links, and its lacking information about how peertube instances work.
I did a rough pass at adding support for peertube in #994. Currently, it doesn't use peertube's embed player because the api appears to be broken. It's also a little unclear what to do about instances, so I made them configurable.
Does this work? I would love to make this work with our Peertube instances. This link is from the Main Peertube demo: https://peertube2.cpy.re/w/3wBM1yShrDjzy5dLEKF23P
It's functional, but right now instances have to be configured ahead of time so that the system knows the link is to a peertube instance
The OTT instance would need to be connected to the Peertube instance? That actually would be fine in our potential use case. I have yet to install this I was just trying the online demo. Where is this setting done? Thanks!
Not connected per se, the domain of the peertube instance just needs to be whitelisted. https://github.com/dyc3/opentogethertube/blob/ab5242fb4e6acd857a127903599a97374e328226/server/ott-config.ts#L272-L277
So in your production.toml
:
[info_extractor.peertube]
instances = ["foo"]
Great. If I install via docker, t his file is available?
@dyc3 As I have been think about use case - I realized that I had not considered CDN. Can I connect this to a CDN, or is it using the CDN of the source, and just referencing the Current Playtime?
This is getting off topic. Open a discussion post: https://github.com/dyc3/opentogethertube/discussions/new/choose
Relevant documentation: https://docs.joinpeertube.org/api/embed-player
Other: https://github.com/Chocobozzz/PeerTube/issues/468
React with 👍 if you are interested in this