OpenTok - 发布非相机视频流? [英] OpenTok - Publish non-camera video stream?

查看:216
本文介绍了OpenTok - 发布非相机视频流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用OpenTok有没有办法发布源不是相机的视频流?也就是说,我想发布一个预录制的视频,或者一个由摄像机以外的源生成的视频。有什么建议如何做到这一点?非常感谢!

Using OpenTok is there a way publish a video stream whose source is not a camera? That is, I would like to publish a video which is either pre-recorded or a video being generated by a source other than a camera. Any suggestions on how this can be done? Thank you much!

(这是一个快速的推理,我们的系统使用OpenTok使用正常的方法,但我们想用非相机生成的视频运行测试)

(Just as a quick reasoning for this, our system uses OpenTok using the normal approach, but we want to run tests with non-camera generated video)

推荐答案

OpenTok或任何其他框架都不能直接从相机获取视频流。它要求浏览器重定向相机feed。因此,您必须诱骗浏览器提供视频文件。

OpenTok, or any other framework, doesn't get the video stream directly from the camera. It asks the browser to redirect the camera feed. So you would have to trick the browser into providing a video file instead.

最简单的方法是安装虚拟网络摄像头软件。有很多选择,但我通常与 splitcam ,主要是因为它是免费的。

The easiest way to do this is to install a virtual webcam software. There are many options for that but I usually go with splitcam, mainly because it's free.

这篇关于OpenTok - 发布非相机视频流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆