Streaming a video over MQTT protocol
Is streaming a video over MQTT protocol feasible for Camera based application? Would like to know if someone tried sending a video to the server.
7 Replies
could try that but the fps will be verry low .... you can use mqtt to trasfer specific frames but not a 15 fps video ... rather go with websockets or webrtc
I wonder if there's a workaround for the fps issue, like frame compression. Have you seen any successful video implementations using MQTT?
not exactly frame compression but these this encoders available... like h264 or h265 using them you can decrease the size and may use mqtt but again like .. i would say use webrtc after compression
Ok, I understand. thanks @abhishek awasthi
Hey @abhishek awasthi there is MQTT over WebSocket too. But not sure if in this case it can help for Streaming images or videos.
yea its not that usefull coz mqtt will never be able to go hand in hand with fps ..
GitHub
GitHub - sepfy/libpeer: WebRTC Library for IoT/Embedded Device using C
WebRTC Library for IoT/Embedded Device using C. Contribute to sepfy/libpeer development by creating an account on GitHub.