-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add redacted livestream archive files #154
Conversation
Can we instead have the stream listed on the recorded talks page?
I was anticipating pulling down the stream pages as we archive the 2019
version of the site
…On Thu, Sep 26, 2019 at 3:55 PM Benedict Lau ***@***.***> wrote:
Daily livestream archives received from @darkdrgn2k
<https://github.com/darkdrgn2k>. These already have some talks redacted
as needed.
@garrying <https://github.com/garrying> I would like these files to be
hosted on https://2019.ournetworks.ca/livestream/ in our 2019 archived
site. Where should I put them?
------------------------------
You can view, comment on, or merge this pull request online at:
#154
Commit Summary
- Add redacted livestream archive files
File Changes
- *A* livestream/live-2019-09-20.m3u8
<https://github.com/ournetworks/ournetworks.ca/pull/154/files#diff-0>
(529)
- *A* livestream/live-2019-09-21.m3u8
<https://github.com/ournetworks/ournetworks.ca/pull/154/files#diff-1>
(1268)
- *A* livestream/live-2019-09-22.m3u8
<https://github.com/ournetworks/ournetworks.ca/pull/154/files#diff-2>
(1133)
Patch Links:
- https://github.com/ournetworks/ournetworks.ca/pull/154.patch
- https://github.com/ournetworks/ournetworks.ca/pull/154.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#154?email_source=notifications&email_token=ABDZWYXUQEOYPTPNPEPFBCDQLUHTHA5CNFSM4I26MXL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HN7N6WA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDZWYQARR7VWQJG4LJHL43QLUHTHANCNFSM4I26MXLQ>
.
|
Links that are tweeted out via share buttons are of the format: e.g. https://twitter.com/LauBenedict/status/1175163389032718336 This means the player will look for Of course we can hack up the player to not respect the |
I think these |
I think playlist at player root was the intention. The links are already tweeted out with In the past, we have put the video at player root:
This was the ipfs show and tell so I feel keeping all these at |
livestream/live-2019-09-20.m3u8
Outdated
#EXT-X-MEDIA-SEQUENCE:0 | ||
#EXT-X-DISCONTINUITY | ||
#EXTINF:40.000, | ||
https://ipfs-gateway.live.mesh.world/ipfs/QmSjEs8kC8ZgLetzfpP7QTY45GVvzGeQRfLh4qkGxcswHT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@darkdrgn2k I think we want to take these from ipfs.infura.io once we have them pinned right? If we are going to stream from here, we can probably keep them as relative?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new code seems to correct the issue that would arise from this
Tested using sed "s|https://ipfs-gateway.live.mesh.world||" test1.m3u8
and it seemed to work fine
However it re-append an ipfs server unless you clear out the value in
ipfs_gateway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you think I should get these onto ipfs.infura.io / ipfs.io? Now there are 1449 hashes and I am doing:
$ grep 'ipfs/' live-*.m3u8 | sed 's|.*ipfs/||g' > ipfs-cids.txt
$ cat ipfs-cids.txt | xargs -I {} curl "https://ipfs.infura.io:5001/api/v0/pin/add?arg=/ipfs/{}&recursive=true&progress=true" >> ipfs-cids.log
Which is taking forever and I don't think infura is actually able to locate some of the chunks... they are all pinned on live.mesh.world right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@darkdrgn2k the ipfs_gateway
param is a little different in the Our Networks fork, so this is working now :D
Live Stream Archive and bookmarks now working with:
You can try with this PR: Notice that share link is also fixed to show the m3u8 file passed through URL param. All chunks are uploaded/uploading to ipfs.io and ipfs.infura.io via ournetworks/2019#128 (comment) and we are completely independent from live.mesh.world now with this PR. |
* updated include year param * initial link add * hash update * adding skipProgramID * add remaining links * exclude description link for lightning talks * adding lazyload attr * add path attr * 2019 index * fix alignment * adding livestream links * adding playlist * removed system update * adding recorded talks * fix order * Add redacted livestream archive files (#154) * Add redacted livestream archive files * Fix share URL when m3u8 is passed in URL * Change ts references to relative in live stream archive m3u8 * Switch to ipfs.io gateway for live and vod streams * Remove hack that points our m3u8 fetch to live.mesh.world during conference * Add live.m3u8 that points to next year message * Use ipfs_gateway param in config everywhere and change to ipfs.io * share cta visibility * adding overflow helper to archive addresses * fix mobile spacing for video player Co-authored-by: Benedict Lau <b@deprecated.systems>
Daily livestream archives received from @darkdrgn2k. These already have some talks redacted as needed.
@garrying I would like these files to be hosted on https://2019.ournetworks.ca/livestream/ in our 2019 archived site. Where should I put them?
@darkdrgn2k my understanding is we don't need to alter the gateway here. We can simply set the env var in the player to use infura and it will replace all the URLs as they play?
Resolves #157