fix for holding frames in output queue if no publisher#92
fix for holding frames in output queue if no publisher#92ad-astra-video merged 1 commit intomainfrom
Conversation
eliteprox
left a comment
There was a problem hiding this comment.
@ad-astra-video Thanks for resolving this critical bug which was likely introduced in #36
I noticed the tests are hanging on your change. Can you test if the change in #93 solves the issue the same?
pytrickle/pytrickle/protocol.py
Lines 367 to 371 in ac2cbbc
This will make it easier to reference publish_task and ensure the frames make it back to the protocol for keeping egress fps accurate
e8e7632 to
33814a7
Compare
|
The fix in #93 seems to work as well so I have used that fix here now in the protocol rather than the client. Do you think we should record egress metrics if not sending or put the I think there are two sides of it:
|
|
You make a good point, I could see it both ways. I think we should not record egress FPS when there is no media publisher. It might be confusing to see egress_fps in stream metrics with no media publishing configured. For a pipeline which has no video/audio output and only produces text, perhaps we could later add a new metric like "data messages per second" |
|
I'm also fine with keeping the egress metric, it is good for visibility and analyzing frame processor performance |
Quick fix for when a publisher is not started because video egress is turned off to not add to output queue.
Output queue has a max of 200 but at larger frame size memory usage expands quite a bit.