How to build a tutoring and doubt-solving video call app

A tutoring and doubt-solving video call app needs four things from its calling layer: calls that hold up on a student’s budget phone and mobile data, a session that ends on time, a way to make sure only the booked tutor and student are in it, and a bill you can predict. At the list price a 10-minute video doubt call costs ₹4.00 ($0.046) in call minutes, and ₹1.00 on voice. You can make the first call with just an App Key and no backend.

The product page for this use case is tutoring and edtech. This guide goes deeper: the architecture, the money, the setup and the safety questions a tutoring app has to answer.

The architecture: who does what

A tutoring app has two kinds of users and one scarce resource. Students come with a question, tutors sell their time, and your app’s job is to put the right two in a call quickly and charge for it fairly. Keep the business in your own systems and let the calling layer do one job.

PartRuns whereWhat it does
Student appAndroid phone (mostly), iPhone or browserAsks a doubt, picks or waits for a tutor, joins the call, sends photos of the problem.
Tutor app or webPhone or laptop browserGoes online, accepts doubts, teaches on camera, ends the session.
Your backend (optional at first)Your serversTutor profiles and verification, the matching queue, bookings, the student wallet, tutor payouts. Later: the Titli project key and server tokens.
Titli callsMedia servers in IndiaLive audio and video, adapted to each phone’s network. Nothing is recorded.
Titli Chat (optional)Same accountHomework photos, worked steps, voice notes, presence and call invites.
WebhooksTitli to your backendSigned events, including the call-ended event with a receipt of the exact connected seconds.
  1. Student appAsks a doubtPicks a subject, adds a photo of the problem, and chooses voice or video.
  2. Your app or backendFinds a tutorOffers the doubt to an online tutor in that subject, or lets the student pick one.
  3. Student app → TitliStarts the callIn Quick mode the student’s app starts the call with the App Key. With server tokens, your server creates it.
  4. Your appTells the tutorSends the call id to the tutor as a push or a chat call invite. The tutor taps Accept and joins.
  5. Both appsThe sessionBilling starts when the second person connects and stops when fewer than two remain. The call ends at its time cap or when someone hangs up.
  6. Titli → your backendSettlesThe call.ended webhook carries the signed receipt. Charge the student and pay the tutor from it.

Matching a student to an available tutor

Matching is the heart of a doubt-solving app and it is your code, not ours. A design that works at small and medium scale:

  • Tutor presence. A tutor taps “Go online” in the tutor app. Keep that state in your database, or use Titli Chat presence (online status and last seen) if you already use the chat SDK. Show students only tutors who are online and free.
  • Two ways to match. Let the student pick a tutor from a list (ratings, subjects, languages such as Hindi or English), or offer an “Ask now” button that hands the doubt to the next free tutor in that subject. Most apps offer both.
  • Offer with a timeout. Send the doubt to one tutor at a time with a short timeout, for example 20 seconds, then move to the next. Sending it to everyone at once makes tutors race and leaves most of them annoyed.
  • Deliver the call id. In Quick mode the student’s app starts the call and gets a call id; your app sends it to the chosen tutor as a push notification or a chat call invite, and the tutor’s app joins it. An unanswered call costs nothing, because billing only runs while two or more people are connected. After everyone has left, the call stays open for 30 seconds and then closes.
  • Mark the tutor busy when they join and free again when the call ends, so they are not offered a second doubt mid-session.

For scheduled classes the flow is simpler: the booking already pairs one tutor with one student, and the call is started at the booked time from the booking screen.

Per-minute vs per-session pricing: the maths

Titli bills you per participant-minute: every person connected for one minute is one participant-minute, billed per second, only while two or more people are connected. List prices are ₹0.20 for video and ₹0.05 for audio per participant-minute ($0.0023 and $0.00057 on USD accounts), with no setup or monthly fee. Here is what common tutoring sessions cost you.

SessionParticipant-minutesVideo (INR)Voice (INR)Video (USD)
One 10-minute doubt call, 1:12 × 10 = 20₹4.00₹1.00$0.046
One 60-minute class, 1:12 × 60 = 120₹24.00₹6.00$0.276
One student’s month: 12 classes of 60 minutes1,440₹288₹72.00$3.31
A group class: 6 people for 60 minutes6 × 60 = 360₹72.00₹18.00$0.828
An app’s month: 200 doubt calls a day for 30 days1,20,000₹24,000₹6,000$276.00

Now put that next to what your app charges. The prices below are examples; you set your own, and the money never passes through Titli.

Model (example prices)Student paysYour calling cost (video)Share of revenue
Per minute: ₹8.00 a minute, 10-minute doubt₹80.00₹4.005%
Per session: ₹199 for a 60-minute class₹199₹24.0012.1%
Group: 5 students × ₹99.00, one tutor, 60 minutes₹495₹72.0014.5%

Three things follow from these numbers. Per-minute pricing fits doubts: nobody knows whether a doubt takes three minutes or fifteen, and a per-minute rate is fair to both sides. Per-session pricing fits classes: a student booking a 60-minute slot wants one price, and your cost is fixed by the slot length. Groups cost more per minute but less per student: every connected person counts, the tutor included, so a group of 6 uses 6 participant-minutes a minute, yet the cost per paying student is ₹14.40 for the hour. Payment gateway charges and taxes on your own sales are separate and not shown. Try your own numbers in the pricing calculator, and read per-minute pricing explained for the general rules.

Your prepaid balance pays for all of it. The smallest recharge, ₹500 by UPI or bank transfer, covers 125 video doubt calls of 10 minutes.

A wallet or credits for students

If students pay per minute, keep a wallet in your app: they recharge by UPI through your payment provider, and each doubt call is paid from it. Three rules keep it honest:

  • Cap the call at what the wallet can pay. With ₹200 in the wallet and a tutor at ₹8.00 a minute (example), the student can afford 200 × 60 ÷ 8 = 1,500 seconds, which is 25 minutes. Your server creates the call with that time limit and it ends by itself at that point.
  • Charge from the receipt, not from the phone. The call.ended webhook carries a signed receipt with connected_seconds and free_seconds. Debit the student and credit the tutor from those numbers.
  • Credits are just a wallet in another unit. A “10 doubts for ₹499” pack (example) is a balance of 10 credits; deduct one per completed doubt from the receipt, and refund it if the call never connected.

The ledger design, holds, rounding and refunds are covered step by step in Designing a user wallet for per-minute calls.

Quick mode: add your App Key, make a call in 5 minutes

No backend needed: add your App Key in the app and start calling. A server is optional, for production hardening.

  1. Get your App Key. In the console, open Projects → Quick mode and add your app's package name (Android) and bundle ID (iOS). Your App Key is shown there.
  2. Install the package from pub.dev (the console download is only a fallback).
    terminal
    flutter pub add titli_video_sdk
    
    # or in pubspec.yaml
    dependencies:
      titli_video_sdk: ^0.2.0
  3. Init with the App Key, then start or join a call. That is all: no server, no tokens.
    lib/main.dart
    import 'package:titli_video_sdk/titli_video_sdk.dart';
    
    // 1. Once, at app start: your App Key and your own user id. No server needed.
    await TitliVideo.init(appKey: 'tak_…', userId: 'user-42', userName: 'Asha');
    
    // 2. Start a video call (you are the caller and the payer)...
    final call = await TitliVideo.startCall(type: TitliCallType.video);
    // share call.callId with the other person your own way (push, your chat, Titli Chat)
    
    // 3. ...and on the other phone, join it.
    await TitliVideo.joinCall(callId);

The App Key is publishable, not a secret: it can only reach the app-facing routes, it is bound to your package name, bundle ID or website, and spend and usage caps fence it. The binding is a deterrent, not a lock (a determined attacker can copy an app's identity), so the caps are what limit the damage. For strict control, add server tokens (production hardening below). Quick mode: bindings, caps and error codes · Read the Client API (Quick mode).

Quick mode notes for a tutoring app

  • Use your own ids. Init the SDK with your own student or tutor id as the user id, for example st_5d21c0, not a phone number.
  • Who starts the call. For instant doubts the student’s app usually starts the call and sends the call id to the tutor. For scheduled classes either side can start it from the booking. In Quick mode the caller is the payer of record for free seconds; your Titli balance pays for every call.
  • Set the caps in the console. Under Projects → Quick mode set the longest call (for example the length of your longest slot), the minutes each student may use per day, and the daily spend cap. These protect your balance while you have no server.
  • Voice or video. Start doubt calls with TitliCallType.audio when the student chooses voice, and video otherwise. Switching mid-session means ending one call and starting another.
  • Same key on the web. Tutors on a laptop join with the web SDK and the same App Key, once the website is added to the key in the console.

Production hardening (optional): server tokens

You do not need a server to start: Quick mode works with the App Key alone. Add a server when you want strict control over every call (who joins which call, for how long, in which role): keep the project key on your server and mint a short-lived join token per person there. The app uses the same SDK and hands it a token instead of the App Key. Both ways can run side by side.

For a tutoring app the server earns its place in three ways: only the booked tutor and student can join, the session length comes from a source the student cannot edit, and money moves only from a signed receipt. The project key stays on your server; the apps receive one short-lived join token each.

terminal
API=https://api-videosdk.titliapp.com
AUTH="$TITLI_KEY_ID:$TITLI_KEY_SECRET"   # server only, never in the app

# 1. Before booking: can this student start a call? (free seconds, can_start_call)
curl -s -u "$AUTH" $API/v1/end-users/st_5d21c0

# 2. One call per booked session, capped at the slot length (30 minutes = 1800 seconds).
curl -s -u "$AUTH" -H 'Content-Type: application/json' \
  -d '{"type":"video","payer_end_user_id":"st_5d21c0","max_duration_seconds":1800}' \
  $API/v1/calls
# -> { "id": "<call_id>", "status": "created", ... }

# 3. One token for the booked student and one for the booked tutor, minted when each taps Join.
curl -s -u "$AUTH" -H 'Content-Type: application/json' \
  -d '{"end_user_id":"st_5d21c0","role":"user","name":"Student","ttl_seconds":120}' \
  $API/v1/calls/<call_id>/tokens
curl -s -u "$AUTH" -H 'Content-Type: application/json' \
  -d '{"end_user_id":"tu_83ab17","role":"host","name":"Tutor","ttl_seconds":120}' \
  $API/v1/calls/<call_id>/tokens

# A parent sitting in (room size raised for your account on request): one more token for the same call.
curl -s -u "$AUTH" -H 'Content-Type: application/json' \
  -d '{"end_user_id":"pa_19e7f2","role":"user","name":"Parent","ttl_seconds":120}' \
  $API/v1/calls/<call_id>/tokens
  • Lock each session. A token is valid for one call and one end_user_id. Mint it when the person taps Join, with a short lifetime (here 120 seconds; the default is 10 minutes). The lifetime limits when someone can join, not how long the session lasts.
  • Cap the length. max_duration_seconds (10 to 86400) is set when the call is created: the slot length for a class, or what the wallet pays for in a per-minute doubt call. The server ends the call at that many connected seconds.
  • Check before you book. GET /v1/end-users/{id} tells you the student’s free seconds and whether a call can start on your account right now (can_start_call). If it cannot, the fix is on your side, such as recharging your Titli balance.
  • One identity, one connection. If the same id joins from a second device, the older connection is dropped, so a student cannot pass a session on to a friend’s phone while still in it.

Your backend can also end things itself:

terminal
# The tutor taps "End session" in your app: close the call for everyone, then keep the receipt.
curl -s -u "$AUTH" -X POST $API/v1/calls/<call_id>/end
curl -s -u "$AUTH" $API/v1/calls/<call_id>/receipt

# Someone is in the session who should not be: disconnect that one participant.
curl -s -u "$AUTH" -X POST $API/v1/calls/<call_id>/participants/<end_user_id>/remove

Every field is in the REST API reference, and signature checks for the webhook are in Webhooks and signed receipts.

Weak networks and low-end devices

Your students are not on office Wi-Fi. They are on a shared family phone, often an entry-level Android, on 4G that slows down every evening between 7 and 10, exactly when homework happens. Design for that first.

  • Voice first for doubts. Offer “Ask on voice” as the default for quick doubts. It costs a quarter of video and survives networks where video cannot.
  • Video adapts. Video goes up to 720p and steps down with the network. Adaptive streaming sends each phone only what it can show, which also saves battery and data.
  • Short drops are absorbed. The SDKs report a reconnecting state while they recover. If everyone drops, the call stays open for 30 seconds and a quick rejoin continues the same call. Nothing is billed while fewer than two people are connected.
  • Give a rejoin button. When the network does not come back in time, let the student rejoin from the doubt screen: a fresh token for the same call if it is still open, or a new call if it has ended.
  • Show the notebook well. Ask tutors to hold the page close to the camera in good light and steady. A sharp still page reads better on a weak link than a moving one.
  • Keep the app light. Do not run heavy animations on the call screen; on a phone with little memory they compete with the video decoder. Test on the cheapest phone your students actually use.

Child safety and parents

Many tutoring students are minors, so be clear about what the calling layer does and what it does not.

ConcernWhat Titli gives youWhat your app must do
Who can enter a sessionCalls inside your app only, never a public link. With server tokens, one token per person and per call, and they expire.Decide who is booked, and mint tokens only for them.
Who the tutor isNothing: Titli sees only the ids and display names you send.Verify tutors, run background checks for anyone teaching minors, and keep the records.
Parents watchingA room size above two, on request (up to 50), so a parent can join the same call from their own phone.Offer a “Parent can join” option and mint the parent a token.
Reports after a sessionChat reports and bans, and the ability to remove a participant or end a call from your server.Run a report button, a review process and a ban policy.
Evidence of what was saidNo recording. Metadata only: which id joined which call and for how long.If your policy requires recordings, this API cannot provide them.

Two simple rules help: keep all tutor–student contact inside your app (calls and chat), and send pseudonymous ids rather than a child’s name or phone number. Child-protection and data-protection rules differ by country and by what your app does; check them with your own advisers before launch.

What Titli does not do

  • No recording. Sessions are never stored, so there is no class replay from this API.
  • No whiteboard or screen share. Camera and microphone only. Use the camera for the notebook and chat for worksheets.
  • No large lecture broadcast as a self-serve API. Rooms hold 2 people by default and up to 50 on request, which fits small batches, not a lecture for thousands.
  • No HD above 720p, no calls to phone numbers, no uptime SLA.
  • No money handling. Titli never collects from your students and takes no share of your fees. Card payment for your own Titli balance is not available yet; Indian accounts pay by UPI or bank transfer.
  • Concurrency. A new account can run 5 calls at the same time. 200 doubt calls a day spread over the evening may need more at peak; ask support to raise it before launch.

Frequently asked questions

Do I need a backend to build a tutoring video call app?

Not to make calls. With your App Key the student and tutor apps can start and join calls with no backend, which is enough for a prototype or a free doubt-solving feature. Add a server (production hardening) once students pay per minute or are minors: then your server decides who may join each session and how long it runs.

What does a 10-minute doubt call cost?

A student and a tutor for 10 minutes is 20 participant-minutes: ₹4.00 on video ($0.046 on a USD account) and ₹1.00 on voice ($0.0114). Billing is per second and only while both are connected.

Should I charge students per minute or per session?

Per minute suits instant doubt solving, where nobody knows how long a doubt will take. Per session suits scheduled classes and packages. Many apps use both: per-minute doubt calls from a wallet, and fixed-price classes. Your calling cost is per minute either way.

Can a tutor share a screen or use a whiteboard?

Not today. Titli carries camera and microphone. Tutors show a notebook or a textbook to the camera, and worksheets, photos and PDFs go through chat.

Are tutoring sessions recorded?

No. Titli has no cloud recording. Audio and video pass through the media servers in real time and are not stored, so a session cannot be replayed later by you or by us.

Can a parent join a child’s tutoring session?

Yes, if your account’s room size allows more than two people. Support raises it on request, up to 50. With server tokens your server mints the parent a token for the same call; the parent is billed like any other participant.

Will calls work on budget Android phones and mobile data?

They are built for it: video adapts down, voice keeps going when video cannot, the media servers are in India, and a drop shorter than 30 seconds continues the same call. Test on the cheapest phone your students use before launch.

Does Titli verify tutors or check them for child safety?

No. Verifying tutors, background checks for anyone who teaches minors, parental consent and your safeguarding policy are your app’s responsibility. Titli carries the call and gives you the tools to control who joins it.

Next steps

Free SDK. Pay only for the minutes you use.

Create a free account: it starts with ₹100 welcome credit, about 250 minutes of 1:1 video, so your first call needs no recharge. Questions? Message us on WhatsApp and a person replies.

Start free