« first day (2100 days earlier)   

8:37 AM
I found the problem:
The problem is that I can not record and upload to the server at intervals. Can I create a server-side client that connects to the room and records?
 
9:31 AM
@SalvatoreAD I'm not following
 
@ErikLandvall When I record stream client-side, I upload the file blob every 30 sec. When i concatenate the files of the same partecipant, the video result out of sync. The solution would be to let the server into the room and records directly to the server side. you think you can do?
 
10:01 AM
To me it sounds like you found a secondary solution, that the problem with the synch should be possible to solve imo :) did you have a look at how others solved it? I see a few packages on npm, for instance: npmjs.com/package/recordrtc-nodejs Maybe it doesn't suit your needs?
 
 
1 hour later…
11:17 AM
@All hi...
need some help in nodejs
this is my practice example
var fs = require('fs');

fs.readFile('TestFile.txt', function (err, data) {
    if (err) throw err;

    console.log(data);
});
when i run this, rather than showing the text in the TestFile.txt the output in the console is coming as some buffer value.
can anyone help
 
@SamSam you can try to insert encoder in fs.readFile
fs.readFile('TestFile.txt', 'utf-8', function (err, data) {
if (err) throw err;

console.log(data);
});
 
@SalvatoreAD yes its working now....
thanks..
m learning MEAN stack,...can u suggest the best approach to go ahead with this. As i get keep stucking in these kinda issues and im using notepad as an editor..
 
@SamSam I'm sorry but I do not know much about the subject. I am still a noob
 
@SalvatoreAD ok mate..thanks. for the help.
 
@SamSam (Y)
 
11:51 AM
@SamSam if it's a buffer, just use: console.log(data.toString())
 
@ErikLandvall yes that is working as well..thanks mate.
 

« first day (2100 days earlier)