You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have simple siprec call with 2 media streams, no SSRC switching
Mixing-related options of rtpengine-recording:
output-mixed = true
output-single = true
mix-method = channels
output-mixed-per-media = true
mix-num-inputs = 2
We expect to see 2 mono recorded files (one file per media stream) and stereo mixed recorded file where each channel contains audio from corresponding media stream. Generally speaking, we expect the same result as with output-mixed-per-media = false.
Unexpected behaviour you saw
Mono files are OK, in stereo file only one channel has audio from one stream, second channel is empty.
Steps to reproduce the problem
Session with rtpengine created via commands offer/answer (piece of rtpengine log with command content attached), recording started via command "start" (piece of rtpengine log with command content attached).
Attached:
Metafile, created by rtpengine
Piece of rtpengine log with processing of commands "offer", "answer" and "start recording"
Piece of rtpengine-recording log with processing of session for call ID [email protected]
Btw, from rtpengine-recording log is clear that in case of packet from stream with SSRC 0x50a545bf function mix_add() always go to errror exit here
err = "received samples for old re-used input channel";
if (ptr != mix->input_ref[idx])
goto err;
what causes corresponding error log output.
Additional program output to the terminal or logs illustrating the issue
rtpengine version the issue has been seen with
git-HEAD-5e14aac1
Used distribution and its version
Red Hat Enterprise Linux 8.10
Linux kernel version used
4.18.0-553.32.1.el8_10.x86_64
CPU architecture issue was seen on (see
uname -m
)x86_64
Expected behaviour you didn't see
We have simple siprec call with 2 media streams, no SSRC switching
Mixing-related options of rtpengine-recording:
output-mixed = true
output-single = true
mix-method = channels
output-mixed-per-media = true
mix-num-inputs = 2
We expect to see 2 mono recorded files (one file per media stream) and stereo mixed recorded file where each channel contains audio from corresponding media stream. Generally speaking, we expect the same result as with output-mixed-per-media = false.
Unexpected behaviour you saw
Mono files are OK, in stereo file only one channel has audio from one stream, second channel is empty.
Steps to reproduce the problem
Session with rtpengine created via commands offer/answer (piece of rtpengine log with command content attached), recording started via command "start" (piece of rtpengine log with command content attached).
Attached:
Btw, from rtpengine-recording log is clear that in case of packet from stream with SSRC 0x50a545bf function mix_add() always go to errror exit here
err = "received samples for old re-used input channel";
if (ptr != mix->input_ref[idx])
goto err;
what causes corresponding error log output.
Additional program output to the terminal or logs illustrating the issue
No response
Anything else?
Attached files:
rtpengine_files.zip
The text was updated successfully, but these errors were encountered: