import React, { Component } from "react";
import { Link } from "react-router-dom";
import PropTypes from "prop-types";
import * as util from "../util";
// Styles
import "./HowToStream.css";
const HowToStream = ({ isMyChannel }) => {
const basePath = util.getBasePath();
let toRender = (
);
if (isMyChannel) {
toRender = (
How to stream
-
1Get your stream key
and ingest server from the{" "}
settings
{" "}
page.
-
2Enter the stream key
and injest server into your streaming software.
-
3Go live in your
streaming software.
-
4Refresh the page to
see your video.
);
}
return {toRender}
;
};
HowToStream.propTypes = {
isMyChannel: PropTypes.bool,
};
export default HowToStream;