Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

Version 3.0. recording

Artem_M_
New Contributor I
875 Views

Hello. We tryed to start recording in current version. You told us that it should work in not mix mode, but we still have errors.

We created room:

{
	"name": "b9f24379544e8033e9cd916cc0bbc2b6",
	"mode": "hybrid",
	"publishLimit": -1,
	"userLimit": -1,
	"mediaMixing": {
		"video": {
			"avCoordinated": 0,
			"maxInput": 16,
			"resolution": "vga",
			"multistreaming": 0,
			"bitrate": 0,
			"bkColor": "black",
			"layout": {
				"base": "fluid",
				"custom": []
			}
		},
		"audio": null
	},
	"enableMixing": 0,
	"_id": ObjectId("56bbb96eaedbf07233722fe7")
}

We started recorder after recieving stream-added:

var nativeStreamId = stream.id();
conference.startRecorder({
	videoStreamId: nativeStreamId,
	audioStreamId: nativeStreamId,
	//videoCodec: 'h264',//'vp8'/'h264',
	//audioCodec: 'pcmu',//'pcmu'/'opus',
	//recorderId: 'zzzzzz'
}, function (file) {
//conference.startRecorder({}, function (file) {
	console.log('Stream recording with recorder ID: ', file.recorderId);
}, function (err) {
	L.Logger.error('Media recorder failed:', err);
}); 

In cconfiguration(in attachment with logs) we use:

// If undefined, the path will be /tmp/
config.erizoController.recording_path = undefined; // default value: undefined

// If true and the maxProcesses allows, the mixer will be run in a dedicated process.
config.erizoController.outOfProcessMixer = false;

config.erizoAgent = {};

config.erizoAgent.interval_time_keepAlive = 1000; // default value: 1000
// config.erizoAgent.networkInterface = 'eth0' // default value: undefined

// Max processes that ErizoAgent can run
config.erizoAgent.maxProcesses = 13; // default value: 13
// Number of precesses that ErizoAgent runs when it starts. Always lower than or equals to maxProcesses.
config.erizoAgent.prerunProcesses = 1; // default value: 2

We recieve errors:

ERROR: Media recorder failed: Error in start recording: error - in browser

ERROR: ErizoJSController - Failed adding ExternalOutput to /#at9skX6eC2u7j9dpAAAA and /#at9skX6eC2u7j9dpAAAA with url /tmp/room56bbb96eaedbf07233722fe7_2016021102324842.mkv - in logs

Logs contains:

  • -start of service
  • -connection to room from last chrome browser
  • -starting stranslation
  • -attempt to start recorder
  • -stop translation

 

 

0 Kudos
9 Replies
Chunbo_H_Intel1
Employee
875 Views

Hi Artem,

I observed that "Room  xxx1  does not exist" pops from the log, anything goes wrong there?

And what is the Chrome version you're using?

Thanks!

0 Kudos
Artem_M_
New Contributor I
872 Views
[0mGET /createTokenX/56bbb96eaedbf07233722fe7/f96615852cfeed57626fa7cf2b139a96 [32m200 [0m133.009 ms - 248[0m
Wed, 10 Feb 2016 23:33:04 GMT express deprecated res.send(status): Use res.sendStatus(status) instead at basicServer.js:87:13
[0mGET /createTokenX/xxx1/user [33m404 [0m4.411 ms - 9[0m
[0mGET /createTokenX/xxx1/user [33m404 [0m9.025 ms - 9[0m
[0mGET /createTokenX/xxx1/user [33m404 [0m4.426 ms - 9[0m

That log info - is dump requests from some other client side. It's not influence on anything. Helpful information in other log files

0 Kudos
Chunbo_H_Intel1
Employee
872 Views

what is the Chrome version you're using?

0 Kudos
Deepa_G_
Beginner
872 Views

Hello Chunbo,

i was able to get recording to work in latest Version 3 update 2.

But there is a problem with audio when using the default room (Mix enabled)

1. When I have single person that persons voice is recorded.

2. When 2 persons in conference -- the initial person audio is not record only 2nd person audio is recorded

3. When 3 persons in conference, still only one person's audio is recorded other 2 person's audio are not recorded

Code details i have invoked at trySubscribeStream 

var nativeStreamId = stream.id();

conference.startRecorder({
                videoStreamId: nativeStreamId,
                audioStreamId: nativeStreamId,

Is there anything i have missed?

if i grep for error in logs dir i get below is this the cause of this audio issue?

rizo-4ad7223a-a583-f9b4-b0e0-84f27ca5d179.log:2016-02-21 22:47:57,021  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-4ad7223a-a583-f9b4-b0e0-84f27ca5d179.log:2016-02-21 22:47:57,058  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-4ad7223a-a583-f9b4-b0e0-84f27ca5d179.log:2016-02-21 22:47:57,099  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-4ad7223a-a583-f9b4-b0e0-84f27ca5d179.log:2016-02-21 22:47:57,148  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:13,902  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:13,946  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:13,978  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:14,004  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:14,061  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:14,082  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:14,109  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1
erizo-8158d0d4-d6ad-c5c9-2d6d-894085ff7354.log:2016-02-22 17:47:14,140  - ERROR: woogeen.VCMFrameDecoder - Decode frame error: -1

 

Would appreciate your help.

Thanks

0 Kudos
Sergey_P_1
Beginner
872 Views

Hi Chunbo!

We use 48.0.2564.116 m version of Chrome and we work in forward mode.

0 Kudos
Chunbo_H_Intel1
Employee
872 Views

Hi Sergey,

Our QA engineers have tried to reproduce the issue you described but it seems not reproducible to us…

Could you check whether you have the access permission to write data to /tmp folder?

Thanks!

0 Kudos
Artem_M_
New Contributor I
872 Views

Yes of cause All rights were set to 777

drwxrwxrwt   8 root root  4096 Mar 22 12:33 tmp

 

0 Kudos
Chunbo_H_Intel1
Employee
872 Views

We've released the new version of CS for WebRTC. Please use the latest and check whether your issues are still there or not.

Thanks!

0 Kudos
Daghe
Beginner
872 Views

which file can set startRcord,i didn't find it

0 Kudos
Reply