How to receive the live streaming in Python?

When we create a livestreaming and we are transmitting the content to the kantura portal, we have a URL that we use to watch the livestreaming in real time. The html that runs from this link opens a kaltura player that connects to the streaming stream and starts playing.
We have a need to open this streaming in python to treat the frames with a deep learning model near real time.
Is there a way to open the same streaming that the player receives, outside the player OR is this only possible with videos already recorded after completing the live streaming?
Grateful for the attention.