Replies: 3 comments 6 replies
-
This is not a regression. I think it’s better to include the recoding sessions from the File Publisher in the statistics. If the recording session statistics are not updated, the stream might be seen as unused (for pull streams) and stopped. This issue is related to the problem below. Thanks. :) |
Beta Was this translation helpful? Give feedback.
-
OK thank you, I understand why the change was made - it was not documented so it seemed like a regression. I was using maxTotalConnections to figure out peak viewers because it only reflected external traffic until recently. Now it reflects internal operations too. I think I can work around this by defining another OutputProfile like ${Stream}_rec and targeting that for recording. Does that sound right? |
Beta Was this translation helpful? Give feedback.
-
@Keukhan I am putting this workaround together - do you know if there is an easy way to reuse an encode from one OutputProfile to another? Here is what I am trying to do: Currently, we have a 'stream' OutputProfile that looks like this:
This was used for both playback sessions and recordings (by just recording the video + AAC audio). Now with the change to the API in OME 0.17.2 we can't use it for recordings because maxTotalConnections used to show peak viewership, but now is not accurate. It seems that creating a separate OutputProfile for recording only could fix this issue. If I create another OutputProfile for recording, is there any way to reuse the 'aac_audio' encode from the original 'stream' profile? It seems that the only way to ensure AAC audio for the recording is to create another encode of the same kind. Ideally we would not encode the same material twice. Do you know of a way to achieve this? Thank you! 🚰🚰🚰 |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
In OME 0.17.2 and above, starting a recording causes the stats API to report an additional connection under maxTotalConnections. I believe this is a regression.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
maxTotalConnections should only reflect external connections to the server.
If this is not easily reproducible I can provide more evidence - thank you!
Beta Was this translation helpful? Give feedback.
All reactions