পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল
AIOV AIO Video টি অধ্যায়

AIO Video ডকুমেন্টেশন

লাইভ স্ট্রিমিং

মেম্বাররা ব্রাউজার, OBS বা YouTube, Facebook ও Twitch লাইভ দিয়ে লাইভে যান; সাথে লাইভ চ্যাট, আর রেকর্ডিং ভিডিও হিসেবে সংরক্ষিত হয়।

প্লাগিন হালনাগাদ ৬ নভে ২০২৬ ১৭ / ৩৫

The Live plugin lets your members broadcast live. There are three ways to go out:

  • From the browser - camera, microphone or a shared screen, straight from Chrome, Edge, Firefox or Safari. No server and no OBS; it works on shared hosting.
  • From OBS or a phone streaming app, through a streaming server you run (or rent).
  • A live on YouTube, Facebook or Twitch, shown on your site with your own chat beside it.

Viewers watch with a live chat, see how many others are watching, and subscribers are told when a channel goes live. A browser stream can be saved afterwards as an ordinary video on the channel.

Switching it on

Live Streaming is sold as a premium plugin on lcpanel.com (addon code live-streaming). Make sure your licence includes it: buy it there, then press Check again now on Admin → License; the addon then shows in the Addons row of that page. After that, switch it on at Admin → Plugins, where the card is called Live (folder plugins/live).

Switching it on makes its tables. Switching it off keeps every stream and chat message, so they come back when it is on again.

What it adds

WhereWhat
Main menuLive, with the number live right now, e.g. Live (2). Opens /plugins/live: Live now, Coming up and Streamed before.
Home pageA Live now block, shown only while somebody is live. Place or move it on Admin → Settings → Home page.
+ Create menu and the Studio menuGo live, which opens /plugins/live/studio.
Member's StudioA Live tab listing their streams, peak viewers, views and recordings.
PackagesA Can go live switch on each package.
AdminLive under Plugins in the menu (admin/plugin.php?code=live).
AdminLive → Ticker & banners: the site's own news ticker and sponsor banners.
Watch pageLives play in the AIO Player (the site's own player), with "LIVE" in place of the time; the ticker and banners sit inside it, above its control bar.
StudioLive Studio at /plugins/live/studio - every stream of the member in one place.
Home pageThe Live now block also lists the streams planned for the coming week, with their countdown (titled Coming up live while nobody is live).
Mobile APIRoutes live, live/{uid} and live/{uid}/chat (see Mobile API).

The admin page

Admin → Live shows Live now, Streams so far, Most watching at once and Chat messages, then the settings.

Live from the browser

  • Members may go live from the browser - on by default. Needs HTTPS; browsers give no camera to a plain http:// page.
  • When a stream ends, its recording - Waits: the member presses "Save as a video" (default), Becomes a video on the channel by itself, or Is thrown away.
  • The recording is published as - Public, Unlisted or Private.
  • Seconds in one piece (1-6, default 2) - smaller is closer to real time but sends more requests.
  • Largest one stream may grow to (MB) - default 2048. 720p is about 1 GB an hour; a stream that reaches the limit is ended and kept.

Streaming server (OBS)

  • Where OBS sends to (RTMP) - e.g. rtmp://live.your-site.com/live.
  • Where the picture is watched (HLS), with {key} for the stream key - e.g. https://live.your-site.com/hls/{key}.m3u8.
  • End a stream after its picture has been gone for (seconds) - default 120.
  • Who may go live - Every member, Verified channels, Members whose package includes "Can go live", or Only the site team. A member's role must also allow going live (Admin → Users → Roles); administrators and moderators always may.

Leave both server addresses empty if you have no streaming server: members can still go live from the browser or show a YouTube, Facebook or Twitch live. The page includes a ready nginx RTMP configuration and a Check the server now button. Shared cPanel hosting cannot run such a server; it needs a VPS or a streaming service.

Chat and places

  • Slow mode: seconds between one member's messages (0 = off) - default 3. The channel and the site team are not slowed.
  • Longest message (characters) - default 200.
  • Allow YouTube / Facebook / Twitch lives, "Live" in the main menu, "Live now" row on the home page.

The player and the recordings

  • Lives play in the AIO Player - on by default. Streams from OBS, from the browser, their recordings and YouTube lives play in the site's own player (Facebook and Twitch lives in its frame), with its full screen and the site's player advertisements before and over a live - never after it. Off, the page's plain player is used (also when the Player plugin is off).
  • Saved recordings carry the ticker and banners - on by default: when a member saves a recording, the ticker and banners are laid over the picture as viewers saw them (FFmpeg needed). The member can untick it each time.

Planned streams

  • Planned streams on the home page - on by default.
  • A YouTube / Facebook / Twitch live goes on air at its time - on by default: an embedded live with a planned start is put live by the cron job at that time (within six hours of it).
  • "Starts soon" notice, minutes before - default 15 (0 = none). It goes to everybody who pressed Remind me and to subscribers who have the bell on.

At the bottom, Streams lists every stream with its channel, how it goes out, state and viewers, with End and Remove.

News ticker and sponsor banners

Over a live the broadcaster can show a news ticker - lines that scroll across the picture - and up to six sponsor banners, each a picture or a few words with an optional link.

  • In the Live Studio, the tab Ticker & banners has a preview of the screen. Tick Show the ticker, write the lines (one a line), choose the label, speed and colours, and put it at the top, the bottom, or drag it up or down. Tick a banner, choose A picture (an address or an upload) or Words, a width, a small word over it (e.g. Sponsor), a link, and a place: a corner, top or bottom middle, or Where I drag it - drag it on the preview with the mouse or a finger. Ticking a banner opens the next empty one.
  • Places are kept as a share of the picture, so a banner sits in the same place on a phone, a computer and a TV.
  • The preview marks the strip of the player's control bar: in the player the ticker and banners always stay above it, and step back while its settings menu or an advertisement is open.
  • Use the site's own ticker and banners (ticked for a new stream) shows the set the site team made on Admin → Live → Ticker & banners instead.
  • Save - viewers who are watching see the change within a few seconds, without reloading. The full-screen button on the player keeps the ticker and banners on screen (the browser's own full screen of a video would hide them).

The Live Studio

Go live opens the Live Studio (/plugins/live/studio). On the left: the member's streams with their state (LIVE, PAUSED, READY, ENDED). New stream asks for a title, how it goes out (from this browser, from OBS or an app, or a live elsewhere - YouTube, Facebook, Twitch), and optionally a description, category, start time, links, a picture and the chat.

A stream opens with its state and buttons at the top - Go live (or Open the broadcast room for a browser stream), Pause (with a line of words for viewers) and Resume, End stream, Watch page - and these tabs:

TabWhat is there
OverviewWatching now, most at once, views, chat messages; while live, a preview as viewers see it; before it starts, the steps still to do and, for a browser stream, the camera and microphone check.
DetailsTitle, description, links under the stream (one a line, Label | https://…, up to six), category, chat on or off, a new picture or none. Saved at any time, also while live.
ConnectionThe broadcast room; or the OBS Server and Stream key (Show, Copy, Make a new key) and an optional watch address; or the address of the live elsewhere. How it goes out can change only before the stream starts. The planned start (a countdown and "Remind me" for viewers).
Ticker & bannersThe news ticker and up to six sponsor banners (below).
RecordingAfter a browser stream: what becomes of the recording (below).
DeleteClose or open the chat; remove the stream.
  • From this browser: the broadcast room opens. The member allows the camera, can switch Mic, Camera or Screen, picks the quality (480p, 720p or 1080p) and presses Go live; End stream finishes.
  • From OBS: put the Server and Stream key into OBS (Settings → Stream → Custom). When the picture arrives, the stream goes live by itself.
  • YouTube, Facebook or Twitch: paste the address, start the live there, then press Go live here.

Pause puts a "Be right back" card (with the words given) over the picture for every viewer within a few seconds, and silences it; Resume takes it away. When a stream goes live, subscribers who have the bell on get a notification, once.

When a live ends

A browser stream's recording waits on the Recording tab (unless the site saves recordings by itself). Five choices: Publish it, Save as unlisted, Save as private, Keep it as a draft (saved, not on the site until published from its edit page) and Delete the recording. The title of the video can be changed first. Keep the ticker and banners in the video lays them over the picture as viewers saw them (needs FFmpeg; the pictures of a set are made when it is saved, so save the ticker and banners once). A recording up to three minutes is saved at once; a longer one is made by the cron job within a few minutes - the tab says when it is ready, and shows the reason with Try again if it failed. A stream from OBS is recorded by OBS or the streaming server, a live elsewhere by that site.

Watching and the chat

The watch page (/plugins/live/watch?s=...) has the picture with the chat beside it, a subscribe button and the viewer count. A planned stream shows a countdown (days, hours, minutes, seconds), Remind me (signed-in members; a guest is asked to sign in) with the number waiting, and Add to calendar (an .ics file with a reminder 15 minutes before). Members who pressed Remind me get a notification shortly before it starts and when it goes live. When it starts, the page switches to the player by itself; past its time it says Starting any moment now. The cards of planned streams say Starts in 2 h 14 min. Guests can watch; signing in is needed to write. The channel owner and the site team can remove a message and keep its writer out of that channel's chats. On the Go live page the member can also Close the chat of a stream, or open it again.

The cron job

Live streams runs every minute (Scheduled jobs): it starts and ends OBS streams as the HLS address answers or goes quiet, ends browser streams whose pieces stopped arriving, and forgets viewers who left. Keep the cron line working: this job is what notices an OBS stream starting or stopping. It also sends the starts soon notice of planned streams, once, and puts an embedded live on air at its planned time.

Honest limits

  • Browser streaming needs HTTPS and a browser that can record video.
  • OBS streaming needs your own streaming server; the site does not receive RTMP itself.
  • A live picture plays in the live page's own player, so the AIO Player's advertisements, cards and watermark are not shown on it.
  • The ticker and banners are drawn by the page over the player; a site that embeds the stream elsewhere does not get them, and the browser's own full screen of an embedded YouTube/Facebook/Twitch frame hides them (use the player's full-screen button).
  • The ticker and banners burned into a recording are pictures the owner's browser drew when the set was saved: the set in place when the recording is saved is the one burned in, over the whole video (a change made half way through the live is not followed). A picture from another site that does not allow it (no CORS) cannot be drawn and is left out.
  • On an iPhone, a full screen started from the player shows the picture alone (iOS's own full screen of a video), without the ticker and banners.
এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন