Kurento / bugtracker

[ARCHIVED] Contents migrated to monorepo: https://github.com/Kurento/kurento
46 stars 10 forks source link

fixme: stream-start event without group-id in kurento 6.15 - record file created with 0 size #565

Closed meyrow closed 3 years ago

meyrow commented 3 years ago

I would like to record a video stream with kurento 6.15. I used git hub example "kurento-group-call" and it is working excellent !. Thanks ! https://doc-kurento.readthedocs.io/en/latest/tutorials/java/tutorial-groupcall.html

The next step I would like to do, is to record the video of each UserSession / Participant.

In java i wrote this code taking place when a ConnectionStateChangedEvent change state from disconnected to connected. userRecorder = new RecorderEndpoint.Builder(this.pipeline,recordDestination).withMediaProfile(mediaProfileType).build(); userRecorder.connect(this.webRtcEndpoint); userRecorder.record();

That should do the job for activating record on media server. On kurento media server the record file was created but the file size is zero.

In kurento media server log file an issue was logged (path to log: /var/log/kurento-media-server) fixme basesink gstbasesink.c:3125 gst_base_sink_default_event() stream-start event without group-id. Consider implementing group-id handling in the upstream elements fixme default gstutils.c:3766 gst_pad_create_stream_id_internal() Creating random stream-id, consider implementing a deterministic way of creating a stream-id

This fixme do not tell how to fix group-id issue. I tried to learn from other examples. There aren't any example which explicit the use of group-id.

The same problem was reported here: #Kurento/bugtracker/issues/228 (It was closed by a Kurento fix release).

github-actions[bot] commented 3 years ago

Hello @meyrow! :wave: we're sorry you found a bug... so first of all, thank you very much for reporting it.

However, your report doesn't follow the issue template, so it is being automatically closed. We are really sorry for that, but we need all reports to follow the template, or else it won't be possible to understand and help with all issues.

Please, create a new issue following the template, or reopen this same issue to edit and provide all required information.