Update live stream FAQ

fix
This commit is contained in:
Thomas Zarebczan 2021-04-13 23:37:58 -04:00
parent 0aba8cc362
commit 846be1963e
No known key found for this signature in database
GPG key ID: D505010BDB4364BC
2 changed files with 12 additions and 17 deletions

View file

@ -9,7 +9,6 @@
*/ */
import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS, SIMPLE_SITE, CHANNEL_STAKED_LEVEL_LIVESTREAM } from 'config'; import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS, SIMPLE_SITE, CHANNEL_STAKED_LEVEL_LIVESTREAM } from 'config';
import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS, SIMPLE_SITE } from 'config';
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { buildURI, isURIValid, isNameValid, THUMBNAIL_STATUSES, Lbry } from 'lbry-redux'; import { buildURI, isURIValid, isNameValid, THUMBNAIL_STATUSES, Lbry } from 'lbry-redux';
import Button from 'component/button'; import Button from 'component/button';
@ -131,7 +130,8 @@ function PublishForm(props: Props) {
const urlParams = new URLSearchParams(location.search); const urlParams = new URLSearchParams(location.search);
const TYPE_PARAM = 'type'; const TYPE_PARAM = 'type';
const uploadType = urlParams.get(TYPE_PARAM); const uploadType = urlParams.get(TYPE_PARAM);
const enableLivestream = ENABLE_NO_SOURCE_CLAIMS && const enableLivestream =
ENABLE_NO_SOURCE_CLAIMS &&
user && user &&
!user.odysee_live_disabled && !user.odysee_live_disabled &&
(activeChannelStakedLevel >= CHANNEL_STAKED_LEVEL_LIVESTREAM || user.odysee_live_enabled); (activeChannelStakedLevel >= CHANNEL_STAKED_LEVEL_LIVESTREAM || user.odysee_live_enabled);
@ -413,7 +413,7 @@ function PublishForm(props: Props) {
return; return;
} }
// LiveStream publish // LiveStream publish
if (_uploadType === PUBLISH_MODES.LIVESTREAM.toLowerCase() && livestreamEnabled) { if (_uploadType === PUBLISH_MODES.LIVESTREAM.toLowerCase() && enableLivestream) {
if (enableLivestream) { if (enableLivestream) {
setMode(PUBLISH_MODES.LIVESTREAM); setMode(PUBLISH_MODES.LIVESTREAM);
} else { } else {

View file

@ -55,9 +55,11 @@ export default function LivestreamSetupPage(props: Props) {
const helpText = ( const helpText = (
<div className="section__subtitle"> <div className="section__subtitle">
<p> <p>
{__(`Create a Livestream by first submitting your Livestream details and waiting for approval confirmation.`)}{' '}
{__( {__(
`The livestream will not be visible on your channel until you are live, but you can share the URL in advance.` `Create a Livestream by first submitting your livestream details and waiting for approval confirmation. This can be done well in advance and will take a few minutes.`
)}{' '}
{__(
`The livestream will not be visible on your channel page until you are live, but you can share the URL in advance.`
)}{' '} )}{' '}
{__( {__(
`Once the your livestream is confirmed, configure your streaming software (OBS, Restream, etc) and input the server URL along with the stream key in it.` `Once the your livestream is confirmed, configure your streaming software (OBS, Restream, etc) and input the server URL along with the stream key in it.`
@ -73,25 +75,18 @@ export default function LivestreamSetupPage(props: Props) {
<li>{__(`Tune: Zerolatency`)}</li> <li>{__(`Tune: Zerolatency`)}</li>
</ul> </ul>
<p> <p>
{__( {__(`If using other streaming software, make sure the bitrate is below 4500 kbps or the stream will not work.`)}
`If using other livestreaming software, make sure the bitrate is below 5000 kbps or the stream will not work.`
)}
</p> </p>
<p> <p>
{__( {__(`After your stream:
`Please note: You'll need to record your own stream through your software if you plan to share it afterward. You can also delete it if you prefer not to upload the copy.` Click the Update button on the content page. This will allow you to select a replay or upload your own edited MP4. Replays are limited to 4 hours and may take a few minutes to show (use the Check For Replays button).`)}
)}
</p> </p>
<p>{__(`Click Save, then confirm, and you are done!`)}</p>
<p> <p>
{__( {__(
`In the near future, this manual step will be removed and you will be able to share the stream right after its finished without needing to record it yourself.` `Note: If you don't plan on publishing your replay, you'll want to delete your livestream and then start with a fresh one next time.`
)} )}
</p> </p>
<p>
{__(`After your livestream:
Click the Publish Replay button. This will allow you to edit details before sharing on Odysee. Be sure to select the saved mp4 file you recorded.`)}
</p>
<p>{__(`Click Save and you are done!`)}</p>
</div> </div>
); );