projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1613734
)
[MQTTsrc] change the keep alive interval
author
Hyoung Joo Ahn
<hello.ahn@samsung.com>
Wed, 12 May 2021 11:12:38 +0000
(20:12 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Thu, 13 May 2021 02:18:49 +0000
(11:18 +0900)
set the DEFAULT_MQTT_KEEP_ALIVE_INTERVAL to 1 minute.
Signed-off-by: Hyoung Joo Ahn <hello.ahn@samsung.com>
gst/mqtt/mqttsrc.c
patch
|
blob
|
history
diff --git
a/gst/mqtt/mqttsrc.c
b/gst/mqtt/mqttsrc.c
index
06d5f44
..
5ecde40
100644
(file)
--- a/
gst/mqtt/mqttsrc.c
+++ b/
gst/mqtt/mqttsrc.c
@@
-58,7
+58,7
@@
enum
DEFAULT_DEBUG = FALSE,
DEFAULT_IS_LIVE = TRUE,
DEFAULT_MQTT_OPT_CLEANSESSION = TRUE,
- DEFAULT_MQTT_OPT_KEEP_ALIVE_INTERVAL =
1000000,
/* 1 minute */
+ DEFAULT_MQTT_OPT_KEEP_ALIVE_INTERVAL =
60,
/* 1 minute */
DEFAULT_MQTT_SUB_TIMEOUT = 10000000, /* 10 seconds */
DEFAULT_MQTT_SUB_TIMEOUT_MIN = 1000000, /* 1 seconds */
};