Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

如何将rtmp/rtsp流mix进入拼接画面

Daghe
Beginner
470 Views

1.我使用https://10.5.52.29:3004/?url=rtmp://xxxx/live/stream startStreamingIn,显示成功,响应中的inview为空role为admin,如何显示?

当我在房间配置中加入admin的role,console报错

index.js:145 server connection failed: SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at ics.js:9
    at new Promise (<anonymous>)
    at n.ConferenceClient.join (ics.js:9)
    at index.js:78
    at XMLHttpRequest.req.onreadystatechange (rest-sample.js:8)

2.Release-V4.1中startRecording(myRoom,'xxxx-common','xxxx-common','mp4')录制MP4文件失败音视频编码已设置为h264,aac,但是请求返回500 错误?

   请问management3300端口配置h264的四种格式分辨是什么意思?,我只能选择CB,其他的都会报错

3.Release-V4.1版本必须使用Chrome70版本?Release-V4.0.1使用chrome70版本报错

   Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'

我的配置操作有误??期待回复,谢谢!!

0 Kudos
4 Replies
Qiujiao_W_Intel
Employee
470 Views

对于问题1, 这个是由于地址解析正则表达式使用问题导致的,请修改extras/basic_example/public/scripts/rest-sample.js中generateUrl函数中正则表达式改成如下形式:

let index = document.URL.lastIndexOf('\/?');

关于录像h264设置的问题请参考rest文档,h264在4.1中加入了profile的设置可以让用户选择不同的profile进行录制。console里的h264四种就是不同的profile设置,server在hardware跟software上支持的profile不一样,另外还要看client端的浏览器或者其他客户端是否支持所选的h264 profile

 

 

Daghe
Beginner
470 Views

server在hardware跟software上支持的profile不一样?? software支持的是h264_CB 那hardware支持的profile是哪一个? 

Daghe
Beginner
470 Views

Release-V4.0.1版本也会报错

Uncaught (in promise) DOMException: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'. 'unified-plan' will become the default behavior in the future, but it is currently experimental. To try it out, construct the RTCPeerConnection with sdpSemantics:'unified-plan' present in the RTCConfiguration argument.

没找到可以修改正则表达式的地方?

Daghe
Beginner
470 Views

Release-V4.0.1使用RTCPeerConnection.prototype.addTransceiver = undefined;解决

使用VCA卡硬件加速时console报错,Chrome版本:71.0.3578.98(正式版本) (64 位)

Uncaught (in promise) Error: No proper video codec
    at new t (ics.js:9)
    at t.value (ics.js:9)
    at t.value (ics.js:9)
    at O (ics.js:9)
    at ics.js:9
    at ics.js:9
    at Array.map (<anonymous>)
    at t.dispatchEvent (ics.js:9)
    at Socket.<anonymous> (ics.js:9)
    at Socket.Emitter.emit (socket.io.js:3)

VCA卡中video-agent已使用install-deps.sh加载h264编码,开启了hardware硬件加速 

关闭hardware,报错消失,画面能正常显示,看日志只有一个警告,vainfo check with exit code: 127

如何解决此问题?谢谢!

Reply