可以在php网站上预览远程桌面吗?

时间:2016-06-01 23:32:08

标签: php rdp vnc

是否可以在php网站上查看远程桌面连接?只是预览,而不是交互式窗口。我知道,如何使用VNC连接到远程桌面,但它在一个单独的选项卡中打开它,您可以控制窗口。

1 个答案:

答案 0 :(得分:0)

简短回答是:否。

通常如何通过让服务器生成屏幕截图并将这些图像嵌入到PHP中,以便在网站上显示。

如果您喜欢直播,那么您需要一些能够以PHP然后显示它的方式生成该Feed的服务。这个人在这里用屏幕投射他的在线会话:

https://www.youtube.com/watch?v=dYrjI_u3ka8

基本上使用Google Hangouts将其广播到YouTube并使用以下内容将其嵌入您的网页:

https://github.com/kassius/youtube-live-embed

来自示例:

require_once('EmbedYoutubeLiveStreaming.php'); // Use this if the class file from repo is in the same directory
$channelId = 'REPLACE_ME'; // This is the your CHANNEL ID
$api_key = 'REPLACE_ME'; // This is your google project API KEY with youtube api enabled
$YouTubeLive = new EmbedYoutubeLiveStreaming($channelId, $api_key);

希望这有帮助!