You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am streaming usb camera's to rtsp and want to dynamically control the name of the stream based on the camera serial number. This works well by patching the mediamtx.yml file with the proper path name and RunOnDemand string . MediaMTx automatically picks up the changes. Impressive work!
I learn that it is possible to query and control the configuration using the API interface described here. Unfortunately this documentation is very terse and I have not been able to figure out exactly how to use this. The get operations are fairly obvious, but less so the control operations.
My query is if someone can point me in the right direction to get started. I would prefer to use python. Are there a python library around to assist in this?
Thanks for any hints provided.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question
I am streaming usb camera's to rtsp and want to dynamically control the name of the stream based on the camera serial number. This works well by patching the mediamtx.yml file with the proper path name and RunOnDemand string . MediaMTx automatically picks up the changes. Impressive work!
I learn that it is possible to query and control the configuration using the API interface described here. Unfortunately this documentation is very terse and I have not been able to figure out exactly how to use this. The get operations are fairly obvious, but less so the control operations.
My query is if someone can point me in the right direction to get started. I would prefer to use python. Are there a python library around to assist in this?
Thanks for any hints provided.
Beta Was this translation helpful? Give feedback.
All reactions