I want to send images, as numpy arrays, from my Raspberry Pi to FMS in order to work with OpenCV in python.
Here is what i have so far...... but it is still quite lacking.
# Create a connection
conn = librtmp.RTMP("rtmp://localhost:1935/myapp/file1", live=false)
# Attempt to connect
#packet = conn.read_packet()
# Get a file-like object to access to the stream
stream = conn.create_stream()
# Read 1024 bytes of data
data = stream.read(1024)
conn2 = librtmp.RTMP("rtmp://localhost:1935/myapp/file2.flv", live=True)
stream = conn2.create_stream()
What other approaches could be employed to achieve this?
Retrieving data ...