问题描述
我开始使用kurento,我需要将录制的文件保存在我用node js编写的Web服务器中。 这是我的代码:
this.kurentoClient = new Kurento(“ ws://本地主机:8888 / kurento”);
this.pipeline = await this.kurentoClient.create ("MediaPipeline");
const recordParams = {
mediaProfile: 'MP4',uri: "http: // localhost: 3002 / api_test / test.mp4"
};
this.recorderEndpoint = await this.pipeline.create ('RecorderEndpoint',recordParams);
当我启动程序时,未调用uri,但是我的api有效(我在Postman中尝试过)。我也没有收到错误消息。我在其他文章中提到,不再支持记录器端点中的http uri。是真的?因为文档没有说明。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)