לאפליקציות
שידור חי לאפליקציה שלכם
API ו-SDK לשידור חי עבור Next.js, Laravel, Django וכל stack אחר. מנחה עולה לשידור מהדפדפן, מהטלפון או מ-OBS, שרתי המדיה שלנו מעבירים את התמונה לכל מי שצופה, והנגן עם הצ׳אט שלו מוכן לשימוש, כך שאין לכם שרת מדיה להפעיל.
התמחור הטוב ביותר ל-WebSockets, שיחות אחד על אחד ללא הגבלה עם שרתי TURN ברחבי העולם, ושיחות קבוצתיות ושידור חי עם מכסה כלולה. החל מ-$11.99 לחודש עבור 1,000 חיבורים בו-זמניים, בחיוב שנתי, או $14.99 בחיוב חודשי.
צופים מעבר לתוכנית שלכם: $0.20 לכל 1,000 דקות.
Next.js בשרת ו-React בדף.
export async function GET( request: Request ) {
const me = await currentUserId(); // null for a visitor
const id = new URL( request.url ).searchParams.get( 'id' )!;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
} );
return Response.json( { token } );
}app.get( '/api/stream-token', async ( req, res ) => {
const me = userOf( req ); // null for a visitor
const { id } = req.query;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
} );
res.json( { token } );
} );import { createServer } from 'node:http';
createServer( async ( req, res ) => {
const url = new URL( req.url, 'http://localhost' );
if ( url.pathname === '/api/stream-token' ) {
const me = userOf( req ); // null for a visitor
const id = url.searchParams.get( 'id' );
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
} );
res.writeHead( 200, { 'Content-Type': 'application/json' } );
return res.end( JSON.stringify( { token } ) );
}
// Your pages, and realtime.node( userOf ) for the SDK's routes.
} ).listen( 3000 );use Illuminate\Http\Request;
use WordPlus\Realtime\Laravel\Facades\Realtime;
Route::get( '/api/stream-token', function ( Request $request ) {
$me = $request->user()?->id; // null for a visitor
$id = $request->query( 'id' );
// Your own check: its host goes live, the rest watch.
return [ 'token' => Realtime::streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
] ) ];
} );require __DIR__ . '/../src/realtime.php';
$me = current_user_id(); // null for a visitor
$id = $_GET['id'] ?? '';
header( 'Content-Type: application/json' );
// Your own check: its host goes live, the rest watch.
echo json_encode( [
'token' => $realtime->streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
] ),
] );from django.http import JsonResponse
from .realtime import realtime
# In urls.py: path("api/stream-token", views.stream_token)
def stream_token(request):
me = request.user.id if request.user.is_authenticated else None
id = request.GET["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
)
return JsonResponse({"token": token})from fastapi import Depends
from realtime import realtime
# current_user_id answers None for a visitor.
@app.get("/api/stream-token")
def stream_token(id: str, me: int | None = Depends(current_user_id)):
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
)
return {"token": token}from flask import request, session
from realtime import realtime
@app.get("/api/stream-token")
def stream_token():
me = session.get("user_id") # None for a visitor
id = request.args["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
)
return {"token": token}// http.HandleFunc("GET /api/stream-token", streamToken)
func streamToken(w http.ResponseWriter, r *http.Request) {
me := userOf(r) // empty for a visitor
id := r.URL.Query().Get("id")
// Your own check: its host goes live, the rest watch.
role := "viewer"
if me != "" && isHostOf(id, me) {
role = "host"
}
token := app.StreamToken(wordplus.Stream{
Name: "live:" + id,
Role: role,
User: me,
})
reply(w, map[string]string{"token": token})
}Hooks ורכיבים לכל אפליקציית React, עם כל אחד מהשרתים למעלה.
import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script>import { connect } from '@wordplus/realtime';
const settings = await fetch( '/api/realtime/config' );
const rt = await connect( await settings.json() );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:{{ $event->id }}"
token-url="/api/stream-token?id={{ $event->id }}"
title="{{ $event->title }}"></live-stream>
<script type="module">
// The player and the studio.
await window.Echo.connector.rt.streamScreen();
</script>'use client'; // in Next.js
import { LiveStream } from '@wordplus/realtime/react';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStream name={ `live:${ id }` } title={ title }
tokenUrl={ `/api/stream-token?id=${ id }` } />
);
}<script setup>
import { onMounted } from 'vue';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
defineProps( [ 'id', 'title' ] );
onMounted( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<!-- isCustomElement for this tag, in vite.config.js -->
<template>
<live-stream :name="`live:${ id }`" :title="title"
:token-url="`/api/stream-token?id=${ id }`"></live-stream>
</template><script>
import { onMount } from 'svelte';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
let { id, title } = $props();
onMount( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<live-stream name="live:{ id }" { title }
token-url="/api/stream-token?id={ id }"></live-stream>import {
Component, CUSTOM_ELEMENTS_SCHEMA, Input,
} from '@angular/core';
// realtime.ts, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
@Component( {
selector: 'app-stream',
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
template: `
<live-stream [attr.name]="'live:' + id"
[attr.token-url]="'/api/stream-token?id=' + id"
[attr.title]="title"></live-stream>
`,
} )
export class StreamComponent {
@Input( { required: true } ) id!: number;
@Input( { required: true } ) title!: string;
async ngOnInit() {
// The player and the studio.
( await realtime ).streamScreen();
}
}import WordPlusRealtimeCalls
import WordPlusRealtimeUI
// Your own request to your route, asked again as tokens run out.
let stream = try await rt.joinStream {
try await api.streamToken(id: 12)
}
present(LiveStreamScreen(stream: stream, title: "Opening night"),
animated: true)import cloud.wordplus.realtime.calls.joinStream
import cloud.wordplus.realtime.ui.LiveStreamScreen
// Your own request to your route, asked again as tokens run out.
val stream = rt.joinStream(context) {
api.streamToken(id = 12)
}
LiveStreamScreen.open(activity, stream, title = "Opening night")import { LiveStreamButton } from '@wordplus/realtime-react-native';
// Your server, in full, as an app has no address of its own.
const API = 'https://app.example.com/api';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStreamButton name={ `live:${ id }` } title={ title }
tokenUrl={ `${ API }/stream-token?id=${ id }` }>
Watch
</LiveStreamButton>
);
}import 'package:flutter/material.dart';
import 'package:wordplus_realtime/wordplus_realtime.dart';
// Your server, in full, as an app has no address of its own.
const api = 'https://app.example.com/api';
// In your build. It asks your route again as tokens run out.
LiveStreamButton(
rt: rt,
stream: 'live:12',
tokenUrl: '$api/stream-token?id=12',
title: 'Opening night',
child: const Text('Watch'),
)
נסו שידור חי
עלו לשידור חי מהדף הזה וצפו בו מהטלפון או מחלון שני. לא צריך חשבון.
אלה המסכים שה-SDK נותן לאפליקציה שלכם. הדפדפן מבקש גישה למצלמה ולמיקרופון, שום דבר לא מוקלט, וההדגמה מסתיימת אחרי 10 דקות.
מנחים ומנהלי צ׳אט
עלו לשידור מהדפדפן, מהטלפון או מ-OBS
הסטודיו והצ׳אט מגיעים עם הנגן, למנחה ולמנהלי הצ׳אט שהשרת שלכם קובע.
המצלמה, מסך או OBS
המנחה רואה את התמונה לפני העלייה לשידור, עולה לשידור בלחיצה ומסיים את השידור לכולם. הוא משדר מהמצלמה והמיקרופון של הדפדפן או של טלפון, משתף מסך, או שולח את התמונה מ-OBS או מכל מקודד אחר דרך WHIP.

צ׳אט שנשאר מסודר
הצופים כותבים בצ׳אט שליד התמונה ושולחים תגובות מעליה. המנחה ומנהלי הצ׳אט שהשרת שלכם קובע מצמידים ומוחקים הודעות, מאטים את הצ׳אט, משתיקים מישהו לזמן מה, ומוציאים או חוסמים אותו. השרת שלכם יכול לעשות את אותו הדבר, ולכתוב בצ׳אט בשם משלו.

צופים
כל מי שצופה, מחובר או לא
קישור לדף הוא כל מה שצופה צריך. הוא צופה, כותב בצ׳אט ומגיב, וכולם רואים כמה צופים.
צפייה בלי חשבון
השרת שלכם הופך מבקר לצופה, כך שכל מי שיש לו את הקישור צופה, ומתחבר כדי לכתוב בצ׳אט. או שמרו שידור לחברים בלבד.
תמונה לכל מסך
כל צופה מקבל את התמונה בגודל שהמסך והחיבור שלו מאפשרים, באתר, ב-iOS וב-Android, עם מונה צופים חי.
אורחים על הבמה
צופה מרים יד, והמנחה מעלה אותו לבמה עם המצלמה והמיקרופון שלו, לשאלה, לראיון או לפאנל.
השרת שלכם מחליט
כמה שורות ב-stack שלכם
השרת שלכם קובע מי מנחה כל שידור, מי צופה ומי מנהל את הצ׳אט. הדף מציג את השידור באלמנט אחד, או בקוד שלכם.
Next.js בשרת ו-React בדף.
export async function GET( request: Request ) {
const me = await currentUserId(); // null for a visitor
const id = new URL( request.url ).searchParams.get( 'id' )!;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
mod: me && await isModerator( me ),
settings: { reactions: true },
} );
return Response.json( { token } );
}app.get( '/api/stream-token', async ( req, res ) => {
const me = userOf( req ); // null for a visitor
const { id } = req.query;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
mod: me && await isModerator( me ),
settings: { reactions: true },
} );
res.json( { token } );
} );import { createServer } from 'node:http';
createServer( async ( req, res ) => {
const url = new URL( req.url, 'http://localhost' );
if ( url.pathname === '/api/stream-token' ) {
const me = userOf( req ); // null for a visitor
const id = url.searchParams.get( 'id' );
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
mod: me && await isModerator( me ),
settings: { reactions: true },
} );
res.writeHead( 200, { 'Content-Type': 'application/json' } );
return res.end( JSON.stringify( { token } ) );
}
// Your pages, and realtime.node( userOf ) for the SDK's routes.
} ).listen( 3000 );use Illuminate\Http\Request;
use WordPlus\Realtime\Laravel\Facades\Realtime;
Route::get( '/api/stream-token', function ( Request $request ) {
$me = $request->user()?->id; // null for a visitor
$id = $request->query( 'id' );
// Your own check: its host goes live, the rest watch.
return [ 'token' => Realtime::streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
'mod' => $me && is_moderator( $me ),
'settings' => [ 'reactions' => true ],
] ) ];
} );require __DIR__ . '/../src/realtime.php';
$me = current_user_id(); // null for a visitor
$id = $_GET['id'] ?? '';
header( 'Content-Type: application/json' );
// Your own check: its host goes live, the rest watch.
echo json_encode( [
'token' => $realtime->streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
'mod' => $me && is_moderator( $me ),
'settings' => [ 'reactions' => true ],
] ),
] );from django.http import JsonResponse
from .realtime import realtime
# In urls.py: path("api/stream-token", views.stream_token)
def stream_token(request):
me = request.user.id if request.user.is_authenticated else None
id = request.GET["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
mod=bool(me and is_moderator(me)),
settings={"reactions": True},
)
return JsonResponse({"token": token})from fastapi import Depends
from realtime import realtime
# current_user_id answers None for a visitor.
@app.get("/api/stream-token")
def stream_token(id: str, me: int | None = Depends(current_user_id)):
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
mod=bool(me and is_moderator(me)),
settings={"reactions": True},
)
return {"token": token}from flask import request, session
from realtime import realtime
@app.get("/api/stream-token")
def stream_token():
me = session.get("user_id") # None for a visitor
id = request.args["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
mod=bool(me and is_moderator(me)),
settings={"reactions": True},
)
return {"token": token}// http.HandleFunc("GET /api/stream-token", streamToken)
func streamToken(w http.ResponseWriter, r *http.Request) {
me := userOf(r) // empty for a visitor
id := r.URL.Query().Get("id")
// Your own check: its host goes live, the rest watch.
role := "viewer"
if me != "" && isHostOf(id, me) {
role = "host"
}
token := app.StreamToken(wordplus.Stream{
Name: "live:" + id,
Role: role,
User: me,
Mod: me != "" && isModerator(me),
React: wordplus.Yes,
})
reply(w, map[string]string{"token": token})
}Hooks ורכיבים לכל אפליקציית React, עם כל אחד מהשרתים למעלה.
import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script>import { connect } from '@wordplus/realtime';
const settings = await fetch( '/api/realtime/config' );
const rt = await connect( await settings.json() );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:{{ $event->id }}"
token-url="/api/stream-token?id={{ $event->id }}"
title="{{ $event->title }}"></live-stream>
<script type="module">
// The player and the studio.
await window.Echo.connector.rt.streamScreen();
</script>'use client'; // in Next.js
import { LiveStream } from '@wordplus/realtime/react';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStream name={ `live:${ id }` } title={ title }
tokenUrl={ `/api/stream-token?id=${ id }` } />
);
}<script setup>
import { onMounted } from 'vue';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
defineProps( [ 'id', 'title' ] );
onMounted( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<!-- isCustomElement for this tag, in vite.config.js -->
<template>
<live-stream :name="`live:${ id }`" :title="title"
:token-url="`/api/stream-token?id=${ id }`"></live-stream>
</template><script>
import { onMount } from 'svelte';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
let { id, title } = $props();
onMount( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<live-stream name="live:{ id }" { title }
token-url="/api/stream-token?id={ id }"></live-stream>import {
Component, CUSTOM_ELEMENTS_SCHEMA, Input,
} from '@angular/core';
// realtime.ts, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
@Component( {
selector: 'app-stream',
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
template: `
<live-stream [attr.name]="'live:' + id"
[attr.token-url]="'/api/stream-token?id=' + id"
[attr.title]="title"></live-stream>
`,
} )
export class StreamComponent {
@Input( { required: true } ) id!: number;
@Input( { required: true } ) title!: string;
async ngOnInit() {
// The player and the studio.
( await realtime ).streamScreen();
}
}import WordPlusRealtimeCalls
import WordPlusRealtimeUI
// Your own request to your route, asked again as tokens run out.
let stream = try await rt.joinStream {
try await api.streamToken(id: 12)
}
present(LiveStreamScreen(stream: stream, title: "Opening night"),
animated: true)import cloud.wordplus.realtime.calls.joinStream
import cloud.wordplus.realtime.ui.LiveStreamScreen
// Your own request to your route, asked again as tokens run out.
val stream = rt.joinStream(context) {
api.streamToken(id = 12)
}
LiveStreamScreen.open(activity, stream, title = "Opening night")import { LiveStreamButton } from '@wordplus/realtime-react-native';
// Your server, in full, as an app has no address of its own.
const API = 'https://app.example.com/api';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStreamButton name={ `live:${ id }` } title={ title }
tokenUrl={ `${ API }/stream-token?id=${ id }` }>
Watch
</LiveStreamButton>
);
}import 'package:flutter/material.dart';
import 'package:wordplus_realtime/wordplus_realtime.dart';
// Your server, in full, as an app has no address of its own.
const api = 'https://app.example.com/api';
// In your build. It asks your route again as tokens run out.
LiveStreamButton(
rt: rt,
stream: 'live:12',
tokenUrl: '$api/stream-token?id=12',
title: 'Opening night',
child: const Text('Watch'),
)שידורים חיים בכל stack, עם ההגדרה המלאה:
שימושים
מה בונים עם שידורים חיים
כל אחד מהם הוא אפליקציה שלמה בתיעוד, עם השרת שלה ב-Node.js, PHP ו-Python.
אירועים בשידור חי
השקה, שיעור, הרצאה או הופעה, בשידור חי לכל מי שפותח את הדף.
שידורים לחברים בלבד
שידור שרק חברי מועדון, בעלי כרטיס או תלמידי קורס רשאים לצפות בו.
ראיונות ושאלות על הבמה
צופים מרימים יד, והמנחה מעלה אותם לבמה לצדו, בפריסה שהמנחה בוחר.
מחירים
מחיר לפי חיבורים, אף פעם לא לפי הודעות
החל מ-$11.99 לחודש עבור 1,000 חיבורים בו-זמניים, בחיוב שנתי, או $14.99 בחיוב חודשי.
צופים מעבר לתוכנית שלכם: $0.20 לכל 1,000 דקות.
מחיר אחד בכל רזולוציה. רוחב פס, ממסרים והודעות לעולם לא מחויבים, ושיחות בין שני אנשים כלולות. אנחנו מפעילים בעצמנו את הממסרים ושרתי המדיה שלנו, וזה שומר על המחירים האלה נמוכים.
מחיר לפי חיבורים בו-זמניים, החל מ-1,000, בחיוב חודשי או שנתי.
עם 1,000 חיבורים, שידורים חיים אינם נמדדים עד 50 צופים בו-זמנית, וכל 1,000 חיבורים נוספים מוסיפים 20 צופים. מעבר לזה, כל צופה נוסף צורך קרדיט לדקה, שנספר רק כשהשידור באוויר, והתוכנית שלכם מוסיפה 5,000 קרדיטים בחודש לכל 1,000 חיבורים.
שאלות
שאלות נפוצות
האם אני צריך שרת מדיה משלי?
לא. המנחה שולח את התמונה לשרתי המדיה שלנו, שמעבירים אותה לכל מי שצופה. OBS ומקודדים אחרים שולחים אותה דרך WHIP. אין לכם מה לארח.
אילו stacks יכולים להשתמש ב-SDK לשידור חי?
Next.js ו-Express, Laravel ו-PHP נקי, Django, FastAPI ו-Flask, Capacitor, iOS ו-Android, כל אחד עם מדריך. שרת בכל שפה אחרת משתמש ב-HTTP API. לאפליקציות Flutter יש שידורים חיים ב-iOS וב-Android, ולאפליקציות React Native בינתיים ב-iOS.
האם אפשר לצפות בלי חשבון?
כן. השרת שלכם הופך מבקר שלא התחבר לצופה, כך שכל מי שיש לו את הקישור צופה, ומתחבר כדי לכתוב בצ׳אט. או שמרו שידור לחברים בלבד, וקישור שמועבר הלאה לא פותח דבר.
האם אפשר לשדר מ-OBS?
כן. הסטודיו נותן למנחה כתובת ומפתח ל-OBS או לכל מקודד אחר ששולח דרך WHIP, והתמונה מהמקודד תופסת את מקום המצלמה. מפתח חדש מנתק את הישן.
כמה אנשים יכולים לצפות?
עם 1,000 חיבורים, עד 50 צופים בו-זמנית אינם צורכים קרדיטים, וכל 1,000 חיבורים נוספים מוסיפים 20. מעבר לזה, כל צופה נוסף צורך קרדיט לדקה, שנספר רק כשהשידור באוויר.
מי מנהל את הצ׳אט?
המנחה, וכל מי שהשרת שלכם הופך למנהל צ׳אט. הם מצמידים ומוחקים הודעות, מאטים את הצ׳אט, משתיקים מישהו לדקה ועד יום, ומוציאים מישהו או חוסמים אותו מהשידור. גם השרת שלכם יכול לעשות את כל זה, בלי שום דף פתוח.
האם אפשר לבנות נגן משלי?
כן. הנגן, הצ׳אט והסטודיו הם אופציונליים. מקמו כל חלק היכן שהדף שלכם צריך אותו, או הציגו את השידור בעצמכם עם ה-SDK: התמונה, הצופים, הצ׳אט והתגובות.
האם אפשר לחייב על צפייה?
כן. השרת שלכם מחליט מי רשאי לצפות, כך שכרטיס או חברות פותחים את השידור. WordPlus Cloud מודיע לשרת שלכם ב-webhook מתי כל צופה מחובר מתחיל ומפסיק לצפות, כפי שנספר בשרתים שלו, כדי שהאפליקציה שלכם תחייב לפי צפייה או לפי דקה.
שאלות על האינטגרציה שלכם? כתבו לנו: אנחנו עוזרים עם ה-SDK, הנגן וה-stack שלכם.