Webcam recording is working fine. But when i try to record screen on server side, it just creates empty file

114 views
Skip to first unread message

Abdul Jabbar

unread,
Oct 3, 2017, 6:32:44 AM10/3/17
to kurento
Hi

I am working on kurento media server. I have set it up and its working correctly. Then i added the recording functionality for webcam and its also working perfect and saving the recording file on server. 

Then i shared the screen stream instead of webcam stream. But now,  stream is coming back from the server but the recording file is empty at server. 

I have attached the screenshot of working program.

Please help me to get out of this problem

Thanks in advance
output.PNG

Jon Ruddell

unread,
Oct 3, 2017, 2:29:27 PM10/3/17
to kurento
When recording a stream with only video, you need to tell the recorder the stream only has video.  Otherwise it will wait for the audio to start flowing before writing data.  You can do this by specifying the media profile spec type when creating the recorder endpoint with MediaProfileSpecType.WEBM_VIDEO_ONLY

Best,
Jon

Abdul Jabbar

unread,
Oct 27, 2017, 9:16:50 AM10/27/17
to kurento
I am using NodeJS tutorial. Please let me know that how can i updatd MediaProfileSpecType in NodeJS?

Thank you so much in advance

Jon Ruddell

unread,
Oct 27, 2017, 5:51:27 PM10/27/17
to kur...@googlegroups.com
I only use the Java client so I am unfamiliar with the node client, but you should pass it with the `uri` parameter that contains the recording path.   For more information, see the following link.  Line 115 details what I mentioned in my last mail, and line 246 detail the RecorderEndpoint parameters.

--
You received this message because you are subscribed to a topic in the Google Groups "kurento" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kurento/jnekoqd_hME/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/6fefe9ae-960a-450b-ab22-79f9a4cea73f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages