Dear FIWARE coach, we forward you a support request received from a CreatiFI applicant we are not able to solve. Please let us know if you need direct contact with the submitter. Thanks. ***************************** Here is the context: We have an app sitting in front of kurento, where we record two media sources a webcam and a screen share session. We make one pipeline with two webrtc and recorder endpoints. We have our own coturn server. Problem with firefox: We cant record the screen, using a listener on our webrtcendpoint in our node.js app to listen for media source changes it never changes to CONNECTED and after checking about:webrtc it tells you that it couldn't achieve a connection between all the stun/turn servers we have at the ice servers inside the config obj, same for all ice candidates it will show that the connection failed and it can try again. Problem with chrome: It works most of the time but recently we found out that it fails to record the webcam. We wont get any errors on kurento logs, we wont get any errors on the client console or chrome://webrtc-internals. We realized that it cant be a problem with the way a pipeline its created because we create the pipeline as soon as we get the request to start a webcam recording session, after that if everything its created and connected properly we create a webrtc endpoint and then a recorder endpoint for the screen share too, both mediasources have a MediaStateChanged listener, which will let you know that the screen its working but not the webcam, we know it wont work some times but we dont know exactly why yet. We have a few questions: if we have two connections in the same network is it necessary to use ICE? if we already have a connection between endpoints for one media source and they now the ip direction of each other, can we use the same connection for our other mediasource? if yes it would be great to know Besides kurento logs and chrome/firefox webrtc logs, is there any other place we could look into to find more answers on why is this failing? is there any way to check health of the ICE candidates so we can know if we need to retry a connection to avoid one empty mediasource of the two we want? thanks ***************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-creatifi-coaching/attachments/20160613/57ff2800/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy