Browse Source

FIX: prosody: output string for time and position in jibri queue

j8
Aaron van Meerten 5 years ago
parent
commit
3da7798e9f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      resources/prosody-plugins/mod_jibri_queue_component.lua

+ 2
- 2
resources/prosody-plugins/mod_jibri_queue_component.lua View File

186
         outStanza:tag("token"):text(token):up()
186
         outStanza:tag("token"):text(token):up()
187
     end
187
     end
188
     if time then
188
     if time then
189
-        outStanza:tag("time"):text(time):up()
189
+        outStanza:tag("time"):text(tostring(time)):up()
190
     end
190
     end
191
     if position then
191
     if position then
192
-        outStanza:tag("position"):text(position):up()
192
+        outStanza:tag("position"):text(tostring(position)):up()
193
     end
193
     end
194
     module:log("info","Oubound stanza %s",inspect(outStanza));
194
     module:log("info","Oubound stanza %s",inspect(outStanza));
195
     module:send(outStanza);
195
     module:send(outStanza);

Loading…
Cancel
Save