Hi L,
Thanks for your help!
I am still having issues with event handlers.
To give you some context :
I went to file janus.jcfg and on "events" I changed broadcast to true & stats_period = 5.
On file janus.eventhandler.sampleevh.jcfg I changed enabled=true & backend to my localhost:8000(my url) and commented user and password as you recommended.
I have http server python -m SimpleHTTPServer 8000 running and janus running aswell and I get the following errors when running a Stream on Janus :
[FATAL] [events/janus_gelfevh.c:janus_gelfevh_init:375] GELF event handler not enabled/needed, giving up...
[WARN] Retransmitting event in 100 ms...
[ERR] [events/janus_sampleevh.c:janus_sampleevh_handler:763] Couldn't relay event to the backend: Timeout was reached
On the other side, when starting a HTTP server on port 8000, the following error appears :
127.0.0.1 - - [08/Aug/2022 22:25:13] code 501, message Unsupported method ('POST')
127.0.0.1 - - [08/Aug/2022 22:25:13] "POST / HTTP/1.1" 501 -
Can you help me solving these errors please ?
Thank you !
Kind Regards,
Minal