How to record a live stream at the other side when watching?
It's natural for users to find something interesting and record it when subscribing to a live video,
but so far I can only record it when publishing,
is this possible with FMS?
It's natural for users to find something interesting and record it when subscribing to a live video,
but so far I can only record it when publishing,
is this possible with FMS?
I got your idea,so I can nc.call server side function to check the status of the stream,and the function should be like this:
checkstatus(stream){
var l1 = stream.length;
sleep(5);
var l2 = stream.length;
if(l1 == l2){
//not recording
}
}
But is there such a function to sleep() 5 seconds?
You can use setInterval() for doing this logic
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.