This repository was archived by the owner on Jul 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
KMS 6.61, GST 1.18.4 - RecorderEndpoint refuses to record H.264 to MP4 or MKV #641
Copy link
Copy link
Open
Description
Prerequisites
These are MANDATORY, otherwise the issue will be automatically closed.
- I agree to fill this issue template.
- I have read the Troubleshooting Guide and Support Instructions.
Issue description
The browser negotiates a H.264 connection successfully with KMS. After connecting a RecorderEndpoint to the WebRtcEndpoint the recording session is closed several seconds later.
Context
- Browser let's KMS offer
- Agrees on H.264. WebRtcEndpoint receives MediaTranscodingStateChange as NOT_TRANSCODING
- Connecting prepared RecorderEnpoint (to local file, MP4_VIDEO_ONLY) on MediaFlowOutStateChange of WebRtcEndpoint.
- RecorderEndpoint MediaFlowInStateChanged fires with FLOWING
- RecorderEnpoint receives Recording event
- The trace below appears in the KMS log 15 seconds later
- RecordingEndpoint receives NOT_FLOWING event and is stopped then
The log output:
2022-11-23T15:31:48,375346 977 0x0000ffff07ffe690 warning enctreebin kmsenctreebin.c:458 kms_enc_tree_bin_configure() <kmsenctreebin32> Invalid encoder for caps: video/x-h264, stream-format=(string)avc, alignment=(string)au, width=(int)640, height=(int)360, codec_data=(buffer)0142c01fffe1000f6742c01f8c8d405017fcb00f08846a01000468ce3c80, level=(string)3.1, profile=(string)constrained-baseline, framerate=(fraction)0/1, parsed=(boolean)true
2022-11-23T15:31:50,358623 977 0x0000fffeeb7fd690 warning recorderendpoint kmsrecorderendpoint.c:1346 kms_recorder_endpoint_on_eos() <kmsrecorderendpoint40> Releasing pending pads
How to reproduce?
Hmm. Not really an idea
Expected & current behavior
Should record to MP4 as it does if the video connection runs VP8
Info about your environment
- KMS source compilation, GST source compilation. Running in VM on same machine
About Kurento Media Server
- Kurento version: 6.16.0
- Server OS: Ubuntu 20.04 ARM64
- Installation method:
About your Application Server
- Programming Language: Node JS
- Kurento Client version: 6.16.0
About end-user clients
- Device(s): Mac
- OS(es): Ventura 13.01
- Browser(s): Chrome 107.0.5
Run these commands
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"
kurento-media-server --version
Kurento Media Server version: 6.16.0
Found modules:
'core' version 6.16.1~15.gcf111ef4
'elements' version 6.16.1~19.gb38df49
'filters' version 6.16.1~3.gec9da10
'webrtcarucocode' version 0.1.6~14.g7bb9038
'webrtcbarcode' version 0.1.6~5.gfd167d4
'webrtccbr' version 0.1.6~7.gb9ddf5e
dpkg -l | grep -Pi 'kurento|kms-|gst.*1.5|nice'
no output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels