久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

使用 PHP 進行實時視頻流

Live Video Streaming with PHP(使用 PHP 進行實時視頻流)
本文介紹了使用 PHP 進行實時視頻流的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我有一個 PHP/AJAX/MYSQL 聊天應用程序.我想在我的應用程序中添加視頻聊天.如何在 PHP 應用程序中創建用于實時視頻會議/聊天的實時視頻流.如果我想構建這樣一個系統,我需要知道哪些關鍵術語?首先使用PHP是個好主意嗎?有什么我不考慮的嗎?我可以使用哪些其他語言,也許與 PHP 結合使用?

I have a PHP/AJAX/MYSQL chat application. I want to add video chatting to my application. How can I create live video streaming to be used for live video conferences/chatting in a PHP application. What are the key-terms I need to know if I wanted to build such a system? Is it a good idea in the first place to use PHP? Is there something I'm not thinking about? What other languages can I use, perhaps in conjunction with PHP?

推薦答案

我不是說你必須放棄 PHP,而是你需要不同的技術.

I am not saying that you have to abandon PHP, but you need different technologies here.

讓我們從簡單的開始(沒有 Akamai :-))并考慮這里的含義.視頻、聊天等 - 一開始都是客戶端.用戶有一個網絡攝像頭,您想以某種方式獲取信號并將其發送到服務器.到目前為止還沒有 PHP.

Let's start off simple (without Akamai :-)) and think about the implications here. Video, chat, etc. - it's all client-side in the beginning. The user has a webcam, you want to grab the signal somehow and send it to the server. There is no PHP so far.

我知道 Flash 支持此功能(查看此關于網絡攝像頭和閃光燈的教程) 以便您可以使用 Flash 將內容傳輸到服務器.我想如果你會繼續使用 Flash,那么 Flex (flex 和網絡攝像頭教程) 可能是一個值得研究的好主意.

I know that Flash supports this though (check this tutorial on webcams and flash) so you could use Flash to transport the content to the server. I think if you'll stay with Flash, then Flex (flex and webcam tutorial) is probably a good idea to look into.

所以這些只是基礎知識,也許它可以讓您了解需要研究的地方,因為顯然這不會在您的應用程序中提供完整的視頻聊天.首先,您需要某種方式來記錄流并重新發布它們,以便其他人從聊天中看到其他人等.

So those are just the basics, maybe it gives you an idea of where you need to research because obviously this won't give you a full video chat inside your app yet. For starters, you will need some sort of way to record the streams and re-publish them so others see other people from the chat, etc..

我也不確定這會消耗多少流量和帶寬,一般來說,您需要的不僅僅是 Stackoverflow 問題來解決這個問題.最好的方法是對您的應用制定完整的規范,然后聘請一些人來幫助您構建它.

I'm also not sure how much traffic and bandwidth this is gonna consume though and generally, you will need way more than a Stackoverflow question to solve this issue. Best would be to do a full spec of your app and then hire some people to help you build it.

HTH!

這篇關于使用 PHP 進行實時視頻流的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Action View Helper in Zend - Work around?(Zend 中的動作視圖助手 - 解決方法?)
Is this a good way to match URI to class/method in PHP for MVC(這是將 URI 與 PHP 中用于 MVC 的類/方法匹配的好方法嗎)
Where do I save partial (views) in Zend Framework, to be accessible for all Views in my App?(我在哪里保存 Zend Framework 中的部分(視圖),以便我的應用程序中的所有視圖都可以訪問?) - IT屋-程序員軟件開發技術
Having a single entry point to a website. Bad? Good? Non-issue?(有一個網站的單一入口點.壞的?好的?沒問題?)
Is MVC + Service Layer common in zend or PHP?(MVC + 服務層在 Zend 或 PHP 中常見嗎?)
Hello World example in MVC approach to PHP(PHP MVC 方法中的 Hello World 示例)
主站蜘蛛池模板: 成人国产精品免费观看 | 成人在线免费视频观看 | 99re99| 久久黄视频 | 亚洲成人一区 | 国产精品a免费一区久久电影 | 午夜激情在线视频 | 中文字幕 在线观看 | 日韩三 | 91精品国产乱码麻豆白嫩 | 国产a区 | 欧美一区二区三区久久精品 | 视频1区2区| 成人乱人乱一区二区三区软件 | 欧美精品一区二区三区在线播放 | 91精品国产一区二区三区 | 久久香蕉精品视频 | 日韩成人专区 | 国产成人精品网站 | 情侣酒店偷拍一区二区在线播放 | 精品一区二区久久久久久久网站 | 国产一区二区三区欧美 | 国内91在线 | 操一草 | 欧美日一区二区 | 国产成人精品一区二区三区在线观看 | 暖暖成人免费视频 | 国产一区 | 成人在线免费观看av | 成人在线免费视频 | 久草成人 | 亚洲视频1区 | 九九99九九精彩46 | 四虎在线观看 | 国产欧美一区二区三区免费 | 天天干干 | 日韩福利在线 | 97色在线视频 | 日本精品久久久久久久 | 亚洲欧美激情精品一区二区 | a在线视频|