Video playback stuck at opening and does not recover #818
Replies: 2 comments 4 replies
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @simonebarattin , |
Beta Was this translation helpful? Give feedback.
-
Good morning,
I'm having an issue with the AMC SDK. I'm developing a streaming application in C#, which shows the live stream of 5 different cameras and allows then the user to record and playback the videos.
Everything works, but something strange happens after some time of using the playback function. Basically if I give the command play and stop in rapid sequence, at least one of the 5 displays stops working. I have a listener on the status change that shows a loading screen, and what happens in the "faulty" AMC instance is that it stays in the status
AMC_STATUS.AMC_STATUS_OPENING
, while the others correctly load and start playing the videos.I tried looking for possible causes in the code but couldn't really find anything.
What I did was work around the problem: whenever I have a timeout on the loading I hard-reset the 5 AMC displays. This solution seemed to work at first, after having the timeout the displays resetted as intended and started playing the videos normally.
With resetting I mean removing the control, instantiating it again, and loading it back in the graphic.
However, when I tested the solution on a bigger screen (meaning bigger Axis displays) the solution did not work anymore. What happens is that the faulty class, even after resetting it, stayed in the "OPENING" status and after trying to play other files the problem spreads to the other 4 classes as well. Also, If I continue trying to reset and play different videos, the Axis classes reach a point where they stay in status 0.
I don't really understand what could be the cause of the problem.. is it a bug on my side? the things that I dont understand is that my "workaround" stopped working after the displays got bigger, does this mean it's a renderer problem?
FYI: the cameras are 5 AXIS F2135-RE Fisheye Sensor connected to 2 AXIS F9114 Main Unit. The version of the firmware is the latest and the same goes for the SDK version (7.52). The files I play are the ones I obtain untouched from the recording (.asf videos)
Thank you for your support. Regards,
Simone
Beta Was this translation helpful? Give feedback.
All reactions