Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Michael Fayez's avatar

Record video on the cloud between teacher and students

Hello best Developers in the world ,

Would like to ask how to record video on the fly by laravel and Livewire the customer asked me to do that any help or ideas Thanks in advance

0 likes
2 replies
LaryAI's avatar
LaryAI
AI
Best Answer
Level 58

You could use a third-party video streaming service such as Wowza or Red5 to record the video on the cloud. You could then use the Laravel Livewire package to integrate the video streaming service into your application.

For example, you could use the Wowza Streaming Cloud API to create a live stream and then use the Livewire package to embed the stream into your application.

// Create a live stream using the Wowza Streaming Cloud API
$client = new Wowza\StreamingCloud\Client($apiKey, $apiSecret);
$liveStream = $client->liveStreams->create([
    'name' => 'My Live Stream',
    'aspect_ratio_width' => 1280,
    'aspect_ratio_height' => 720,
    'billing_mode' => 'pay_as_you_go',
]);

// Embed the live stream into your application using the Livewire package
<livewire:streaming-cloud-player
    stream-name="{{ $liveStream->name }}"
    aspect-ratio-width="{{ $liveStream->aspect_ratio_width }}"
    aspect-ratio-height="{{ $liveStream->aspect_ratio_height }}"
/>

Please or to participate in this conversation.