Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshare Recording not working #1203

Open
nvazquezg opened this issue Apr 27, 2018 · 3 comments
Open

Screenshare Recording not working #1203

nvazquezg opened this issue Apr 27, 2018 · 3 comments

Comments

@nvazquezg
Copy link

nvazquezg commented Apr 27, 2018

Description
We've defined a Stream to share the screen using the example available in licode-demos project here

Everything works fine with stream publishing and subscribing, but when we try to record it, there are no files generated in the recordings path.
If we record any other stream without screen, it generates a file in the recordings path.

Steps to reproduce the issue:

  1. Start a stream sharing any screen:
myScreen = Erizo.Stream({screen: true, video: {mandatory: {maxWidth: 1280, maxHeight: 720}}, attributes: {name: 'Pantalla Compartida'}});
  1. Start a recording of that stream:
room.startRecording(myScreen, function(recordingId, error) {
  if (recordingId === undefined){
    console.log("Error", error);
  } else {
    console.log("Recording started, the id of the recording is ", recordingId);
  }
});   
  1. Check the Erizo logs to see if there are any errors. There are no errors:
2018-04-27 14:18:18.608  - INFO: ErizoController - Client - message: startRecorder, state: RECORD_REQUESTED, streamId: 844640738440604800, url: /opt/recordings/240347646479480700.mkv
2018-04-27 14:18:18.609  - INFO: RoomController - message: addExternalOuput, streamId: 844640738440604800, url:/opt/recordings/240347646479480700.mkv
2018-04-27 14:18:18.610  - INFO: ErizoController - Client - message: startRecorder, state: RECORD_STARTED, streamId: 844640738440604800, url: /opt/recordings/240347646479480700.mkv
[erizo-7c4b79ff-95e9-ea22-e2ef-cceae2c69b6b] 2018-04-27 14:18:18.613  - INFO: Publisher - message: Adding ExternalOutput, id: /opt/recordings/240347646479480700.mkv_844640738440604800, url: /opt/recordings/240347646479480700.mkv
  1. Stop the recording if you like, it doesn't make any difference. There are no errors:
2018-04-27 14:19:27.266  - INFO: ErizoController - Client - message: startRecorder, state: RECORD_STOPPED, streamId: 240347646479480700, url: /opt/recordings/240347646479480700.mkv
2018-04-27 14:19:27.266  - INFO: RoomController - removeExternalOutput, url: /opt/recordings/240347646479480700.mkv
[erizo-7c4b79ff-95e9-ea22-e2ef-cceae2c69b6b] 2018-04-27 14:19:27.272  - INFO: ErizoJSController - message: Stopping ExternalOutput, id: /opt/recordings/240347646479480700.mkv_844640738440604800
[erizo-7c4b79ff-95e9-ea22-e2ef-cceae2c69b6b] 2018-04-27 14:19:27.276  - INFO: Publisher - message: Removing ExternalOutput, url: /opt/recordings/240347646479480700.mkv

Describe the results you received:
The recording file '/opt/recordings/240347646479480700.mkv' does not exist.

Describe the results you expected:
A recording file '/opt/recordings/240347646479480700.mkv' with the contents of the screen.

Additional information you deem important (e.g. issue happens only occasionally):
Happens every time.

Licode commit/release where the issue is happening
6a6d161
84faaa0
7c5945c

Additional environment details (Local, AWS, Docker, etc.):
Local

@nvazquezg
Copy link
Author

The same exact problem happens using VP8 and H264 as the video encoding in the room.

@footniko
Copy link

Same here.

@peererror
Copy link

peererror commented Apr 13, 2019

this issue still exist in master branch. Licode team @jcague @lodoyun please fix this issue this would be great help to community !! as already working feature is break .Also some times videos are recorded as audio only could please tell me the reason for this I have time and I know rtp and packetization stuff so I can look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants