licode
licode copied to clipboard
Audio only stream is not recorded
Description Audio only stream ( Erizo.Stream({audio: true, video: false, data: false}) ) is not recorded.
Steps to reproduce the issue: 1.Start recording on audio only stream 2.Stop recording
Describe the results you received: no mkv files on server
Describe the results you expected: stream is recorded to mkv files while it is streaming.
Additional information you deem important (e.g. issue happens only occasionally): We use this commit of licode.
Before this commit, we got other problem, so we are using this version.
Licode commit/release where the issue is happening On V2 of licode, audio only stream was recorded correctly.
We checked the logs. Strangely, there are descriptions that file creation succeeded in the log files. But file does not exist in that location.
Any help will be appreciated. Thank you very much.
from logs: `2018-04-05 22:12:59.493 - INFO: ErizoController - Client - message: startRecorder, state: RECORD_REQUESTED, streamId: 341930205815933060, url: /home/ubuntu/recording/27856330584675516.mkv 2018-04-05 22:12:59.493 - INFO: RoomController - message: addExternalOuput, streamId: 341930205815933060, url:/home/ubuntu/recording/27856330584675516.mkv 2018-04-05 22:12:59.496 - INFO: ErizoController - Client - message: startRecorder, state: RECORD_STARTED, streamId: 341930205815933060, url: /home/ubuntu/recording/27856330584675516.mkv
[erizo-cebf2962-9ec4-11c3-192e-fb530f3e1b25] 2018-04-05 22:12:59.501 - INFO: Publisher - message: Adding ExternalOutput, id: /home/ubuntu/recording/27856330584675516.mkv_341930205815933060 2018-04-05 22:12:59,502 - DEBUG [0x7f65fe357780] media.ExternalOutput - Creating output to /home/ubuntu/recording/27856330584675516.mkv
[erizo-cebf2962-9ec4-11c3-192e-fb530f3e1b25] 2018-04-05 22:12:59,526 - DEBUG [0x7f65e37fe700] media.ExternalOutput - File /home/ubuntu/recording/27856330584675516.mkv, audio offset msec: 0`
I just found that audio_stream_ is null and then exit in ExternalOutput::writeAudioData at following place.
if (audio_stream_ == nullptr) { // not yet. return; }
But I am not sure what's causing this problem.
Thanks for the help.
Video only stream (no audio) is also not recorded. This is some how related to issue https://github.com/lynckia/licode/issues/1203.
I wonder why no one cares about the recording. After release of 3 major versions the recording still has serious issues and is almost useless:
- Recording does not work for audio-only and video-only streams (#1185, #1203).
- Playing recorded stream does not work at all (#317).
It is while there are PRs committed by the community without getting any attention (#1254, #1265).
Without a doubt recording is one of the most important features for a web conferencing solution and in a real business people refuse to pay for a service that lacks recording. Unfortunately the subject is out of my experience so I can't help but I hope to see more care on this from the team.
I am facing the same issue
I wonder why no one cares about the recording. After release of 3 major versions the recording still has serious issues and is almost useless:
- Recording does not work for audio-only and video-only streams (#1185, #1203).
- Playing recorded stream does not work at all (#317).
It is while there are PRs committed by the community without getting any attention (#1254, #1265).
Without a doubt recording is one of the most important features for a web conferencing solution and in a real business people refuse to pay for a service that lacks recording. Unfortunately the subject is out of my experience so I can't help but I hope to see more care on this from the team.
That's why I've moved on to another solution. Recording is a critical feature and must be reliable IMHO.