Skip to main content

NexGate Live: revamp requirements

Version: 0.15 · Started: 2026-11-23 · Status: being discussed with the owner, nothing built from this yet

How live streaming should work after the revamp: what NexGate takes from TikTok, Instagram, YouTube, Twitch and Whatnot, and what is new to NexGate. This is a living document. Every topic we discuss is added here.

The current technical spec is VP_LIVE_SPEC.md (repo root). Where this document disagrees with it, this document wins and the spec is updated when we build.

Marks used

Mark Meaning
✅ Agreed with the owner
🟡 Proposed, waiting for the owner's answer
⬜ Not discussed yet
❌ Decided against

Rules that apply everywhere

  • The backend decides, the app shows. Lists, order, reasons, which buttons and pills appear all come from the backend. The app never decides.
  • A person is identified only by accountId.
  • Never reshape an existing response. Something new gets a new endpoint or an added optional field.
  • Never reorder a list under the user's thumb. A new order comes on refresh; a card that changes is changed in place.
  • Every live endpoint needs a signed-in account (owner 2026-11-23). Today this already holds for the API (only the SRS hooks are open, checked by a shared secret). The video itself is not protected yet: anyone with the HLS / FLV address can watch. After the revamp, watching needs a short-lived play token from the backend (bound to the account and phone), checked by SRS / the edges when playback starts. The same token gives "one phone per ticket" (§7.10).
    • Juma taps a live → the backend checks signed in, not blocked, valid ticket if needed → address with a play token (a few minutes to start, bound to his account and phone) → the edge asks the backend once when playback starts.
    • Ali copies the address to his laptop ❌: wrong phone, expired.
    • Comments: every request reaches the backend (no shared CDN copy); the list is built once every 2 s and served from memory; checking the token needs no database. Fine for 1,000s; more backend copies at 10,000+.
    • Shared links: someone not signed in sees a preview (title, cover, host, "Sign in to watch"), like any shared post; watching needs signing in.

1. What exists today (2026-11-23)

Area What is there
Kinds Video live and audio radio (radio has a 32 kbps version for slow networks). Spaces moved to chat.
Going live Host creates a stream, gets a secret key, sends video to our media server (SRS). The stream only becomes LIVE when the media server says video arrived.
Who can go live Account at least 3 days old, 18 years or older. No follower minimum.
Watching HLS through the CDN. Delay about 4–10 seconds.
Comments Kept in Redis for 6 hours, never chat messages. App reads them every 2 s; every viewer gets the same list. Host can mute a person and turn on slow mode. 1 comment every 2 s.
Selling Attach products, tickets etc.; pin one; tap → normal product page → normal checkout. Taps counted. Orders are not linked to the stream.
Scheduling Book a time; followers told at booking and at start; Remind me; abandoned bookings closed after 24 h. No edit, no cancel, no lists.
Recording / replay Every stream recorded; File Thunder makes a replay; pins replay at the right second. No list of replays anywhere.
Discovery (built 2026-11-21, unpushed) Viewer counts by heartbeat, GET /live/now ranked per person with reasons, cards pop in / out on the feed live channel, author.live ring on posts and clips.
Missing Report a stream, reactions, gifts, guests / co-hosts, battles, moderators chosen by the host, word filter, polls, sales numbers, shop live, never tested on a real phone.

2. Recording and replay

✅ No recording at all. A live exists only while it is on air.

  • Remove the recording from SRS, the File Thunder replay handoff, and the states PROCESSING, REPLAY_READY and FAILED. A stream goes LIVE → ENDED and stops there.
  • Why: no disk, no processing load on the box, and nobody could find replays anyway.
  • Cost accepted: a report can only be acted on while the live is on, and seller disputes have no video proof. Automatic pause on reports (§10) becomes more important.
  • ✅ When someone reports a stream, keep the last 5 minutes of comments and one picture from the video with the report (§10, S1).

3. Where lives appear

3.1 Lives have their own feeds

✅ The post feed stays posts only. No live cards mixed between posts. Lives get their own feeds:

Live feed What it is Like Backend
Live feed (list) Who is live, ranked for you with a reason on each card; a "Later today" section at the bottom TikTok LIVE tab GET /live/now (exists)
Live swipe Full screen; one live plays; swipe up and the next one plays at once TikTok LIVE swipe new GET /live/swipe, gives the next few in order so the app preloads
Live shopping Only shop lives that are selling, each with its product strip TikTok Shop LIVE, Taobao Live a kind=SHOP filter on the two above, same engine

All three use the same ranking (§3.3), the same live events (pop in, ended, counts) and the same rules.

✅ Live row above the home feed: a few circles of who is live now, above the feed list (like Instagram's stories row). Tapping one opens the live swipe. Only lives that are on now, never scheduled ones.

3.2 Lives in the post feed only through real posts

✅ A live reaches the post feed only as a real post that the host writes, with the live attached. The post feed treats it like any post.

✅ A live is an attachment type, not a post type (owner 2026-11-23). Posts today have two types (REGULAR, POLL) and many attachments (products, shops, events, buy-together groups, instalment plans, links). The live joins the attachments, stored like events (post_events → a post_streams row: postId + streamId).

  • The post stays a normal post: text, photos, products and the live together.
  • One live per post.
  • ✅ Anyone can attach anyone's live (owner 2026-11-23), the same rule as products: anyone shows.
    • Mama Yoyo attaches her own live, or her shop's live ✅
    • Juma attaches Mama Yoyo's live: "Don't miss this Friday!" ✅. Remind me on his post joins the same list.
    • Only a scheduled or live stream can be attached, never an ended or cancelled one.
    • A private booking (§4.1, "Let people get reminded" off) can't be attached by anyone until it starts.
    • Not when either side blocked the other.
  • The attachment's state (scheduled / live / ended / cancelled) is read from the live system when the post is served, never copied into the post.
  • ✅ Two ways a live post is made (owner 2026-11-24):
    • Booking with "Let people get reminded" on (§4.1): the backend makes the post at booking time. It is a normal post: the caption from the booking form is the post text (may be empty), the live is attached.
    • Going live now, or attaching someone's live: "Share asto amy post" is an app shortcut only. The backend has no share-as-post switch: the normal create-post call accepts a live attachment, and the app's button justthat opens the composer with the live attached; the normal create-post call accepts the live attachment.
  • ✅ The card's content comes from the live, not the post (owner 2026-11-24): banner image (the live's cover), title and description are fields of the live (coverMediaId, title, description, already attached.on CreateStreamRequest and StreamEntity) and show inside the attachment card. The post caption is separate and sits above the card like any post text.

The attachment changes by itself:

When The attachment shows Tap
Before (scheduled) banner · title · description · 📅 Friday 8 pm · 🔔 Remind me · "120Juma, Neema + 118 waiting" joins the same remind-me list
During 🔴 LIVE now · 340 watching opens the live
After "Live ended" (+ "Next: Saturday 8 pm" if another is booked) opens the host's profile or shop
Cancelled "This live was cancelled" profile or shop
  • ✅ "Your friends are waiting" on the scheduled card, like "friends are watching" (§3.2a): up to 2 names of connected people who tapped Remind me, then the number. The number follows §4.1 (hidden under 10 for viewers).
  • ✅ "Share asto amy post" when going live now (not scheduled): an app shortcut that opens the composer with the live attached (see above). Off unless the host taps it. The app decides where the button sits.
  • ✅ After the live ends the post stays, shows "Live ended", and the feed ranks it lower.

3.2a "Your friends are watching" on every live card

✅ Owner 2026-11-23. Every live card (the live attached to a post, Live feed, live row, swipe, profile / shop, Live now) can carry who you know is watching right now.

Example. Juma scrolls and sees Mama Yoyo's post with her live attached:

🔴 LIVE · Mama Yoyo · 👀 410 · Josh, Eli and 3 friends are watching

  1. Josh and Eli are Juma's friends and are watching now ✅ → named (at most 2 names, then "and N friends").
  2. Rose is his friend but turned off "Show when I join a live" (§8.3) ❌ → never named, not counted.
  3. Josh is on screen as a guest → "Josh is on screen" wins over "watching".
  4. Neema (a stranger to Juma) watching → not shown to him.
  5. Josh leaves → the card changes in place within seconds (Centrifugo / the feed live channel), never reordered.

Rules (backend decides)

  • "Friends" = the existing friends rule of the people engine; the backend sends the names already chosen (accountId, name, photo) + a count. The app only shows them.
  • Watching now = the existing heartbeats in Redis, matched with the viewer's friends (cheap set match, no database).
  • Also a ranking reason: friends watching raises the live in Live now (like "following").

3.3 Who gets a live recommended

✅ Built 2026-11-21 for people (weights out of 100): you follow the host 100 · people you may know 70 · trending up to 60 (15 × log10(1 + watching)) · just started (< 10 min) 10 · selling live 5. Never: your own live, hosts blocked either way.

✅ Shop lives add:

Reason Card says Weight
You follow the shop "Duka la Mama is live" 100
You bought from this shop before "You bought here before" 80
It sells things you looked at "Kangas, like you looked at" 50
Friends follow or buy here "Juma + 2 friends follow this shop" 40
Near you, delivers to you "Near you · delivery today" 30
Never shops you blocked or hid, shops that don't deliver to you, a shop's live on its own owner's or staff's list —

3.4 The live ring

✅ Built: author.live on post and clip authors while that person is live.

  • Mama Yoyo (owner) live as her shop → her own posts get the ring too, and tapping opens the shop's live.
  • Neema (staff) live from the shop terminal → no ring on Neema's personal posts. The terminal never touches her personal account.

⬜ Ring on more places (profile, comments, chat lists, contacts, requests, people you may know) and a "🔴 live now: selling this" badge on product, shop and event pages.


4. Scheduling

4.1 Rules

✅ All agreed 2026-11-23:23, booking switch changed 2026-11-24:

  • ✅ Switch "Let people get reminded", on by default (owner 2026-11-24; replaces "no private bookings"):
    • On: the backend makes a normal post (caption + the live attached, §3.2). People see it in the feed and can tap Remind me. No push at booking time: the post is the announcement; pushes go only to remind-me people.
    • Off: private bookings.booking. EveryNo scheduledpost, no public Remind me, not on "Upcoming" or "Later today". Only the host gets "starts in 15 min · get ready". The booking still counts toward the 5-waiting and 2-hours-apart rules.
    • A line under the switch says what it does:
      • On: "A post goes to the feed. People can tap Remind me and get told before you start."
      • Off: "Only you get reminded. Nobody sees this live until you start."
    • Change after booking: off → on ✅ makes the post at that moment. On → off ✅ only while nobody has tapped Remind me yet (then the post is announceddeleted); toafter followers.that A❌, so nobody waiting is dropped silently.
    • The host whomay onlydelete wantsthe topost rememberlike usesany post: the booking stays and the remind-me list is kept.
  • ✅ "Josh is live" push at the start (now, private booking or public booking, owner 2026-11-24): followers + mutual friends get the push (a shop live: the shop's followers, §5). Recommended people get no push; they find it in the Live feed (§3.3). Remind-me people get their phone's"is alarm.live now" once (never twice).
  • Book from 15 minutes to 30 days ahead.
  • At most 5 bookings waiting, counted separately for the person and for each shop (Mama Yoyo 5, Duka la Mama 5).
  • At least 2 hours apart for the same person or the same shop.
  • A person can't be booked as herself and as her shop at the same time. A shop has one live at a time, staff bookings included.
  • Edit: time, title, cover, description. Time changes lock 30 minutes before the start.
  • The time can move more than once. Each move sends one message to remind-me people only: "Juma moved his live to Saturday 8 pm". A title or cover change sends nothing.
  • Cancel: the post's attachment shows "cancelled", and remind-me people are told. Followers who didn't tap Remind me are not told.
  • Reminders to remind-me people: 24 hours before and 15 minutes before, and "is live now" at the start. A person is notified at most once per event, however many places they tapped Remind me.
  • ✅ The viewer picks when to be reminded, from a fixed list (owner 2026-11-23). A fixed enum, never a free time, so each reminder is one small row and one job query per choice.
    • ✅ Choices ReminderLead: DAY_BEFORE (24 h) · HOUR_BEFORE (1 h) · MINUTES_15 · AT_START.
    • ✅ A viewer can tick more than one. Default when tapping Remind me: 24 h + 15 min, and AT_START is always on ("is live now" is the point of Remind me).
    • Stored on the existing reminder row as a small set of these values. Times are counted from the stream's current start time, so when the host moves the live, every reminder moves with it.
    • The host's own "get ready" stays fixed at 15 min.
    • Example: Juma taps Remind me → pills [ 24 h ✓ ] [ 1 h ] [ 15 min ✓ ] · "and when it starts". He untaps 24 h → he gets only the 15-minute reminder and "is live now".
  • The host always gets "Your live starts in 15 min · get ready".
  • 30 minutes late: cards show "starting soon…". 24 hours with no live: closed quietly (as today).
  • The host sees who tapped Remind me ("120 waiting: Juma, Neema…"). Viewers see only the number, hidden under 10.
  • Share: Share link (WhatsApp and others) and share into NexGate chats.
  • No repeating schedules. After a live ends, one tap: "Book again next Friday 8 pm?".
  • Lists: "My lives" for the host; "Upcoming" on profile and shop pages; "Later today" on the Live feed (tomorrow's at most 3).

4.2 The journey

MamaThe Yoyo books a liveform (5owner taps)2026-11-24)

  1. Taps 🔴 Go live.
  2. Top of the form: her profile with a dropdown [ Mama Yoyo ▾ ] → switch to 🛍 Duka la Mama (only if she has a shop).
  3. [ 🔴 Now ] [ 📅 Later ] → Later.
  4. The live's own fields: Live astitle [ Me ] [ 🛍 Duka la Mama ] · titlebanner image · coverdescription · [ 🎥 Video ] [ 🎙 Audio ]. These show inside the live card (§3.2).
  5. Now → she goes live at once. Followers + mutual friends get "Mama Yoyo is live". No post unless she taps Share to my post.
  6. Later → When [ Today 8 pm ] [ Tomorrow 8 pm ] [ 🗓 PickCustom ]. The (quick pills follow her habit.
  7. habit)
  8. "Followers will be told and can tap Remind me." ·→ AlsoLet sharepeople asget a postreminded [ offON ]. On+ the line saying what it does → thecaption postbox composer("Say openssomething withabout heryour title,live…", covershown andonly while the liveswitch attached;is sheon, tapsmay stay empty) → PostBook.

Done: "✅ Booked · Friday 8 pm" with [ 🔗 Share link ] [ ✏️ Edit ] (+ [ 📝 Post it ] for a private booking, which turns the switch on).

WhatExample: happensMama byYoyo itselfbooks with the switch ON, caption "Kanga sale Friday, come!"

When What
Straight away FollowersThe notified;backend postposts in"Kanga sale Friday, come!" + the feedlive withcard (banner, title, 📅 Friday 8 pm, 🔔 Remind me;me). No push. "Upcoming" on her profile or shop
Thursday 8 pm Remind-me people: "Mama Yoyo goes live tomorrow at 8 pm"
Friday 7:45 pm Mama Yoyo: "starts in 15 min · get ready" (opens the device check with her setup filled in). Remind-me people: "goes live in 15 min"
Friday 8:00 pm She taps Start. Remind-me people: "is live now"; her other followers + mutual friends: "Mama Yoyo is live". The post shows 🔴 LIVE
Friday 9:00 pm She ends. The post shows "Live ended". She gets "Book again next Friday 8 pm?"

Juma (follower): sees the post on MondayMonday, card says "Neema + 40 waiting" → taps 🔔 Remind me → gets the 24-hour and 15-minute reminders → gets "is live now" → taps → watches.

Example: Josh books Saturday 6 pm with the switch OFF (private)

  • No post, nobody sees it, no Remind me ✅
  • 5:45 pm: only Josh gets "starts in 15 min · get ready" ✅
  • 6:00 pm: he starts → followers + mutual friends get "Josh is live" ✅. No post unless he taps Share to my post.
  • Wednesday he changes his mind → [ 📝 Post it ] → switch on, post made then ✅

My lives (profile → Lives): each booking with [ ✏️ Edit ] [ 📝 Post it ] [ ✖ Cancel ]. "Post it" on a public booking and "AlsoShare shareto as amy post" are app shortcuts to the composer with the live attached; a live can be posted more than once, by anyone.

From the post composer: [ + Live ] → pick a booking or make one (same When pills) → attached.

4.3 Learned from others

Instagram TikTok YouTube NexGate
Book ahead 1 h – 90 days 1 h – ~10 days any 15 min – 30 days
Followers find out feed post, story sticker countdown on profile, share in messages "Upcoming" in subscriptions notification, post with the live attached,attached (made at booking), Upcoming, Later todaytoday; or private (switch off)
Reminders 24 h + 15 min when about to start when live 24 h + 15 min + live now
Edit lock 45 min before — — 30 min before
Host sees who registered — yes — yes

5. Shop live

✅ "Go live as": Me or my shop. A shop live shows the shop's name and logo; the shop's followers are told; the shop page shows 🔴 LIVE; coupon drops, pins and sales count for the shop.

  • A shop can't hold a phone: a person always presses Go live and talks.
  • ✅ Mama Yoyo's personal followers are not notified when she goes live as the shop. They see her ring if they come across her posts.

5.1 Who can go live for the shop

✅ The owner, from her own phone, always.

✅ Staff, only from a shop terminal, never from their personal phone (the team rule: staff work only on shop devices).

  • Staff need both keys: the right "Go live for the shop" given by the owner, and the terminal permission "Go live" set when the device was linked (rights ∩ terminal permissions, as for chat and calls).
  • Viewers see "Duka la Mama · live" with "hosted by Neema" small underneath. Neema is known from who unlocked the terminal (face or PIN); the activity log records it.
  • Staff can always go live as themselves from their personal phone: a person's live, no shop, no shop tools.

✅ The app: a separate "NexGate Shop" Android app (the planned Android terminal app, brought forward). Linked by QR, staff unlock with face or PIN. Its first feature is go live; orders, chat and alerts come later.

⬜ Later, with the desktop terminal: OBS from a shop computer (real camera and lights) using the stream key over RTMP, which SRS already accepts.

5.2 What staff can do while live

✅

Neema live for Duka la Mama from the shop tablet
Pin and show products ✅
Drop a coupon the owner prepared ("Live drops: 2,000 off, 20 people, budget 100,000") ✅
Create a new coupon or change a discount ❌ owner only
Start a group buy at the product's group price ✅
Lower the group price, "give everyone the group price" ❌ owner only
Mute people, slow mode ✅
Hand over to Ali without ending the live (shift change) ✅ if Ali is also allowed

Separate right "Use prepared live drops", so a staff member can host without dropping coupons. The owner can step in from her own phone while staff are live: drop or create coupons, pin products, without being on camera.

5.3 One at a time

✅ One live per person, one live per shop, at the same time.

Case
Mama Yoyo live as herself and as Duka la Mama at once ❌
Mama Yoyo live as herself, Neema live as Duka la Mama ✅
Neema and Ali both live as Duka la Mama ❌ "Duka la Mama is already live (Neema)"
Branches live at once (Kariakoo + Mwenge) ❌ for now

5.4 Why the shop must own its live

In China, more than half of Taobao Live's sales now come from store-run lives (the shop's own hosts in turns), because brands that relied on star hosts lost their audience when the star left. Lesson: the shop owns the device, the audience and the live, whoever holds the phone.


6. Showing and selling products

✅ Anyone shows, only the shop sells.

Who Product Show it (pin, tap → product page → normal checkout) Live tools (coupon drop, group buy, auction, bargain)
Juma (no shop) Mama Yoyo's kanga ✅ card says "from Duka la Mama" ❌
Mama Yoyo (co-host) her own kanga ✅ ✅ from her side of the live
Juma Neema's shoes ✅ "from Neema Shoes" ❌
  • Showing = discovery, as for posts today. The buyer pays the normal price; the shop gets a normal sale.
  • Live tools = money promises: only that shop's owner (or allowed staff, §5.2) while in the live as host or co-host.
  • A co-host brings their own shop and its tools. That is how several sellers share one live.
  • Every pinned product that isn't the host's own says "from ".
  • ✅ Shop setting "Others can pin my products in their lives", on by default.
  • ❌ Affiliate share (a host without a shop earns a % of another shop's sale): not now. Later only if the shop turns it on.

7. Money and selling tools

The owner likes all nine first ideas (✅ 2026-11-23). On 2026-11-23 the list was widened to every money tool, to be checked one after another. Data saver moved to §9 (speed): it is not a money tool. Shop live is §5.

✅ Every tool works for both products and event tickets (owner 2026-11-23), except instalments: products only. Free delivery has no meaning for a ticket (nothing is delivered), so it is products only too (✅ confirmed, §7.4).

# Tool What it is Products Event tickets Builds on Status
M1 Live coupon drop first N watching grab a coupon ✅ ✅ organiser drops ticket coupons coupons ✅ §7.1
M2 Live group buy "6 of 10", price drops when full ✅ ✅ group tickets group purchase, ticket groups ✅ §7.2 (tickets included)
M3 Sales numbers after the live "You sold 14 kangas, 230,000 TZS" / "You sold 40 tickets" ✅ ✅ orders, tickets ✅ §7.3
M4 Free delivery during the live "Free delivery on orders from this live" ✅ ➖ nothing to deliver shipping campaigns ✅ §7.4
M5 Flash price the price drops for N minutes, for people watching ✅ ✅ products, ticket types ✅ §7.5
M6 Bargain live a viewer sends an offer, the host accepts it on screen ✅ ✅ chat offers ✅ §7.6
M7 Live auction bids with a countdown, the winner's money held in the wallet ✅ ✅ (e.g. a VIP table) wallet, escrow ✅ §7.8
M8 Instalments on the live "Pay in 3" pinned next to the product ✅ ❌ products only instalment plans ✅ §7.7
M9 Live gifts viewers send animated gifts that land in the host's gift balance host, not a product host, not a ticket wallet, ledger ✅ §7.9
M11 Ticket live sell event tickets during a live; a paid-only stream for ticket holders ➖ ✅ event tickets ✅ §7.10
M12 Paid live pay to watch (a class, a show) for people without an event ➖ ➖ wallet ❌ not needed (owner 2026-11-23); an online event with NexGate Live (§7.10) covers it

❌ Not now (owner 2026-11-23): M10 paid comments, M13 fan subscriptions, M14 giveaway.

Note: the existing "no commission" rule is about riders only. Live gifts: no platform cut for now (§7.9).

7.1 Live coupon drop

✅ Agreed 2026-11-23.

Example. Mama Yoyo is live, 300 watching.

  1. She taps Drop coupon: "2,000 off · 20 people · 60 seconds" (a coupon she made before, or a new one on the spot).
  2. Everyone watching sees "🎟️ 2,000 off · 20 left · 0:59", counting down live.
  3. Juma taps Grab ✅ → it lands in My coupons.
  4. Neema taps after all 20 are gone ❌ "All taken. Stay for the next drop!"
  5. Ali has the code from a WhatsApp screenshot but isn't watching ❌.

Rules

  • First N to grab (not to buy).
  • How long a grabbed coupon can be used: the shop owner picks at drop time from a fixed list 1 h · 6 h · 24 h (default) · 3 days · 7 days, counted from the grab, never past the coupon's own end date (ticket coupons never past the end of ticket sales). Grabbed coupons are never shortened; a new drop can use a new time.
  • One reminder before a grabbed coupon ends: "Your 2,000 off ends in 1 hour" (15 min for a 1 h coupon).
  • The host chooses what it covers; default the whole shop.
  • Who drops: the shop owner (staff only prepared drops, §5.2). For events, the organiser drops ticket coupons. A host with no shop can't drop.
  • Who can grab: accounts at least 3 days old that have watched for at least 30 seconds.
  • The shop pays, from its spending limit, as shop coupons do today.
  • Switch "Only people watching can grab", on by default, on the coupon itself and at drop time. Off = a normal coupon announced live (the code works anywhere).
  • New in coupons: a limit on how many can grab (today coupons only limit uses), the drop card, the countdown, "only people watching".

Editing a drop

While it runs
Add more people (20 → 30) ✅
Add more time ✅
Stop early (grabbed coupons stay) ✅
Lower the discount ❌
Change what it covers or the minimum order ❌
Go below the number already grabbed ❌
After it ends
Restart the same drop ❌ drop a new one (one tap, last settings filled in)
Take back or shorten grabbed coupons ❌

7.2 Live group buy

✅ Agreed 2026-11-23.

Today: a product can have group buying on (group price, number of people, time limit in hours). A buyer starts a group; others join by paying at checkout (money waits in escrow); full → orders created; time out → everyone refunded. One price only.

Example. Mama Yoyo is live with a kanga: 25,000 normally, 20,000 in a group of 10.

  1. She taps Start group buy on the pinned kanga.
  2. Everyone watching sees "👥 Group 20,000 · 6 of 10 · 0:09:59".
  3. Juma taps Join → normal checkout → 7 of 10 for everyone; "Juma joined 🎉" shows briefly.
  4. 10 reached → "Group done!", orders made. Time out at 8 of 10 → refunds (as today), unless the host gives it through.

Rules

  1. The host starts it (one group for the whole live, not many small ones).
  2. The host picks the time (5, 10, 30 min); it can stay open at most 30 minutes after the live ends.
  3. Switch "Only people watching can join", on by default.
  4. "Give everyone the group price": the host completes it early with fewer people.
  5. One price, no steps ("5 people → 22,000, 10 → 20,000") for now.
  6. While running: add time ✅, lower the price ✅, give it through early ✅; raise the price ❌, raise the number of people ❌.

Tickets (✅ agreed 2026-11-23): ticket types already have groups (a buyer starts one, seats, per-seat escrow, refund on time out). In the live, the same rules as products, with seats:

  • DJ Mike starts "👥 VIP 40,000 · 3 of 10 seats · 9:59" on the pinned VIP ticket; the organiser starts it without buying a seat; full → all get VIP tickets; time out → refunds, unless he gives it through.
  • Never after the event starts or ticket sales close: the group ends at that moment.
  • One group per ticket type per live; one deal per ticket type at a time; no coupon on top.
  • One person can buy several seats, up to the ticket type's "max per person".
  • (Products too: in a live the host starts the group without buying.)

7.3 Sales numbers after the live

✅ Agreed 2026-11-23.

Today: an order's "source" says how it was bought (buy now, cart, instalment, group, chat offer), not where it was found. No order or ticket knows about a live.

How a purchase is linked to a live (example)

  1. Mama Yoyo is live. Juma taps the pinned kanga → the product page opens carrying "from Mama Yoyo's live".
  2. He buys now ✅, tonight from his cart ✅, tomorrow morning ✅: counted, within 24 hours of his tap.
  3. He buys 3 days later ❌: no longer the live's sale.
  4. He taps the kanga in Mama Yoyo's live, then in Neema's live, and buys ✅: counted for Neema's (the last live tapped wins).
  5. A coupon grabbed in the live or a group buy started in the live ✅: always linked, no tap needed.
  6. Tickets the same: Juma taps the pinned ticket and buys → counted for the live.

What the host sees

  • Right after ending (end screen + a notification): length, peak watching, people who watched, new followers, orders and money paid, coupon drop (grabbed → used), group buy (joined of needed), best product (taps → orders).
  • Later in My lives → that live: the same, plus refunds subtracted once they happen ("2 refunded, 200,000 net").
  • Money is counted when paid, at once; the net after refunds follows later.
  • During the live, the host only: "5 orders so far" (counts, no money).

Who sees what

Case Sees
Juma pins Mama Yoyo's kanga in his live Juma: "30 taps → 4 orders", no money (not his sale)
Same Mama Yoyo: "4 orders came from Juma's live" in her shop reports
Neema hosts the shop live from the terminal Owner: everything, money included. Neema: counts only, no money (team rule)

Backend: one shared sale origins table for the whole platform (live is only the first user), see §13.6. Taps are counted separately from orders (a counter during the live, totals saved in the live summary).

7.4 Free delivery during the live

✅ Agreed 2026-11-23. Products only (tickets have nothing to deliver).

Today: a shop can run a delivery campaign (free / percentage / fixed off, a cap per order, areas, paid from its spending limit). M4 is that campaign tied to one live.

Example. Mama Yoyo is live.

  1. She taps Free delivery: free or half off, a cap (up to 5,000 per order), areas (Dar only or everywhere).
  2. Everyone watching sees "🚚 Free delivery on orders from this live".
  3. Juma taps the kanga in the live and buys ✅ → free delivery.
  4. Ali opens her shop the normal way and buys ❌ → normal delivery.
  5. Juma buys tomorrow morning, within 24 h of his tap ✅ (the same "from live" link as §7.3).

Rules

  • Only orders from the live (§7.3 link), not the whole shop.
  • The owner starts it; staff only start ones the owner prepared (as coupon drops).
  • For people who tapped, it lasts 24 h after their tap, like the sale link, even after the live ends.
  • The shop pays, within the cap and its spending limit, as campaigns today.

7.5 Flash price

✅ Agreed 2026-11-23. Products and ticket types.

Example. Mama Yoyo pins the kanga (25,000).

  1. She taps Flash price: 18,000 for 5 minutes, only 10 pieces at that price.
  2. Everyone watching sees "⚡ 18,000 (was 25,000) · 7 left · 4:59".
  3. Juma taps Buy at 4:30, pays at 4:45 ✅ 18,000.
  4. Neema starts checkout at 4:58, pays at 5:20 ✅ 18,000 (10 minutes to pay once checkout started).
  5. Ali taps after the 10 are gone ❌ "Sold out at flash price, still 25,000."
  6. Timer ends → back to 25,000 for everyone.
  7. Tickets the same: the organiser sets "VIP 50,000 → 40,000 for 5 min, 20 tickets".

Rules

  • Time from a fixed list: 1 · 3 · 5 · 10 minutes; piece limit optional.
  • Switch "Only people watching can buy", on by default, set when starting it (as the coupon drop and group buy). Off = the flash price works for anyone during those minutes (shop page, product page), announced in the live.
  • No coupon on top of a flash price.
  • One deal per product at a time (no flash price and group buy together on the same product).
  • Starting checkout holds the piece for 10 minutes; not paid → it goes back to the flash pieces.
  • While it runs: lower the price more ✅, add pieces ✅, stop early ✅; raise the price ❌.
  • The owner starts it; staff only start ones the owner prepared.

Sizes and colours (today a product has one stock number for all; colours may have a price difference; sizes are only details; each ticket type has its own price and count)

  • The flash price takes the same amount off every colour: kanga 25,000 → 18,000 (7,000 off); gold (+2,000) 27,000 → 20,000.
  • The piece limit counts all sizes and colours together (red M and gold L both count in the same 10).
  • A flash price on one colour only ❌ not now (needs stock per colour / size first).
  • Tickets: one flash price per ticket type (VIP 40,000 doesn't touch Regular); one deal at a time per type.
  • The buyer picks size and colour at checkout as usual; the 10-minute hold keeps one flash piece whatever they pick.

7.6 Bargain live

✅ Agreed 2026-11-23. Products; ticket types too (off by default).

Today: chat offers: a seller sends one person a special price in chat, it's paid at checkout and expires by itself. In the live it goes the other way: the viewer offers, the host answers on screen; an accepted price becomes the same kind of personal offer, so checkout already works.

Example. Mama Yoyo pins a handbag (60,000) and turns on Bargain.

  1. Juma taps Make an offer: 45,000.
  2. Her screen lists: "Juma 45,000 · Neema 50,000 · Ali 30,000".
  3. Everyone watching briefly sees "💬 Juma offered 45,000".
  4. She taps Counter 52,000 → Juma sees [Accept] [No]; he accepts → 15 minutes to pay, for him only ✅.
  5. She accepts Neema's 50,000 ✅ → 15 minutes to pay.
  6. She says No to Ali's 30,000 ❌ → "Not this time".
  7. The live ends with offers unanswered → closed quietly.

Rules

  • Optional lowest price, hidden ("never below 40,000"): lower offers refused at once.
  • No auto-accept for now; the host decides live.
  • Everyone watching sees offers; refused ones without the amount.
  • One open offer per person per product; at most 3 tries per product per live; account 3 days old and watched 30 s.
  • 15 minutes to pay after accepting, then it closes and the piece goes back.
  • One piece per offer for now.
  • Sizes and colours as in the flash price: the buyer picks at checkout; a dearer colour keeps its difference.
  • Tickets: the organiser can turn bargaining on per ticket type, off by default.
  • Only the owner turns it on; no coupon on top; one deal per product at a time.

7.7 Instalments on the live

✅ Agreed 2026-11-23. Products only.

Today: a shop attaches instalment plans to a product (number of payments, weekly / monthly, optional interest, minimum down payment, ship after the first payment or only after the last).

Example. Mama Yoyo pins a sofa (300,000) with a "Pay in 3 months" plan.

  1. The pinned card shows by itself "300,000 · or Pay in 3 · 100,000 now".
  2. Juma taps Pay in 3 → the normal instalment checkout ✅, counted as a sale from the live (§7.3).
  3. The kanga has no plan → no "Pay in 3".

Rules

  • The card shows the product's existing plans; no new live tool.
  • A live-only special (0% interest, lower down payment) ❌ later.
  • Flash or bargain price in instalments ❌ for now (one deal at a time; the flash card shows no "Pay in 3").
  • Group buy with instalments ❌ (group buys pay in full, as today).
  • Sales numbers show both: "2 on instalments: 200,000 paid now of 600,000".
  • Check first: a cancelled instalment order really puts the stock back (open backlog item).

7.8 Live auction

✅ Agreed 2026-11-23. Products and tickets.

Today: wallet payments and escrow exist; there is no "hold" on a wallet, so the current top bid waits in escrow and goes back the moment someone bids higher.

Example. Mama Yoyo pins a vintage watch: start 20,000, steps of 1,000, 60 seconds.

  1. Everyone watching sees "🔨 Watch · 20,000 · 0:59 · [Bid 21,000]".
  2. Juma bids 21,000 → the backend checks his wallet and puts 21,000 in escrow ✅.
  3. Neema bids 22,000 → hers in escrow, Juma's 21,000 back to his wallet at once ✅.
  4. Ali has 10,000 → "Top up to bid" ❌.
  5. Juma bids 25,000 with 5 s left → the timer goes back to 10 s.
  6. Time ends → "Juma wins at 25,000 🎉" → his order is made from the held money; he picks delivery or pickup.

Rules

  • Only the top bid is held; outbid = money back at once.
  • Optional hidden lowest price; not reached → no winner, money back; viewers see "lowest price not reached yet".
  • Times from a fixed list 30 s · 1 · 3 · 5 min; a bid in the last 10 s puts the timer back to 10 s.
  • Steps from a fixed list 500 · 1,000 · 5,000 · 10,000; one-tap bid buttons, no typing.
  • Switch "Only people watching can bid", on by default; account 3 days old and watched 30 s.
  • One piece per auction.
  • Tickets: the winner gets a ticket ("VIP table for 10").
  • No backing out after winning; the host can cancel before the end (all money back); after the end it is a normal paid order with normal refund rules.
  • The live ends mid-auction → the auction finishes on its own timer, the winner still wins.
  • Only the owner starts it; no coupon on top; one deal per product at a time.

7.9 Live gifts

✅ Agreed 2026-11-23. Called just gifts in the app (the earlier idea "Shangwe" dropped); in the backend its own type (live gift), never mixed up with gift cards.

Example. Juma is singing live.

  1. Neema taps 🎁 → 🔥 Fire · 1,000 TZS, paid from her wallet in one tap.
  2. Everyone watching sees the fire animation and "Neema sent 🔥".
  3. Juma's gift balance goes up 1,000 ✅ ("Neema sent you a gift → in your gift balance").
  4. Next week he buys a kanga for 25,000: 1,000 from gift balance, 24,000 from his wallet ✅ (as gift cards today).
  5. He tries to withdraw the 1,000 to M-Pesa ❌: gift balance never goes out.
  6. Neema tries to pay a gift from her gift balance ❌: "gift balance can't buy gifts" (existing rule).
  7. Top of the screen: "Top fans: Neema 6,000 · Ali 2,000"; after the live: "38 gifts · 54,000 TZS".

Rules

  • Paid from the wallet only, in TZS, no coins.
  • Lands in the host's gift balance (spend only, never withdrawn, never transferred, never expires).
  • Later, if creators ask: hosts who verify their identity can move gift earnings into their wallet, with a waiting period against fraud.
  • No platform cut for now: 100% to the host.host (or to the speaker or co-host picked, §8A.5). ⚠️ Before building, check the current Apple and Google store rules.
  • Personal live → the host's gift balance. Shop live → the shop (owner); staff never see the money. Off for shop lives by default, the owner can turn it on.
  • Giver's account at least 3 days old; daily giving limit 100,000 TZS; never given back once sent.

The gift list is made by admin, only for lives:

  • Each item: key (fixed, e.g. fire), name, icon, price, order on the list, on / off.
  • The live event carries the key; the app plays the animation for that key.
  • A key the app doesn't know yet (admin added drum, the phone has an old app): the event also carries the icon, the app shows a simple fly-up of it. Admin can add gifts any time without an app release.
  • Never deleted, only turned off; each send keeps the price paid at that moment.

7.10 Ticket live

✅ Agreed 2026-11-23.

Today: events are in person, online or hybrid; an online event only holds a typed meeting link (Zoom etc.); ticket types can be marked online; tickets already have group buying.

A. Selling tickets in a live (already covered): the organiser pins a ticket type and can use flash price, bargain, auction, coupon drop and group buy on it. DJ Mike pins "VIP · 50,000" two days before his show, runs "VIP 40,000 for 5 min", Juma buys → counted for the live (§7.3).

B. A live only ticket holders can watch (new): for online and hybrid events NexGate Live replaces the meeting link.

Example. Neema runs an online "Business class: selling on Instagram", 10,000, Saturday 10:00.

  1. On the event she picks "Stream on NexGate Live" instead of a meeting link → a live is booked automatically for Saturday 10:00 (as her or her shop).
  2. Juma buys an online ticket → 09:45 "Your class starts in 15 min" ✅ (the ticket counts as Remind me).
  3. 10:00 he opens it and watches ✅ → counted as his check-in.
  4. Ali has no ticket → 🔒 in the live feeds, "Buy ticket to watch" → buys → in within seconds ✅.
  5. Juma's brother logs in on another phone ❌ "Already playing on another device" (one phone per ticket).
  6. Comments and gifts only from ticket holders.
  7. Watch later ❌: no recording; the ticket says "Live only, no replay".

Rules

  • "Stream on NexGate Live" is a choice on online / hybrid events next to the meeting link; the live is booked from the event time.
  • Watching = check-in for online tickets.
  • No free preview: lock + "Buy ticket to watch".
  • One phone at a time per ticket.
  • Shown in the live feeds with the lock; only ticket holders can open it.
  • Event moved or cancelled → the live moves or is cancelled with it (ticket holders get the existing messages).
  • Hybrid: only online tickets can watch the stream.

8. Taking part

✅ Owner 2026-11-23: T1–T6 are needed; T7 battles and T8 not. Discussed one by one below.

# Idea What it is Status
T1 Guests and co-hosts others on screen with the host (split screen); co-hosts bring their own shop and tools (§6) ✅ §8.1
T2 Reactions (YouTube style) tap an emoji, it floats up for everyone, no names, no counts ✅ §8.2
T3 "Juma joined" a short line when someone arrives ✅ §8.3
T4 Who's watching a viewer list ✅ §8.4
T5 Polls "Red or blue kanga?" with live results ✅ §8.5
T6 Questions viewers send questions, the host pins one on screen ✅ §8.6
T7 Battles two hosts on split screen, gifts decide the winner ❌ not needed (owner 2026-11-23)
T8 Send viewers on when ending, send everyone to a friend's live ❌ not needed

8.1 Guests and co-hosts

✅ Agreed 2026-11-23.

  • Guest: joins for a while (a viewer asking on camera), then leaves. Co-host: sells with the host for the whole live with their own shop and tools (§6).

Example. Mama Yoyo is live.

  1. Juma taps Ask to join (video or voice only) → "Juma wants to join · [Accept] [No]".
  2. She accepts → the screen splits Mama Yoyo | Juma; everyone watching sees both ✅.
  3. She taps Remove → Juma is back to watching ✅. Juma can also leave by himself.
  4. She invites Neema (Neema Fashions) as co-host → both pin their own products, Neema runs her own coupon drop ✅.
  5. Ali, whom Neema has blocked, asks to join ❌ (blocks of anyone on screen apply).
  6. Mama Yoyo ends the live → it ends for everyone.

Rules

  • Seats decided by the backend: up to 5 guests and co-hosts per live (host + 5 = 6 on screen); each live gets a "seats now" number from the backend, 3 for now (host + 2), less for a weak phone. Raising it needs no app update.
  • Guests: request (host accepts) or invite; co-hosts: invite only; accounts at least 3 days old.
  • Invites follow §8A.8 (copied from group invites) and the setting "Who can invite me to a live" (§8A.9).
  • Voice-only guests allowed in video lives; radio lives: voice only.
  • Host tools: accept · ignore · remove · block from asking again in this live · turn requests off.
  • The host is responsible for what happens in their live (as YouTube); fast tools matter.

When the screen is full: invites and requests can always be sent; the seat is checked when someone goes on screen. Mama Yoyo has 3 seats, Juma and Neema are on (full).

  1. She invites Ali ✅ → her screen: "Full · remove someone to bring Ali in".
  2. Ali taps Join while full ❌ "Mama Yoyo's screen is full"; his invite stays open.
  3. She removes Juma → Ali gets "A seat is free · Join now" ✅.
  4. Ali and Rose tap Join at the same moment for the last seat → only one gets it (seat taken in one safe step); the other ❌ "Screen is full".
  5. Zawadi asks to join while full ✅ → waits in the list; the host's Accept is greyed ("Full") until a seat frees.
  • The invited person is in their own live ❌ "End your live to join Mama Yoyo's" (one live per person).
  • Invites sent during the live expire after 5 minutes or when the live ends.ends; invites from the form or My lives last until the live ends (§8A.8).
  • When a seat frees, only invited people are told; requests stay in the host's list and the host picks.
  • Co-hosts and guests use the same seats.

Compared with others

TikTok Instagram YouTube NexGate
On screen host + 5 host + 3 host + 1 host + 5 allowed, host + 2 for now (backend decides)
Getting in request (video or voice) → host accepts request or host invites host's invite link, waiting room request or invite; co-host invite only
Voice only ✅ ❌ ❌ ✅ (radio: always)
Blocks — anyone blocked by anyone on screen can't join — same as Instagram
Host tools accept, ignore, block, remove, layout add, remove swap guest accept, ignore, remove, block for this live, requests off
Who's responsible — — the host the host
Who makes the picture phone, server for weak phones — — the host's phone (server for weak phones later)

How the picture is made: on the host's phone, not the server. Mixing one live with guests on the server takes about 3–4 CPU cores (LiveKit's own numbers); our box shows about 4. So:

  1. Host and guests connect through LiveKit, which only passes their video between them (cheap).
  2. The host's phone draws the guests next to its own camera.
  3. It sends one mixed picture to SRS, as today; viewers watch as today.
  • The backend tells each phone how many guests it can take (weak phone → 1).
  • Later, when we have more servers: mix on the server only for phones that are too weak (ByteDance's own approach: client mixing when the phone and network are good enough, server mixing otherwise).

8.2 Reactions (the YouTube way)

✅ Agreed 2026-11-23 (owner: copy YouTube).

Example. Mama Yoyo shows a new kanga.

  1. Juma taps 😍 → it floats up the side for everyone ✅.
  2. 50 people tap 🔥 at once → the side fills with 🔥 ✅; she sees "they love this one".
  3. She makes a joke → 😂 everywhere.
  4. No names, no counts on screen.
  5. After the live, the host only: "2.1K reactions · most 🔥".

Rules

  • A reactions button opens a row: ❤️ 😂 🔥 😍 👏, a fixed list in the backend (LiveReaction).
  • Viewers see no counts; the host sees totals after the live.
  • Reactions push the live up in Trending a little.
  • Radio lives too (emoji float over the radio picture).
  • Light on the backend: the phone counts taps and sends one message every few seconds ("🔥 ×12, 😂 ×3"); one Redis counter per emoji, no row per reaction; everyone gets the mix for the last 2 s with the comments; at most 15 a second per person counted.
TikTok Instagram YouTube NexGate
How tap the screen anywhere heart button reactions button reactions button (YouTube)
Kinds hearts hearts ❤️ 😂 🎉 😮 💯 ❤️ 😂 🔥 😍 👏
Names shown — — ❌ ❌
Count shown ✅ to everyone ❌ ❌ ❌ (host after the live)
Used for ranking ✅ — — ✅ a little

8.3 "Juma joined"

✅ Agreed 2026-11-23. The app decides how joins look; the backend delivers the right joins with the right facts.

Every 2 s, with the comments:

Field Example Why
who Juma's accountId, name, photo "Juma joined"
hostFollows true Mama Yoyo knows him
topFan rank 1 the app can make a bigger entrance
friendOfYou true (for this viewer) "your friend Juma joined"
joinedCount 43 in the last 2 s "+43 joined" in busy rooms

Rules (backend)

  • At most 10 joins per 2 s, most important first (top fans, people the host follows, friends), plus the count.
  • Switch "Show when I join a live", on by default; off → the name is never sent, only counted.
  • Top fan rank = gifts in this host's lives over the last 30 days.
  • Joins come from the existing heartbeats; no new messages from phones. Shop lives the same.
TikTok Instagram YouTube NexGate
Shows joins ✅ line at the bottom ✅ in comments ❌ ✅ (app decides the look)
Big rooms flies past; big entrance for top fans lost in comments — 10 most important per 2 s + "+N joined"
Hide my join ✅ — — ✅ switch, on by default

8.4 Who's watching, and how people get on screen

✅ Agreed 2026-11-23.

What the backend delivers

  • Everyone: the viewer count (exists) and the top 3 fans (gift givers).
  • Host and co-hosts: the full list, page by page: name, photo, watching for, follows you, top fan, 🛍 bought in this live (§7.3 link). Order: top fans → people the host follows → newest. From the existing heartbeats in Redis; nothing new stored.
  • Staff hosting a shop live: the list with names; never money ("bought" is only a mark).
  • Someone who turned off "Show when I join" still appears in the host's list (only the joined line is hidden).
  • Host actions from the list: invite to join · mute · remove from live (can't come back to this live).

Example. Mama Yoyo, 300 watching.

  1. Juma (viewer) taps 👀 → "300 watching · Top fans: Neema, Ali, Rose"; no full list.
  2. Mama Yoyo taps 👀 → the full list with [Invite to join] [Mute] [Remove from live]; "🛍 bought" next to Zawadi.

Three ways onto the screen (viewers only ever ask; only the host invites)

Tab Who's in it For
Requests viewers who tapped Ask to join guests
Watching the viewer list above guests or co-hosts already watching
Invite search with suggestions: people she follows, friends, past co-hosts mostly co-hosts who aren't watching
  • Neema (not watching) gets a notification "Mama Yoyo invites you to co-host her live" [Join] → opens the live → on screen (seat checked then, §8.1); the invite expires in 5 minutes.
  • Invites from search only to people whose connected"Who can invite me to a live" allows the host (she§8A.9, followsdefault themContacts or they follow her)only); blocks apply.
  • Switch "Allow live invites", on→ replaced by default; off → nobody"Who can invite her.me to a live" (2026-11-24).
TikTok Instagram YouTube NexGate
Viewer count everyone everyone everyone everyone
Viewer list top viewers to everyone, host more host nobody top 3 fans to everyone, full list to host / co-hosts
Invite from requests, viewers, search requests, search invite link requests, watching, search (connectedallowed peopleby only)the setting), the form, speaker link
Turn off invites ✅ ✅ — ✅ "AllowWho livecan invites"invite me to a live": everyone / contacts only / nobody

8.5 Polls

✅ Agreed 2026-11-23. Separate from post polls: short, in Redis like comments; the final result kept in the live summary.

Example. Mama Yoyo is live.

  1. Poll: "Which colour next week?" Red · Blue · Gold, 2 minutes.
  2. Everyone sees the card; Juma taps Blue ✅ (one vote, no changing).
  3. Live results for everyone: Red 30% · Blue 55% · Gold 15%.
  4. Timer ends → "Blue wins! 💙" (or she ends it early).
  5. Product options: "Which kanga do you want?" with three pinned kangas → Buy on the winner ✅.
  6. Summary: "Poll: 180 votes, Blue 55%".

Rules

  • Made by the host and co-hosts; staff hosting a shop live too (no money involved).
  • 2–4 options; timer 1 · 2 · 5 min or until ended.
  • One vote each, no changing; voter names hidden from everyone, host included.
  • One poll at a time.
  • Anyone watching can vote (no 3-day rule; that is for money tools).
TikTok YouTube Instagram NexGate
Who makes it host, moderators host, moderators no live polls host, co-hosts, staff host
Options 2–4 2–4 — 2–4, can be pinned products
Results live % live % — live % for everyone
Voter names hidden hidden — hidden, host included

8.6 Questions

✅ Agreed 2026-11-23.

Example. Mama Yoyo, a dress pinned.

  1. Juma taps Ask: "Does this come in XL?" → the questions list, linked to the pinned dress ✅.
  2. Neema taps 🙋 Me too → 12 🙋, it moves up ✅.
  3. She opens Questions (most 🙋 first) → Answer now.
  4. Everyone sees a big card: "Juma: Does this come in XL?" with Buy for the dress ✅.
  5. Done → marked answered, card gone.
  6. After the live: "6 questions not answered" → she can reply to each person in chat.

Rules

  • A separate Ask button and list, not mixed into comments.
  • 🙋 Me too pushes popular questions up.
  • On-screen card, with Buy when it is about a product.
  • One question every 30 s per person, at most 150 characters, the comment word filter (§10).
  • Kept 6 hours (as comments) so unanswered ones can be answered in chat.
  • Host, co-hosts and a staff host can answer.
Instagram TikTok YouTube NexGate
Ask Ask button Q&A button host starts Q&A Ask button, linked to the pinned product
Support a question ❌ ✅ like ❌ ✅ 🙋 Me too
On screen big card on screen highlighted big card + Buy
After the live — unanswered kept — unanswered kept 6 h, reply in chat

8A. Audio live (radio + Spaces merged)

✅ Agreed 2026-11-24 (owner: "we need all those, amazing").

8A.1 Two kinds of live, Spaces removed

  • Live has two kinds: 🎥 Video live and 🎙 Audio live. Chosen at the start, never changed during the live.
  • Spaces is removed. Spaces (chat_system/space_mng, /api/v1/live/spaces) was a public audio room (no chat group, followers told, host / co-host / speakers / listeners, raise hand, SRS for listeners): almost the same job as audio radio. Its stage features move into Audio live; then the Spaces code and endpoints go. It was never on real phones, so nobody loses anything.
  • Private talk = group calls (up to 8), not live.

What we had before the merge (checked in code 2026-11-24):

🎙 Audio radio (live)🗣 Spaces (chat code)
Public, followers told✅✅ (not tied to a chat group; anyone with the link joins)
Roleshost onlyhost · co-host · speaker · listener
Guests talking❌✅ raise hand, stage, promote / demote
Listeners hear it throughSRSSRS (LiveKit → SRS)
Selling tools, pins, coupons✅ (planned)❌
Feeds, swipe, posts, booking, reminders✅ (planned)❌
Endpoints/live/streams…/api/v1/live/spaces…

Two public audio things doing almost the same job → one Audio live: Spaces' stage + radio's place in live.

Want to…Use
Talk to the public, sell, be found in feeds🎙 Audio live or 🎥 Video live
Talk privately with a few peopleGroup call (up to 8)
  • Audio live has every tool video has: booking switch, posts, feeds, selling (pins, coupon drop, group buy, flash price, bargain, auction, instalments, free delivery), gifts, reactions, comments, polls, questions, safety, sales numbers, after-live summary, ticket live (a talk, a sermon, a class). Guests follow §8.1 with sound only.
  • Lesson from Spotify Live (an audio-only app, closed 2023): audio must live inside an app people use for other things. NexGate has shopping, chat and feed.

8A.2 Where audio is different from video

#TopicAudio live
A1Screen offKeeps playing when the phone is locked or another app is open; a media control shows title + host + ⏸
A2SpeakersNo video boxes to fit: 8 seats allowed, 5 now, from the backend (host included)
A3Who's talkingSpeakers' photos in a circle; the one talking glows (LiveKit reports who speaks)
A4Selling when nobody looksSame cards + a short sound when a coupon, flash price or auction drops; locked phone: the media control shows "🎟 Coupon dropped"
A5The screenBanner big, speakers' circle, comments and product cards below
A6ReportNo picture: the last 30 s of sound (already in the stream's buffer) + the last 5 min of comments + who was talking
A7DataSound only; the 32 kbps copy stays for slow networks
A8Card in feedsBanner + moving sound wave + speaker photos + "🎙 Audio"

How each tool works in Audio live next to Video live: §8A.10.

Example: Juma listens to Mama Yoyo's Audio live riding his boda, phone in his pocket 🎧 → she drops a coupon → ding → lock screen "🎟 Coupon dropped · 20% off kangas" → taps → grabs it. Neema raises her hand → Mama Yoyo brings her on → Neema's photo glows while she talks.

8A.3 The voices are mixed on the server

  • Video (§8.1): the host's phone mixes the guests. Audio: the server mixes the voices (LiveKit → SRS, as Spaces does today). Mixing sound is much lighter than mixing video.
  • So when the host's network drops, the speakers keep talking and listeners keep hearing (§9.3).

8A.4 Handling people (learned from X Spaces, Discord, Telegram, Clubhouse, Twitch)

#RuleFrom
X1Roles: host · co-hosts (up to 2) · speakers · listeners (no limit). Co-hosts accept requests, mute, remove; they can't end the live or use the shop's money tools (only the shop sells, §6)X Spaces
X2Who can ask to speak: everyone (default) · people I follow · only people I invite. Set when going live, changeable duringX Spaces
X3Requests list in order; host or co-host taps to accept (§8.1)X Spaces
X4Host can mute a speaker but never unmute them. Only the speaker turns their own mic onX Spaces
X5✋ for speakers already on stage: "I want to talk next", shown in orderX Spaces
X6Back to listener · remove from this live · block (§10)X Spaces
X7A short sound when someone comes on or leaves the stageX Spaces
X8Pin a comment at the top (e.g. "Today: kangas from Kariakoo"), next to pinned productsX Spaces
X9"Your friends are listening" on the card (§3.2a)X Spaces
X10Captions (speech → text)⏳ later, costs per minute
X11Recording and clips❌ no recording (§2)
X12Host drops: not the end straight away (§9.3)changed from X
Y1Invite to speak is an invitation: the listener taps Accept or No thanks, never pulled on stageDiscord Stage
Y2Two links: listener link and speaker link (open it → on stage at once). For planned panelsTelegram
Y3New speakers start muted (default on)Telegram
Y4Volume per speaker on your own phone (app only, no backend)Telegram
Y5Tap a speaker's photo → small profile + Follow (shop speaker: Visit shop), without leavingClubhouse
Y6🎉 badge on new users for their first weekClubhouse
Y7Leave quietly (follows the "Show when I join a live" setting, §8.3)Clubhouse
Y8Send listeners to another live when ending: "Mama Yoyo sent you to Duka la Asha's live"Twitch raid
Y9Speakers "join as" themselves or their shopTelegram
Y10Noise cleaning from the phone, on by default (free)phone / WebRTC
—No empty rooms in the Live feed: an audio live shows there only with listeners or a known host; empty new rooms only to followersClubhouse's lesson

Compared with others (from what we know of these apps, 2026-11-24; check again before copying an exact rule)

X SpacesClubhouseDiscord StageTelegram voice chatNexGate Audio live
Roleshost, 2 co-hosts, ~10 speakersmoderators, speakersmoderators, speakersadmins, speakershost, 2 co-hosts, speakers (8 allowed, 5 now)
Who can ask to speakeveryone / people you follow / invited onlyraise handrequest to speakraise handeveryone / people I follow / invited only
Pulled on stageinviteinviteinvite must be acceptedspeaker link = straight oninvite must be accepted; speaker link = straight on
Mute othersmute, never unmutemutemutemutemute, never unmute
New speakers muted———✅✅ default
Volume per speaker——✅✅✅ on your own phone
Tap speaker → profile✅✅ + follow✅✅✅ + Follow / Visit shop
New user badge—🎉——🎉 first week
Speak as a channel / shop———✅ "join as"✅ me or my shop
Send listeners on at the end————✅ (Twitch raid)
Pay a speaker—✅ payments——✅ gifts to any speaker
Captions✅✅——⏳ later
Recording / clips✅✅ replays—✅❌ (§2)
Host dropsSpace ends———co-host carries on (§9.3)
Selling————✅ every money tool

Lessons: Clubhouse filled with empty rooms and people stopped coming (→ the no-empty-rooms rule above). Spotify Live (audio only, its own app) closed in 2023 (→ audio inside an app people already use).

Example (handling people): Mama Yoyo goes Audio live, "Who can ask to speak: people I follow", Neema co-host. 40 requests come in, Neema accepts Juma. Juma talks too long → Neema mutes him; she can't turn his mic back on, only Juma can. Juma insults someone → Neema moves him back to listener, then removes him. Mama Yoyo's network drops → listeners hear "host reconnecting…" → back in 40 s.

8A.5 Gifts to speakers

✅ The gift picker has "Send to" [ host ✓ ] [ Neema ] [ Juma ]: default the host, any speaker on stage can be picked (Clubhouse let listeners pay a speaker). A shop speaker → the shop's gift balance. Same for co-hosts and guests in video. Changes §7.9 "100% to the host" to "100% to the person picked".

Example

  • Tuesday: Mama Yoyo books "Friday Kanga Talk" (Audio), sends Neema and Asha the speaker link in chat.
  • Friday 8 pm: they open it → on stage, muted (Y3); they unmute when ready.
  • Juma raises his hand (X2 everyone) → Neema (co-host) accepts → Juma talks too long → Neema mutes him; only Juma can turn his mic back on (X4).
  • Juma answers a question well → Asha taps his photo → 🎁 Lion → it lands in Juma's gift balance.
  • Juma rides his boda, phone in the pocket → ding → lock screen "🎟 Coupon dropped" → grabs it.
  • 9 pm: she ends → "Send listeners to Duka la Asha's live" → 280 people move there.

8A.6 The create form (video and audio)

✅ Agreed 2026-11-24. One form for both kinds. Picking 🎙 Audio shows the full Stage part; video shows a smaller one (guests by request / invite, §8.1). Builds on §4.2.

┌─────────────────────────────────────────┐
│  [ 👤 Mama Yoyo ▾ ]   ← Me / 🛍 Duka la Mama
│                                         │
│  [ 🔴 Now ]  [ 📅 Later ]               │
│                                         │
│  [ 🎥 Video ]  [ 🎙 Audio ✓ ]           │
│                                         │
│  ┌───────────────────────────────┐      │
│  │   🖼  Add banner image         │      │
│  └───────────────────────────────┘      │
│  Title: Friday Kanga Talk               │
│  Description: New kangas from Kariakoo… │
│                                         │
│  ── Stage ─────────────────────────     │
│  Co-hosts  [ Neema ✕ ] [ + Add ]        │  ← up to 2
│  Speakers  [ Asha ✕ ] [ Juma ✕ ] [ + Add ]
│  Who can ask to speak                   │
│   [ Everyone ✓ ] [ People I follow ]    │
│   [ Only people I invite ]              │
│  New speakers start muted     [ ON ]    │
│                                         │
│  ── Only with Later ───────────────     │
│  When [ Today 8 pm ] [ Tomorrow 8 pm ]  │
│       [ 🗓 Custom ]                      │
│  Let people get reminded      [ ON ]    │
│  ✏️ Say something about your live…      │  ← post caption
│  A post goes to the feed. People can    │
│  tap Remind me before you start.        │
│                                         │
│        [ 🎙 Go live ]  /  [ 📅 Book ]    │
└─────────────────────────────────────────┘
  • Now: When, the reminder switch and the caption are hidden; the button says Go live.
  • Later: they show; the button says Book.
  • Banner, title, description belong to the live and show in its card (§3.2); the caption is the post text.
  • Everything on the Stage part can be changed during the live too.
  • The backend decides which parts and pills show: the shop dropdown only for a shop owner, the Custom date limit (30 days), co-hosts (2), speaker seats (8 allowed, 5 now).
  • Example: Mama Yoyo → Audio → banner + title → Neema as co-host, Asha as speaker → Later → Friday 8 pm → caption "Come talk kangas!" → Book ✅. Josh → Audio → Now → title "Morning chat" → Go live; everyone can ask to speak, new speakers start muted ✅.

8A.6a The other screens (drawings)

Booked screen (after Book; the links exist only now, §8A.7)

┌─────────────────────────────────────────┐
│            ✅ Booked · Friday 8 pm       │
│  🎙 Friday Kanga Talk · 🛍 Duka la Mama  │
│  Post: "Come talk kangas!" · in the feed │
│                                         │
│  Invited                                │
│   Neema · co-host     ⏳ waiting         │
│   Asha  · speaker     ⏳ waiting         │
│                                         │
│  [ 🔗 Share link ]  [ 🎙 Speaker link ]  │
│  [ ✏️ Edit ]                             │
└─────────────────────────────────────────┘

A private booking (switch off) shows no post line and has [ 📝 Post it ] instead.

My lives (profile → Lives)

┌─────────────────────────────────────────┐
│  My lives          [ Upcoming ] [ Ended ]│
│  ─────────────────────────────────────  │
│  🎙 Friday Kanga Talk · Fri 8 pm         │
│     👥 120 waiting · Neema ✅ · Asha ⏳   │
│     [ ✏️ Edit ] [ 🎙 Speaker link ]       │
│     [ 📝 Post it ] [ ✖ Cancel ]          │
│  ─────────────────────────────────────  │
│  🎥 Saturday sale · Sat 6 pm · 🔒 private│
│     [ ✏️ Edit ] [ 📝 Post it ] [ ✖ Cancel ]│
└─────────────────────────────────────────┘

The backend decides which buttons each row gets.

The invite (push → opens the invites list, §8A.8)

┌─────────────────────────────────────────┐
│  🎙 Mama Yoyo invites you to speak       │
│  Friday Kanga Talk · Fri 8 pm            │
│  [ banner ]                              │
│        [ Accept ]   [ No thanks ]        │
└─────────────────────────────────────────┘

After Accept the row says "✅ You're a speaker · Fri 8 pm"; at the start "🔴 Live now · [ Join the stage ]".

Inside an Audio live (listener, screen open)

┌─────────────────────────────────────────┐
│  🔴 LIVE · 🎙 Friday Kanga Talk   300 🎧  │
│  [ banner ]                              │
│        (Mama)  (Neema)  (Juma✋)          │  ← the one talking glows
│        (Asha)                            │
│  📌 Today: kangas from Kariakoo          │  ← pinned comment
│  ┌───────────────────────────────┐      │
│  │ 🎟 20% off kangas · 9:41 [Grab]│      │  ← card + ding
│  └───────────────────────────────┘      │
│  Juma: nice colours!                    │
│  Rose joined                            │
│  [ 💬 Comment ] [ ✋ Ask to speak ] [ ❤️ ] [ 🎁 ]
└─────────────────────────────────────────┘

Host's Stage panel (during the live)

┌─────────────────────────────────────────┐
│  Stage 4 / 5 seats                       │
│   Neema  co-host        [ 🔇 ] [ ⋯ ]     │
│   Juma   speaker ✋ next [ 🔇 ] [ ⋯ ]     │  ⋯ = back to listener · remove · block
│   Asha   speaker ⚠️ weak network         │
│  Requests (12)  [ Juma ✓ ] [ Rose ✓ ] …  │
│  Invited: Baraka ⏳                       │
│  Who can ask: [ Everyone ▾ ]             │
│  [ + Invite ]  [ 🎙 Speaker link ]       │
└─────────────────────────────────────────┘

Lock screen (audio, phone locked, A1 + §8A.10)

┌─────────────────────────────────────────┐
│  🎙 Friday Kanga Talk · Mama Yoyo        │
│  🎟 Coupon dropped · 20% off · 10 min    │  ← changes with each event
│        ⏮      ⏸      ✖                   │
└─────────────────────────────────────────┘

Weak network bar (host, viewer and listener, §9.3)

┌─────────────────────────────────────────┐
│ ⚠️ Weak network, try a new location   ✕ │
└─────────────────────────────────────────┘

8A.7 Picking speakers and co-hosts, and the speaker link

8A.8 Live invites (video and audio): copied from group invites

✅ Agreed 2026-11-24: copy the chat group invite system, which already works.

How group invites work today (checked in chat_system/group_mng, 2026-11-24)

  • Nobody is put in a group without saying yes. Two doors: an invitation (accept / decline) or an invite link (opening it is the yes; optional "join approval" by an admin).
  • Creating a group has no member list: the owner creates it alone, then invites one by one. Only owner or admin can invite.
  • Checks, in order: not already a member → group not full (50, pending invites counted) → invitee hasn't blocked the inviter → invitee's "Who can add me to groups" allows it → inviter hasn't sent 20 invites today.
  • Refused for a block or the setting → always the same message "This user cannot be invited", never which one (privacy doesn't leak).
  • Inviting again while one is open returns the same invite (no pile-up).
  • Delivery: push (CHAT_GROUP_INVITE) + the invites list (GET /chat/groups/invites).
  • While PENDING the person is not in the group at all (no messages, no history).
  • States: PENDING → ACCEPTED / DECLINED / EXPIRED (7 days) / REVOKED (withdrawn). Accept → joins as member, "Asha joined", inviter told "Asha accepted". Can be invited again later.
  • Example: Mama Yoyo creates "Kanga Sellers" → invites Asha, Neema, Juma → Asha accepts ✅, Neema declines ✅, Juma ("Nobody") → "This user cannot be invited" ✅; Baraka gets the link on WhatsApp → joined ✅.

Live invites, the same way (for video guests and co-hosts, and audio speakers and co-hosts)

Group invites (today)Live invites
Who invitesowner, adminhost (form, My lives, in the live); co-hosts only people already in the live (Y1)
Pick many at once❌ one by one after creating✅ in the form; all sent on Book / Go live
Privacy setting"Who can add me to groups""Who can invite me to a live" (§8A.9)
Blockstops invitesstops invites and the speaker link
Refused message"This user cannot be invited"the same, and the picker hides them anyway
Daily limit2020
Same person twicesame invite returnedsame
Deliverypush + invites listpush + invites list (A, agreed)
While pendingnot in the groupnot on stage, no special rights
Statespending · accepted · declined · expired · withdrawnthe same
Expires7 dayswhen the live ends; an invite sent during the live: 5 min (§8.1)
Linkgroup invite link (+ optional approval)speaker link: opening it is the yes, no approval
Fullgroup 50seats checked when they go on stage; the invite stays open (§8.1)

What happens after the invite

  • Accept before the live: they're on the list; 15 min before they get "starts in 15 min · get ready" (like the host); at the start "🔴 Live now · join the stage" → tap → on stage, muted (Y3) ✅.
  • Accept during the live: straight on stage (seat checked) ✅.
  • No thanks: nothing more is sent; the host sees "Asha: no thanks" ✅.
  • The host sees each person's state on the Stage part and in My lives: ⏳ waiting · ✅ accepted · ❌ declined; she can withdraw an invite or add more until the live ends.
  • Live moved or cancelled: invited people are told, like remind-me people.
  • In their own live at the time ❌ "End your live to join Mama Yoyo's" (one live per person, §8.1).
  • Example: Monday Mama Yoyo books Friday, picks Asha → Asha gets a push + it's in her invites list → Accept ✅. Friday 7:45 "get ready" → 8:00 "🔴 Live now · join the stage" → on stage, muted ✅. Juma got invited too, taps No thanks → Mama Yoyo sees ❌ next to Juma ✅.

8A.9 Privacy: "Who can invite me to a live"

✅ Agreed 2026-11-24. One setting for all live invites (video guests, co-hosts, audio speakers). It replaces the on / off switch "Allow live invites" (§8.4). A separate row from "Who can add me to groups", in the same privacy screen: someone may want groups open but lives closed.

ChoiceMeans
Everyoneanyone can invite you
Contacts only ✓ defaultonly people you both follow (the same "contacts" as chat)
Nobodyno invites; you can still open a speaker link yourself
  • Default Contacts only, stricter than groups (Everyone), because being put on stage in front of 300 people is bigger than joining a group.
  • Blocks always win.
  • Examples:
    • Asha (Contacts only) and Mama Yoyo follow each other → in the picker → invite → Accept ✅
    • Juma (Contacts only) doesn't follow Mama Yoyo → not in her picker ✅
    • Neema (Nobody) → never in anyone's picker ✅; she opens a speaker link a friend sent on WhatsApp → on stage, her own choice ✅
    • Baraka blocked Mama Yoyo → not in the picker, and her speaker link doesn't work for him ✅

8A.10 Every tool on both kinds: how it works in video and in audio

✅ Owner 2026-11-24: every tool is on both kinds, but it must feel different, because in video people look at the screen, and in audio they often don't (phone locked, in a pocket, another app open).

Rules for all tools

  • The backend is the same for both kinds: same endpoints, same rules, same money. Only how the app shows and sounds changes. Every event carries the stream's kind so the app knows how to present it.
  • Video = see it. Cards, banners, animations on top of the video.
  • Audio = hear it, then see it. Each important event has (1) a short sound, (2) a lock-screen line in the media control (A1), (3) the same card when the screen is open. Tapping the lock-screen line opens the live straight on that card.
  • The host is the voice in audio: when the host starts a drop in an audio live, the host's screen shows a small hint "Say it out loud: 20% off kangas, 10 minutes" (listeners with the phone in the pocket only hear the host).
  • Sounds are short and few: one sound per kind of event, never more than one every 3 s; the listener can turn live sounds off in the player (default on for audio, off for video).

Showing and selling

Tool🎥 Video live (people look)🎙 Audio live (people listen)
Pin / show a product (§6)Product card over the video, Buy button; anyone shows, only the shop sellsSame card under the speakers' circle + soft sound; lock screen "🛍 Now showing: Red kanga · 15,000"
Coupon drop (§7.1)Card pops up with the countdown, GrabCard + ding; lock screen "🎟 Coupon dropped · 20% off kangas · 10 min" → tap → Grab; host hint "say it out loud"
Group buy (§7.2)Bar on the video "6 of 10 · 4:30 left"Same bar; ding at start and when it's nearly full ("2 more needed"); lock screen line
Sales numbers (§7.3)Counts for the host during the liveSame; host hears nothing, sees counts on her screen
Free delivery (§7.4)Badge on pinned productsSame badge; told once on the lock screen "🚚 Free delivery from this live"
Flash price (§7.5)Card with countdown, price crossed outCard + ding; lock screen "⚡ 9,000 instead of 15,000 · 3 min left"
Bargain (§7.6)Offer box on the card; the host's answer pops upSame; the host's answer comes as a personal ding + lock screen "Mama Yoyo accepted 12,000 · 15 min to pay"
Instalments (§7.7)Plans on the pinned cardSame; nothing extra (no sound, it's information)
Auction (§7.8)Card with top bid, Bid button, +10 s anti-snipeCard + soft tick per bid; lock screen "🔨 Top bid 40,000 · 0:20"; "You were outbid" as a personal ding; host hint to call out bids
Gifts (§7.9, §8A.5)Full-screen animation over the videoAnimation over the speakers' circle + gift sound; lock screen "🎁 Juma sent Neema a Lion"
Ticket live (§7.10)Ticket holders watchTicket holders listen (a talk, a sermon, a class); same check-in rule

Taking part

Tool🎥 Video live🎙 Audio live
CommentsOver the bottom of the videoBelow the speakers; no sound for comments (too many); a comment that mentions you → personal ding
Reactions (§8.2)Float up over the videoFloat over the banner and speakers' circle; no sound
Joins "Juma joined" (§8.3)Line over the videoSame line; no sound
Who's watching / listening (§8.4)"300 watching""300 listening"; same lists
Getting on (§8.1, §8A.4)Guests on screen (video or voice), 5 allowed / 3 now, mixed on the host's phoneSpeakers in the circle, 8 allowed / 5 now, mixed on the server; raise hand, ✋ next, never unmute others
Someone comes on / leavesTheir picture appears / goesShort stage sound (X7) + their photo appears / goes; the one talking glows (A3)
Invites (§8A.8)Guests and co-hostsSpeakers and co-hosts; same invites and setting
Polls (§8.5)Poll card over the video, tap to voteCard + ding; lock screen "📊 Poll: red or blue?" → tap → vote; host hint to read the options out loud; result read out by the host
Questions (§8.6)Question card, Me tooSame; when the host picks a question, it shows big and the host reads it out
Pinned comment (X8)Top of the commentsTop, under the banner

Safety, network, after

Tool🎥 Video live🎙 Audio live
Report (§10)Picture of the screen + last 5 min of commentsLast 30 s of sound + last 5 min of comments + who was talking (A6)
Moderators, word filter, mute, remove, block (§10)SameSame; plus mute / back to listener for speakers (X4, X6)
Auto-pause by NexGate (§10)Video replaced by "Paused"Sound stops + lock screen "Live paused by NexGate"
Weak network (§9.3)Yellow bar; quality drops; Listen only 🎧Yellow bar; 32 kbps copy
Host drops (§9.3)2 min frozen picture, then endsCo-host and speakers carry on
Send listeners on (Y8)"Sent you to Duka la Asha's live"Same
After-live summary (§11)"watched""listened"; same numbers
Cards in feeds (§3)Moving videoBanner + sound wave + speaker photos + "🎙 Audio" (A8)

Example: the same coupon drop, two kinds

  • Video: Mama Yoyo taps Drop → 300 watchers see the card pop up over her face → 40 grab it.
  • Audio: Mama Yoyo taps Drop → her screen: "Say it out loud" → she says "20% off kangas for 10 minutes!" → Juma (phone in pocket) hears it and the ding → lock screen "🎟 Coupon dropped · 20% off kangas · 10 min" → taps → the live opens on the coupon → Grab ✅.

9. Speed and data saver

✅ Agreed 2026-11-23. Target: TikTok level. About 2–3 s behind the host, no buffering on weak 3G, listen only on 2G.

Today (checked in srs/srs.conf): viewers get HLS in 4 s pieces → about 6–12 s behind the host; video has one quality (whatever the host's phone sends), so weak 3G buffers; radio has a 32 kbps version; the server makes no extra video qualities (no CPU for it); SRS already makes HTTP-FLV, not used for viewers.

9.1 Delay

Step What Delay Notes
1 (quick) HLS pieces 1 s, host phone sends a keyframe every 1 s 3–5 s still through the CDN, same cost per viewer
2 (TikTok way) HTTP-FLV to viewers, one continuous stream 2–3 s delivered by SRS edge servers (ours, small, near users, e.g. Nairobi / Johannesburg; SRS's own design for scale), cost check first; HLS stays as the backup
3 (agreed in §8.1) people on screen talk through LiveKit < 1 s guests and co-hosts only
  • Android's standard player plays FLV; iPhone and web need a player library.
  • Timers and deals follow the backend clock, never the video: auction, flash price, coupon drop, group buy and poll timers reach phones with the comments, so they are fair even when the video is late.

9.1a Where the delay comes from

Two different waits:

  • Delay: how far behind the host a viewer is, for the whole time they watch (Mama Yoyo waves, Juma sees it 10 s later).
  • Opening time: from tapping a live to seeing the picture, once, when joining.

The delay, step by step (today, HLS with 4 s pieces). Mama Yoyo waves at 8:00:00.

# Where What happens Today 1 s pieces (step 1) FLV (step 2)
1 Host phone camera → compress 0.2 s 0.2 s 0.2 s
2 Host upload phone → SRS 0.3 s 0.3 s 0.3 s
3 SRS cuts pieces waits until a piece is complete up to 4 s up to 1 s none (continuous)
4 CDN / edge playlist cached a moment ~1 s ~0.5 s ~0.1 s
5 Viewer's player keeps 2–3 pieces in hand, plays that far behind the newest 4–8 s 2–3 s ~1–1.5 s buffer
6 Viewer download → phone 0.3 s 0.3 s 0.3 s
Total 6–12 s 3–5 s 2–3 s

Steps 3 and 5 are the big ones and both grow with piece size; FLV has no pieces.

Timers are separate. The auction ending at 8:05:00 (backend clock) shows "0:05 left" at the right moment even if Juma's video is 6 s late; his bid at 8:04:58 counts. The delay makes the live feel slow; it never makes a deal unfair.

Opening time

Today (HLS, 4 s pieces) With FLV
What happens fetch the piece list → download a whole 4 s piece → start the server sends from the last keyframe at once
Time to picture 1–3 s under 1 s
  • Instant feel (TikTok's trick): in the swipe feed (/live/swipe) the app loads the next live while you watch the current one.
  • Catch-up: after the network stutters the player has fallen further behind (10 s → 20 s) and never comes back by itself. The player plays at 1.1× until caught up, or jumps to now if far behind.

What each delay feels like (why 2–3 s is the target)

Delay Feels like Who uses it
< 0.5 s a phone call, real back and forth video calls; our guests on screen (LiveKit)
1–2 s almost instant some apps on perfect networks
2–3 s ✅ Juma comments "red one!", Mama Yoyo holds up red, he sees it ~3–5 s after typing (with the comment refresh): feels live TikTok, Douyin, Instagram
6–12 s (today) the answer comes after he's moved on: feels like TV old-style streaming
20–30 s a broadcast YouTube's normal setting

Why not lower: the last 1–2 s are the viewer's player keeping about 1 s in hand so it doesn't freeze when the signal wobbles; half-second drops are common on Tanzanian mobile networks, and freezing is worse than 2 s of delay. Only people talking on screen need under 0.5 s, and they have LiveKit.

9.1b Is 2–3 s affordable? The math

Assumptions (to re-check with real numbers): average watched quality about 0.8 Mbps (mix of 720p 1.5 · 480p 0.8 · 240p 0.3) → 0.36 GB per viewer-hour. Prices looked up 2026-11-23: Vultr Johannesburg small server $12/month with 3 TB, extra traffic $0.01/GB; bunny.net CDN Middle East & Africa $0.06/GB. Cloudflare's free / Pro CDN is not allowed for video (their terms: video needs Stream / R2 or Enterprise), and today HLS is still served straight from the SRS box (VP_LIVE_SPEC).

Viewer-hours a month Traffic bunny.net CDN (HLS only, no FLV) SRS edges on Vultr Johannesburg (FLV + HLS)
10,000 (≈ 330 a day) 3.6 TB ~$216 ~$18 (1 server)
100,000 36 TB ~$2,160 ~$300 (3 servers)
1,000,000 360 TB ~$21,600 ~$3,750 (≈ 6 servers)
  • One edge with a 1 Gbps port serves roughly 800–1,200 viewers at once at 0.8 Mbps.
  • Main box → edge traffic is small (one copy of each live per edge).
  • Dar → Johannesburg is about 40–60 ms away: fine for 2–3 s.
  • Result: SRS edges are both the fastest option and about 6× cheaper than a CDN. Start with one edge, add more as viewers grow.

Data paid by people (their phone bundles)

Who Quality Per hour
Viewer 720p / 480p / 240p / listen only ~675 MB / ~360 MB / ~135 MB / ~15 MB
Host sending 3 qualities 720p + 480p + 240p ~1.2 GB
Host sending 1 quality 720p ~675 MB

The host's upload cost matters on mobile data: 3 qualities on Wi-Fi, 2 on mobile data (decided by the backend per phone, as §9.2).

9.2 Quality and data saver

  • The host's phone sends 3 qualities (720p · 480p · 240p); the server only passes them along (no re-encoding); the player switches automatically with the viewer's network. A weak host phone sends 2 or 1; the backend tells each phone what to send.
  • Listen only 🎧 for 2G: the server copies just the sound (cheap, no re-encoding); the product card and Buy stay.
  • Switch "Data saver" in settings: every live starts in low quality.
  • Later, with more servers: the server makes extra qualities for hosts whose phones can't.
Today After step 1 After step 2 (target) TikTok
Delay 6–12 s 3–5 s 2–3 s 2–3 s
Weak 3G buffers 240p, plays 240p, plays plays
2G buffers listen only listen only —
Our server CPU low low low —

9.3 Bad network

✅ Agreed 2026-11-24.

#WhenWhat happens
N1Before going liveThe device check measures the network; weak → "Your network is weak, try Audio live or move to a new location"
N2Host's network gets weakSmall yellow bar for the host: "Weak network, try a new location"; the phone lowers quality by itself (§9.2)
N3Host drops (audio)Listeners see "Mama Yoyo is reconnecting…"; co-host and speakers carry on (server mix, §8A.3); the phone reconnects by itself to the same live (same listeners, post, comments)
N4Host drops (video)Picture freezes + "Reconnecting…" for 2 minutes, comments stay open; back in time → continues; not back → ends normally
N5Host away long (audio)No limit while a co-host is there; the co-host can end it. No co-host and no speakers → ends after 2 minutes
N6Money tools while the host is awayRunning drops (coupon, flash price, auction) keep running on the backend clock; no new drops until the host is back
N7A speaker's network is weak⚠️ on their photo for the host: "Juma's network is weak"; the host can move Juma back to listener
N8Ended by accidentWithin 10 minutes the host gets "Continue your live": reopens the same live; listeners still around get "Mama Yoyo is back"
N9A viewer or listener's network is weakThe same small yellow bar: "Weak network, try a new location" (owner 2026-11-24); for video also a one-tap Listen only 🎧

Example: 8:20 pm Mama Yoyo's network drops in her Audio live → Neema and Juma keep talking, 300 keep listening → her coupon drop keeps running, Neema can't start a new one → 8:21 she's back: "Mama Yoyo is back". Meanwhile Asha on the bus gets the yellow bar "Weak network, try a new location".

10. Safety

✅ Agreed 2026-11-23.

Today: host can mute a person and turn on slow mode; only accounts 18+ and 3 days old go live; posts have reporting (reasons list + admin review: PostReportEntity, ReportReason); lives have no reporting, and with no recording there is no evidence afterwards.

TikTok YouTube Instagram NexGate
Report a live ✅ ✅ ✅ ✅ + a picture + last 5 min of comments
Moderators chosen by the host ✅ (up to 20) ✅ ❌ ✅ up to 10
Host's blocked words ✅ ✅ ✅ ✅ up to 100 + NexGate's list
Hold risky comments ✅ ✅ — ✅ phone numbers and links
Mute for a time ✅ ✅ — ✅ 1 min · 5 min · whole live
Automatic video checks ✅ ✅ ✅ later
Platform stops a live / bans ✅ ✅ ✅ ✅

S1. Report a live. ⋯ → Report → a reason (the same list as posts). At that moment the backend grabs one picture from the video (a single frame from SRS, cheap) and the last 5 minutes of comments; admin sees what the reporter saw.

S2. Automatic pause. 5 reports from different people within 2 minutes (more in big rooms, scaled with viewers; the number is a setting) → the live is paused ("This live is being reviewed") until admin lets it continue or ends it. Only accounts at least 3 days old count, so fresh accounts can't kill a rival's live.

S3. Moderators chosen by the host. Up to 10; they can mute, remove from live, hold or delete comments; they can't start deals, end the live or see money. Shop lives: the owner picks staff, only through the shop terminal (team rules).

S4. Word filter.

  • NexGate's list (insults, scam words like "send money to this number") always applies.
  • The host's own list, up to 100 words.
  • A filtered comment is shown only to its writer.
  • Phone numbers and links are held for the host or moderators to approve (stops "call me for cheaper" scams).

S5. Mute, remove, block. Mute 1 min · 5 min · whole live; remove from the live (T4); block = never watches this host again.

S6. Admin. End any live now; ban from going live 1 day · 7 days · 30 days · forever; every action in the admin audit log. Under 18: can watch, can't send gifts, can't join on screen.

Later: automatic video checks (a machine looks at pictures for nudity etc.); costs CPU or a paid service.

11. After the live

✅ Agreed 2026-11-23. Brings together §7.3 (sales numbers), gifts, reactions, polls, questions and "Book again".

TikTok YouTube Instagram NexGate
Summary right after ending ✅ ✅ ✅ short ✅ everything in one place
Viewers over time graph ✅ ✅ ❌ ✅ with markers for what the host did
Where viewers came from ✅ ✅ ❌ ✅
Average watch time ✅ ✅ ❌ ✅
History of all lives ✅ ✅ ❌ ✅ My lives

A. Host's end screen (right after End)

Your live · 1 h 05 min 👀 410 at the peak · 1.2k watched · average 6 min each · +38 followers 🛍 14 orders · 230,000 TZS · best: Kanga red (30 taps → 8 orders) 🎟️ Coupon drop 20 → 9 used · 👥 Group 10/10 ✅ · 🔨 Watch sold 25,000 🎁 38 gifts · 54,000 in gift balance · top fan: Neema 🔥 most reactions · 📊 Poll: Blue 55% · ❓ 6 questions not answered → [Reply in chat] [Book again next Friday 8 pm?] [See full numbers]

Money for the shop owner / personal host only (staff and other people's products: counts, §7.3).

B. Full numbers (My lives → that live)

  1. Viewers per minute graph with markers: "8:20 coupon drop → +80 viewers", "8:40 flash price → 5 orders" (from heartbeats; no video needed).
  2. Where viewers came from: Live feed · Swipe · notification · a post with the live · profile · shared link · followers (the app says where the tap came from, like the sales link).
  3. Products: taps → orders → money, per product.
  4. Refunds subtracted later.

C. Viewer's screen when a live ends

Live ended · [Follow Mama Yoyo] (if not yet) Next live: Friday 8 pm [Remind me] (if booked) Live now: 3 lives he might like (from /live/now)

"From my last live": the pinned products stay in a row on her profile / shop for 24 h; late buys still count for the live (§7.3).

D. Kept

What Kept
Summary and numbers of each live forever (a few rows per live)
Viewers-per-minute graph forever (one number per minute)
Comments, questions 6 hours, then gone
Video never recorded

12. Open questions waiting for the owner

None right now. Q1 and Q3–Q9 (live row, post stays after the live, owner's personal followers, shop reasons and weights, staff tools, group buy rules, others can pin my products, reminder choices) were all agreed on 2026-11-23.

# Question Answer
Q1 Live row above the home feed? yes
Q3 Post stays after the live ends, ranked lower? yes
Q4 Owner's personal followers not notified when she goes live as the shop? yes
Q5 Shop live reasons and weights (§3.3) as in the table
Q6 What staff can do while live (§5.2) as in the table
Q7 Group buy rules (§7.2) as listed
Q8 "Others can pin my products in their lives" shop switch yes, on by default
Q9 Reminder choices (§4.1): 24 h · 1 h · 15 min · at start; tick more than one; default 24 h + 15 min; at start always on as listed
Q10"Is live" push to followers + mutual friends, recommended people only in the Live feed (2026-11-24)yes
Q11No push at booking time, only the post (2026-11-24)yes
Q12Switch after booking: off → on makes the post; on → off only while nobody waits (2026-11-24)yes
Q13Booking post may have an empty caption (2026-11-24)yes
Q14Merge radio + Spaces into Audio live, remove Spaces (2026-11-24)yes
Q15Audio live: A1–A8, X1–X12, Y1–Y10, server mixing (2026-11-24)yes
Q16Bad network N1–N9, yellow bar for host and viewers (2026-11-24)yes
Q17Gifts to any speaker or co-host (2026-11-24)yes
Q18One create form for video and audio with a Stage part; pick co-hosts and speakers in the form (2026-11-24)yes
Q19Speaker link only after the live is created (Booked screen, My lives, in the live); opening it = accepting (2026-11-24)yes
Q20Live invites copied from group invites; delivery push + invites list (2026-11-24)yes
Q21"Who can invite me to a live": everyone / contacts only / nobody, default contacts only, replaces "Allow live invites" (2026-11-24)yes
Q22Every tool on both kinds, shown differently: video = see it, audio = hear it then see it (sound + lock-screen line + host "say it out loud" hint) (2026-11-24)yes

13. What the backend needs

For everything agreed (all topics discussed by 2026-11-23).

13.1 Keep as is

  • Going live: create, ingest key, end, SRS callbacks publish / unpublish.
  • Comments: post, read, mute, slow mode (read changes: built once every 2 s, served from memory to signed-in viewers, §Rules).
  • Pins: attach, list, pin, unpin, remove, tap.
  • Discovery: GET /live/now, POST /live/now/open, POST /live/streams/{id}/watching.
  • Remind me: PUT /live/streams/{id}/reminder (gains the lead choices, §4.1).

13.2 Change

What Change
Create a live + co-hosts and speakers picked in the form (invites sent on create) + who can ask to speak + new speakers start muted; + as (me / which shop); + let people get reminded (on by default) + caption: on → the backend makes the post (caption + live attached) in the same step; + booking rules (15 min – 30 days, 5 waiting per person and per shop, 2 h apart, one live per person and per shop)
Stream modeAUDIO_RADIO becomes Audio live with a stage: server mixing (LiveKit → SRS, from Spaces), roles host / co-host / speaker / listener, seats 8 allowed / 5 now
Stream + shop (null for a person's live); + hosted by (the staff member, for a terminal live)
Reminder + the chosen leads (ReminderLead set)
Create a post + accepts a live attachment (an added optional field; post_streams table like post_events); the post answer gets an optional live attachment with its statestate, banner, title, description and "friends waiting" read at serve time
"Is live" pushto followers + mutual friends (shop: shop followers); recommended people none; remind-me people only once
Coupon + only people watching switch; + grab limit
Playback address now carries a play token (short-lived, account + phone), checked by SRS / edges at start (§Rules)
SRS HLS pieces 4 s → 1 s; FLV to viewers through SRS edges; three qualities from the host phone; listen-only sound copy (§9)
Shop settings + Others can pin my products in their lives (on by default)

13.3 New

Topic Endpoints
My lives GET /live/mine?status=&as=: personal and all my shops' lives (including staff-hosted), each with as, title, cover, status now (scheduled / live / ended / cancelled), when, numbers, and buttons decided by the backend
Someone's lives GET /live/people/{accountId}, GET /live/shops/{shopId}: upcoming + live now only, with Remind me or Watch
Scheduling edit · cancel · who is waiting (host only) · book again · switch "let people get reminded" after booking (off → on makes the post; on → off only while nobody waits, deletes the post)
Live feeds GET /live/swipe (next few, in order, for preloading) · kind=SHOP filter on /live/now and /live/swipe
Coupon drop drop · change (add people, add time, stop) · grab · hold time from a fixed list · "ends in 1 h" reminder
Ticket live "Stream on NexGate Live" on online / hybrid events (live booked from the event, moved / cancelled with it) · watch only with a valid online ticket, one phone at a time · watching = check-in
Live gifts admin list (key, name, icon, price, order, on/off) · send (wallet → host's or shop's gift balance, daily limit) · top fans · event with the key for the animation
Auction start (start price, step, time, lowest price) · bid (top bid held in escrow, outbid released) · cancel · end → order or ticket for the winner
Bargain turn on per pinned product (lowest price optional) · offer · counter / accept / no · accepted = personal offer with 15 min to pay
Flash price start · change (lower, add pieces, stop) · hold a piece at checkout 10 min; checkout and quotation use the flash price
Free delivery a shop delivery campaign with audience "from this live" (start, stop); quotation checks the §7.3 link
Sales numbers optional "from live" on product orders and ticket purchases (24 h after the tap, last live wins; coupon / group buy always) · live summary for the host (counts; money for the shop owner only) · "from other people's lives" in shop reports
Group buy start (host, no seat bought) · change (add time, lower price, give through); joining uses the existing checkout; tickets with seats, several seats per person
Instalments pinned card shows the product's existing plans (no new tool)
Guests and co-hosts request · invite (watching / search, connected people only) · accept / ignore / remove / block for this live / requests off · seats (5 allowed, "seats now" from the backend) taken in one safe step · "Allow live invites" setting · LiveKit room tokens for people on screen
Reactions send (batched, fixed LiveReaction list, 15/s per person) · mix for the last 2 s with the comments · host totals
Joins up to 10 per 2 s with facts (host follows, top fan, friend of you) + count · "Show when I join a live" setting
Who's watching count + top 3 fans for everyone · full list for host / co-hosts (bought mark) · mute / remove from the list
Polls start (2–4 options, products allowed, 1 · 2 · 5 min or open) · vote once · end · result into the summary
Questions ask (linked to the pinned product) · Me too · answer now / done · unanswered after the live
Safety report (picture + last 5 min of comments) · auto-pause and admin continue / end · moderators (up to 10) · word filter (NexGate + host list) · held phone numbers and links · mute 1 / 5 min / whole live · block · admin end live and ban from going live · under-18 limits
After the live end summary · viewers per minute with event markers · where viewers came from · per product numbers · viewer's end screen · "From my last live" row 24 h
Data saver qualities per phone decided by the backend (Wi-Fi 3, mobile data 2) · listen-only address
Live invitessend (form, My lives, in the live) · my invites list · accept / no thanks · withdraw · states pending / accepted / declined / expired / withdrawn · 20 a day · picker search only returns people the setting allows · "cannot be invited" message (same as groups)
Privacy setting"Who can invite me to a live" (EVERYONE / CONTACTS_ONLY / NOBODY, default contacts only), next to the group one; replaces "Allow live invites"
Audio stagewho can ask to speak · requests · invite (accept / no thanks) · speaker link (after create; opening = accepting; blocks apply) · mute (never unmute others) · ✋ next · back to listener / remove · pin a comment · send listeners to another live
Bad networkhost reconnect to the same live · 2 min grace (video) · co-host carries on (audio) · "Continue your live" within 10 min · speaker weak-network flag
Gifts+ send to a speaker or co-host
Staff from the terminal go live for the shop · hand over to another staff member · the NexGate Shop app's allowed paths (team rule 2)

The composer's + Live picker uses /live/mine?status=upcoming,live. To attach someone else's live, the person starts from that live (its card or page → Share as post).

13.4 Live events on screen: real time through Centrifugo

✅ Agreed 2026-11-23 (owner: "we need it").

  • Sending = API (as today and as TikTok): comment, vote, bid, ask, grab, join… each checked properly (signed in, money, one vote) and safe against double taps.
  • Receiving = push. Each watching phone keeps one open connection to Centrifugo (a small open-source server built only for real-time delivery; handles hundreds of thousands of connections on a small server; checks our sign-in tokens). The backend decides everything and tells Centrifugo "send X to this live's room"; Centrifugo only delivers, about every 0.3 s.
  • One channel per live carries everything: comments, reactions, joins, poll results, questions, coupon counts ("20 left"), group buy ("7 of 10"), auction bids, timers, pins, "live paused".
  • Events stay a key + an id, never display text, as pins do today.
  • Connection drops (weak network) → the app falls back to asking every 2 s until it reconnects; nothing is lost.
  • Cards can arrive before the video shows the host saying it (video is 2–3 s behind): harmless; timers follow the backend clock.
  • Example: Juma taps Bid 22,000 → API checks and holds it → the backend pushes "Juma 22,000 · 0:08" → all 300 phones see it in under half a second.
  • New infrastructure: Centrifugo runs on the box (later next to the SRS edges); Redis lets several backend copies publish to it. Later it can also carry the feed's live counts and calls / meetings events.
Today After
Others' actions reach me up to 2 s (asking every 2 s) under 0.5 s (push)
Requests with 1,000 viewers and nothing happening ~500 a second ~0 (open connections, quiet)
Auction last seconds can be 2 s late fair and instant

13.5 Notifications (each one also goes into the notification workbook)

ReminderLive is now (followers + mutual friends) · live invite (speaker / co-host / guest) · invite accepted / declined (to the host) · invite withdrawn · speaker "get ready" 15 min · "Live now · join the stage" · moved / cancelled to invited people · "Mama Yoyo is back" · "Continue your live" · "sent you to Duka la Asha's live" · reminder 24 h · reminder 1 h · reminder 15 min · host "get ready" · moved · cancelled · "book again" after the live · grabbed coupon ends in 1 h · co-host invite · ticket live starts in 15 min · live summary ready · your live was paused / ended by NexGate · banned from going live.

13.6 Sale origins (shared, not only live)

Agreed 2026-11-23: where a sale came from is kept in one new table, not as columns on orders, because it will also be used for sales from feed posts, reels, events, shared links and more.

  • One row per purchase that came from somewhere (most purchases have none): which purchase (product order or event booking order + its id) · from where (SaleOriginKind, VARCHAR: LIVE first; later POST, CLIP, EVENT, SHARE_LINK, CHAT) · which one (stream / post / clip / event id) · whose it was (the account that brought the buyer, kept even if the post is deleted later) · when tapped · when bought.
  • The tap is remembered by the backend, not carried by the app: tapping a product or ticket from a live / post / reel notes "this person, this product, from here, at this time" for 24 hours (Redis, expires by itself). At payment the backend looks it up and writes the row. The last place tapped wins.
  • Existing order tables and responses stay unchanged; reports ("orders from my live", "4 orders came from Juma's post") read this one table.

13.7 Remove

Spaces (chat_system/space_mng, /api/v1/live/spaces) once Audio live has its stage · SRS recording (dvr) + the on_dvr callback · the replay service + its File Thunder contexts (STREAM_VIDEO, STREAM_AUDIO) · the states PROCESSING, REPLAY_READY, FAILED.


14. Research sources (read 2026-11-23)

Some sources disagree on details (follower minimums, replay days, flash-sale limits). Good for ideas; check again before copying an exact rule.


Change log

Version Date What
0.1 2026-11-23 First write-up: today's state, no recording, live feeds, scheduling, shop live, staff via terminal + Shop app, anyone shows / only the shop sells, coupon drop, group buy proposal, open questions; a live on a post is an attachment type, anyone can attach anyone's live, share-as-post is an app shortcut; viewer picks reminder times from a fixed list; §13 what the backend needs; Q1, Q3–Q9 agreed (group buy rules, staff tools, shop reasons, reminder choices); full money tools list M1–M14; M10, M13, M14 not now; every tool for products and tickets except instalments; M3 sales numbers agreed (§7.3); coupon drop hold time picked by the owner; M4 free delivery agreed (§7.4); one shared sale origins table for live, posts, reels, events (§13.6); M5 flash price agreed (§7.5) with the "only people watching" switch, sizes and colours; M6 bargain live agreed (§7.6); M8 instalments agreed (§7.7); M7 live auction agreed (§7.8); M9 live gifts agreed (§7.9): gifts land in the gift balance; M11 ticket live agreed (§7.10); M12 paid live not needed; group buy tickets side agreed (§7.2); money tools list finished; taking part T1–T7 needed, T8 not; T1 guests and co-hosts agreed (§8.1), mixed on the host's phone; seats decided by the backend (5 allowed, 3 now), full screen checked when someone goes on, comparison table; T2 reactions the YouTube way (§8.2); T3 joins delivered by the backend, shown by the app (§8.3); T4 who's watching + three ways onto the screen (§8.4); T5 polls with product options (§8.5); T6 questions with Me too (§8.6); T7 battles not needed; §9 speed and data saver: target 2–3 s (1 s HLS pieces, then FLV via SRS edges), host phone sends 3 qualities, listen only, timers on the backend clock; delay breakdown, opening time, catch-up, cost math (SRS edges ~6× cheaper than a CDN), what each delay feels like; §10 safety agreed (report with a picture + comments, auto-pause, moderators, word filter, held phone numbers and links, admin bans, under-18 rules); every live endpoint and the video itself need a signed-in account (play token), shared link preview; §11 after the live agreed; §13 complete; real time through Centrifugo (sending by API, receiving by push, fall back to asking every 2 s); "your friends are watching" on every live card (§3.2a)
0.22026-11-24Booking refactor (owner): switch "Let people get reminded" (on by default) replaces "no private bookings"; on → the backend makes a normal post (caption + live attached), no push at booking; off → private booking, only the host's get-ready; switch can change after booking (on → off only while nobody waits); "is live" push to followers + mutual friends, recommended people only in the Live feed; form: profile dropdown (me / shop), Now / Later; banner, title, description belong to the live and show in the card, separate from the post caption; "your friends are waiting" on the scheduled card; Q10–Q13
0.32026-11-24Audio live (§8A): radio + Spaces merged, Spaces removed, private talk = group calls; audio has every video tool; A1–A8 (screen off, 8 seats, glow, sound on drops, 30 s sound in reports); server mixes audio; handling people X1–X12 and Y1–Y10 (co-hosts, who can ask to speak, never unmute others, speaker link, send listeners on); gifts to speakers; §9.3 bad network N1–N9 incl. yellow bar "Weak network, try a new location" for host and viewers; Q14–Q17
0.42026-11-24§8A.1 radio vs Spaces table + which to use; §8A.2 how every tool shows in audio; §8A.4 comparison with X Spaces, Clubhouse, Discord, Telegram + lessons + example; §8A.6 one create form for video and audio (Stage part); §8A.7 pick co-hosts and speakers in the form, speaker link only after create; §8A.8 live invites copied from group invites (how groups work today, comparison, what happens after the invite); §8A.9 "Who can invite me to a live" (default contacts only) replaces "Allow live invites"; §8.1, §8.4, §12 Q18–Q21, §13, §14 updated
0.52026-11-24§8A.10 every tool on both kinds side by side (selling, taking part, safety, network, after): video = see it, audio = sound + lock-screen line + card; host "say it out loud" hint; sound limits; same backend for both; coupon drop example both ways; Q22 ; §8A.6a drawings: Booked screen, My lives, the invite, inside an Audio live, host's Stage panel, lock screen, weak network bar