We have an audio stream running on an RTMP server and we tried to use librtmp library in Python to read the stream. We used the following code to get the stream
librtmp