Kurento 复合网格录制

huangapple go评论77阅读模式
英文:

Kurento Composite Grids Recording

问题

我有2个WebRtcEndpoint(呼叫方和被呼叫方)。这些端点彼此连接以共享流。在这种通信中没有问题。每个对等方都可以获取到另一个对等方的流,而且没有任何帧丢失。

我想将这两个流并排录制下来。根据我的搜索结果,Kurento合成可以用来将呼叫方和被呼叫方的流并排录制下来。但是这种录制方式会在录制文件中导致大量的帧丢失。

我的实现:

// 连接流
callerWebrtcEndpoint.connect(calleeWebrtcEndpoint);
calleeWebrtcEndpoint.connect(callerWebrtcEndpoint);

// 创建网格并记录合成元素的输出
callerWebrtcEndpoint.connect(callerHubPort);
calleeWebrtcEndpoint.connect(calleeHubPort);

recordHubPort.connect(recorderEndPoint);

是否有其他替代方法呢?

英文:

I have 2 WebRtcEndpoint(caller&callee). Those endpoints are connected each other to share their streams.
There is no problem in this communication. Each peer gets the other peer's stream without any frame lost.

I want to record this two stream side by side. As a result of my search, kurento composite can be used to record caller and callee streams side by side.
But this way of recording causes a lot of frame lost on the record file.

My implementation:

// To connect streams
callerWebrtcEndpoint.connect(calleeWebrtcEndpoint);
calleeWebrtcEndpoint.connect(callerWebrtcEndpoint);


//To create grids and to record output of composite element
callerWebrtcEndpoint.connect(callerHubPort);
calleeWebrtcEndpoint.connect(calleeHubPort);

recordHubPort.connect(recorderEndPoint)

Is there any alternative for that?

答案1

得分: 1

Kurento运行的服务器CPU不足。当我在具有更多CPU的机器上运行Kurento时,录制质量会提高。

英文:

The server that kurento works on does not have enough cpu. When I run kurento on machine with more cpu then records quality is increased.

huangapple
  • 本文由 发表于 2020年4月4日 00:07:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/61015958.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定