Janus events by MQTT or http event handler

224 views
Skip to first unread message

jnic...@gmail.com

unread,
Feb 26, 2019, 1:13:42 PM2/26/19
to meetecho-janus
Hi!
I have some problems with getting janus events, for example:
start stream (event "starting" worked fine on MQTT or http handler)
stop stream - no events 
start stream again (event ok)
stop stream (event ok)
start stream (event ok)
stop stream - no events
And this behavior in my case fair for both
I started and stop one stream from basic janus html page
In the same time stream worked correctly on web page by events no and I can't understand why?
For example configuration for http handler events 
general: {
 enabled
= true
 events
= "plugins"
 grouping
= false
 json
= "indented"
 backend
= "http://my_simple_api"
 
#backend_user = "myuser"
 
#backend_pwd = "mypwd"
 
#max_retransmissions = 5
 
#retransmissions_backoff = 100
}
What I need to check? Thanks!
Message has been deleted

lmin...@gmail.com

unread,
Feb 27, 2019, 4:31:09 AM2/27/19
to meetecho-janus
Hi,

you should elaborate which kind of messages you're waiting for that you think don't arrive. Is it session events? handle events? plugin events? Everything seems to be working as expected here. Notice that, even if you don't get some events from plugins, if you're notified that the related handle has been detached, you can infer the signaling (e.g., handle of a publisher detached, means publisher doesn't have a PeerConnection anymore and left).

Lorenzo
Message has been deleted

jnic...@gmail.com

unread,
Feb 27, 2019, 4:38:19 AM2/27/19
to meetecho-janus
Hi
plugin events - stopping streaming
Here logs of events and janus actions  https://pastebin.com/DnVTCnfd
This behavior no specific sequence of action
For example:
 - create one new stream
first action with this stream
- start streaming (event handler starting - work always)
- stop streaming (event handler stopping - work as it like) 
In one case i get both events - starting/stopping
another - only starting (without stop events - after real stop)


среда, 27 февраля 2019 г., 12:31:09 UTC+3 пользователь lmin...@gmail.com написал:
Reply all
Reply to author
Forward
0 new messages