Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
161 views
in Technique[技术] by (71.8m points)

I want to support multiple live-streamed video services using [Agora.io]

Below is a use case of our business. I appreciate if you can tell if the [agora.io] platform can support this use case and how i.e., (Options, SDK, APIs)

This is an online 1:1 class for lecturer and students.

The lecturer opens a virtual space for class and invites 1 student.

Student has 2 webcams. One is installed on the front, and the other is installed on the side.

Videos from student's webcams should be live-streamed with no delay to the lecturer.

the lecturer can select between two videos of student and watch videos and listen to the audio two live-streamed videos must be switched by a button and the switched video is played on the lecturer's Screen.

#1 live-streamed video -> button click -> #2 live-streamed video -> button click -> #1 live-streamed video --> button click --> #2 live-streamed video ...

When switching between #1 live-streamed video and #2 live-streamed video, the "Playback Position" must be the same.

At any time, the lecturer can end the video session. the videos of each student must be ready immediately at the server to replay and watch. The lecturer can end lesson

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Agora can totally support this use case.

You can use the RTC SDK to start a video call. Here is the quick start guide for that: https://docs.agora.io/en/Video/start_call_web?platform=Web.

To switch the camera, you can take a look at this article: https://docs.agora.io/en/faqs/switchdevice_web#for-versions-earlier-than-v250. You might need to use RTM SDK to send a signal from teacher's side to student's side which can trigger the switch camera operation. Here is the RTM quick start: https://docs.agora.io/en/Real-time-Messaging/messaging_web?platform=Web.

To replay the videos, you need to use the Cloud Recording API to store the videos on an external cloud storage, for example, Amazon S3. Here is the document for Cloud Recording: https://docs.agora.io/en/cloud-recording/product_cloud_recording?platform=Linux.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...