|
@@ -134,6 +134,7 @@ if __name__ == "__main__":
|
|
|
counter += 1
|
|
counter += 1
|
|
|
if counter >= 10:
|
|
if counter >= 10:
|
|
|
client.publish("video/heartbeat", "cam1")
|
|
client.publish("video/heartbeat", "cam1")
|
|
|
|
|
+ counter = 0
|
|
|
|
|
|
|
|
pipeline.set_state(Gst.State.NULL)
|
|
pipeline.set_state(Gst.State.NULL)
|
|
|
print("Pipeline dead. Bye")
|
|
print("Pipeline dead. Bye")
|