How does PHP implement live video websites? What do I need? UDP protocol

Source: Internet
Author: User
How does PHP make a live video website? What do I need? UDP protocol? There is a certain foundation for PHP, but I want to build a live video website in a LAN, such as a LAN with several buildings. If there is a server. If I use the C/S mode, the server traffic may not be able to afford it, so should I use the P2P mode? Is it based on UDP? Don't plug-ins or ActiveX implementations be embedded on the web page. Webpage is just an entry. how does PHP make a live video website? What do I need? UDP protocol?
There is a certain foundation for PHP, but I want to build a live video website in a LAN, such as a LAN with several buildings. If there is a server. If I use the C/S mode, the server traffic may not be able to afford it, so should I use the P2P mode? Is it based on UDP? Please advise
------ Solution --------------------
Isn't it implemented by embedding plug-ins or ActiveX on webpages.
The webpage is just an entry, telling the client the URL of the live video service.

Is the live video server implemented in PHP? It is estimated that the workload is not small, and the efficiency is not enough.

------ Solution --------------------
For the server, you can use udp-based P2P. By the way, let's get a few more resource servers for load balancing.
------ Solution --------------------
Regardless of the solution, the efficiency of PHP is a problem.

Since it is a live video, there must be a server that provides streaming media data. then, the website only requests the client to obtain data by calling flash or media player.

In this process, the website only plays a role as a platform. do not expect php to output a media binary stream. The efficiency is too "horrible.
------ Solution --------------------
Can I embed a plug-in a webpage?
------ Solution --------------------
Answers ~~ Help top
------ Solution --------------------
PHP doesn't seem to work well.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.