问题标签 [vline]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
61 浏览

google-chrome - 我有时会得到这个 USERID_NOT_FOUND('用户未知')

该错误具体如下所示。

[140303 13:39:57.16] [vline.cometdTransport] USERID_NOT_FOUND ('用户未知') vline.js:132

我多次收到此错误,但不知道是什么原因造成的。你有过这个问题吗?你知道这可能是什么原因吗?

提前致谢。

0 投票
1 回答
102 浏览

javascript - 我想在 Vline 中拍摄媒体流的快照

有没有办法对 vline 中的传入视频流进行快照?

0 投票
1 回答
177 浏览

javascript - Restrict number of users in a session in vline

Can I restrict the number of users in a session? Is there any option in vline.session? Please guide if this can be done by writing custom javascript.

EDIT:

Referring to https://vline.com/developer/docs/vline.js/vline.MediaSession#examples, a two party call controller is explained. I want to ask is there any way to restrict number of users in a session? There is no such option present in session's docs. Is it supported as a part of the API?

If this can be done using custom javascript, how?

As a part of my effort, I have tried to implement vline-django examples, but could not find a section in documentation that addresses this issue.

EDIT 2: The code that is working for me.

How do I move ahead?

Reference: https://vline.com/developer/docs/vline.js/

0 投票
2 回答
187 浏览

javascript - vline webrtc:记住允许访问相机

我在我的网页中使用vline服务。

有没有办法记住对网络摄像头的访问?

每次我称之为a时,MediaSession.stop()我都需要对浏览器说“允许”以授予对资源的访问权限。

我的目标是制作一个页面,其中有多个按顺序进行的对话。如果没有那个,我如何关闭实际对话并与另一个远程人打开一个新对话?

提前感谢您的任何回复。

0 投票
3 回答
13516 浏览

webrtc - Dummy video device - v4l2loopback - webRTC

I need to play multiple video for test a video server. I'm using lubuntu 14.04 and have installed V4l2loopback to make the device file ( /dev/videoN )

I am using mplayer to play video from this device as described mplayer cam

I have done the modify to the source code and successfully played the video and viewed with xawtv and with flashplayer (on firefox 28). I have tried to view with webRtc but it can't work.

Do you have some idea to do this? There is some particular pixelformat to define in examples/yuv4mpeg_to_v4l2.c ?

.....

I'm trying to find the problem using direct access to the resource with this script:

The video constraingts are take from mplayer output:

But the problem persists: "The following error occured: Starting video failed"..

The video is correctly played and visible both with xawtv and with flashplayer.

0 投票
0 回答
100 浏览

webrtc - 纯 WebRTC 与 VLine。为什么 WebRTC 比 VLine 有更多的噪音?

我尝试使用纯 WebRTC。但它有巨大的噪音。我用 Linux PC 和 Android 设备进行了测试。

所以我的问题是 VLine 用什么来减少噪音?

0 投票
1 回答
83 浏览

javascript - Vline.js 给出神秘的错误信息

我正在尝试 vline 的房间示例并收到一条无法弄清楚的神秘错误消息。

请参阅下面的异常堆栈。

是否可以获得此文件的未缩小版本?

0 投票
0 回答
65 浏览

css - Vline - 无论如何要防止连接面板覆盖浏览器?

我在我的网站上使用vline php进行视频聊天,视频通话没有问题,

但是每次用户1呼叫用户2时,用户2接听电话后,用户1的浏览器中会出现一个灰色的大屏幕,中间有一个“正在连接用户2”的框。大灰屏会和user1的视频聊天屏幕一起呆在那里,这确实影响了user1的图像清晰度。在user2的浏览器中,只有视频聊天画面没有问题。

所以问题是,有没有办法为来电者消除灰屏?

我使用了chrome的“Inspect element”,发现灰色面板是vline.css引入的一个div,看起来是这样的:

我使用“Inspect element”编辑了“opacity:0”,面板成功消失,所以我尝试使用以下代码更改 startmedia 之前的 div 样式:

但是没有运气,当调用者拨打电话时灰色面板仍然存在,再次检查该div的不透明度,仍然不透明度:1,那我该怎么办,如何更改来自https://static.vline.com/的css元素vline.css ?

任何帮助都会非常有用。

0 投票
1 回答
2513 浏览

r - ggplot垂直线与日期轴R

我在用 R 中的 ggplot 绘制垂直线时遇到问题。

我想在每个星期天在我的时间序列上画一条垂直线:

我尝试了以下表达式:

但它不起作用:

一些想法?

0 投票
1 回答
25053 浏览

python - 在 matplotlib 中的垂直线旁边添加文本

这是我的代码:

它在 x 轴上的某些日期绘制两条红线。现在我想在每一行添加文本。文本应与线平行。我从哪说起呢?