Commit Graph

35 Commits

Author SHA1 Message Date
Yohann D'ANELLO 7e4adb475a Lock counter map 2020-11-09 18:11:42 +01:00
Yohann D'ANELLO d1c4f81f4e Avoid concurrent map read/write 2020-11-09 18:03:15 +01:00
Yohann D'ANELLO b2104a0cb7 Get stats by a bad but functionnal way 2020-11-09 17:57:55 +01:00
Yohann D'ANELLO 6ca354f44f Web handler adapts its configuration wherever OME support is enabled or not 2020-11-09 17:31:58 +01:00
Yohann D'ANELLO 3d8ba0623d Use config file for OME broadcasting 2020-11-09 17:18:37 +01:00
Alexandre Iooss 01efba3e3f
Handle websocket 2020-10-20 19:12:15 +02:00
Alexandre Iooss e1f83a32df
Put webrtc SDP inside Quality struct 2020-10-19 21:45:23 +02:00
Alexandre Iooss e848d92a1a
Fix viewer count 2020-10-19 20:05:20 +02:00
Alexandre Iooss d263f743f7
Update package web with Quality structure 2020-10-19 19:57:04 +02:00
Yohann D'ANELLO b5aac93c97 Sum all user counts for each substream to have the total number of clients that are connected to a stream 2020-10-18 20:44:31 +02:00
Alexandre Iooss 88dfc22d81
Restructure telnet package 2020-10-17 18:12:25 +02:00
Alexandre Iooss b8ee60ce9f
Use messaging in web package 2020-10-17 12:38:18 +02:00
Alexandre Iooss 9fc94cf0de
Change not found error message 2020-10-16 21:26:48 +02:00
Alexandre Iooss 73a2adc055
Do not allow \ or @ in URL 2020-10-16 21:23:13 +02:00
Alexandre Iooss d8e021b5ed
Fix typo in negotiation 2020-10-14 21:37:05 +02:00
Alexandre Iooss dc01eca73c
Add ?nowidget GET parameter 2020-10-13 19:36:28 +02:00
Yohann D'ANELLO 084ea676be Sort imports 2020-10-13 18:04:00 +02:00
Yohann D'ANELLO a2efa1126f Underscores are ignored by YAML, uses dashes 2020-10-13 17:25:00 +02:00
Yohann D'ANELLO de2ac30292 Replace dots by underscores in MapDomainToStream configuration 2020-10-13 17:18:44 +02:00
Yohann D'ANELLO 4546f3b8fb Map domain to streamid instead of considering that the domain is the streamid: no need to pass a YAML key that contains dots 2020-10-13 17:12:19 +02:00
Yohann D'ANELLO 51d38f6fec Store the clients that are connected to a telnet shell in the connected viewers stats 2020-10-13 11:37:59 +02:00
Yohann D'ANELLO fc96fa4d4e In oneStreamPerDomain mode, allocate the /about to display informations about Ghostream 2020-10-11 23:09:48 +02:00
Alexandre Iooss 87d2992bdf
Add package comments 2020-10-09 22:36:02 +02:00
Yohann D'ANELLO 192c86f140 Count also the viewers that are streaming directly from their video player in the connected users stats 2020-10-05 22:41:19 +02:00
Yohann D'ANELLO 0a1329b929 Separate statistics per stream 2020-10-05 22:09:10 +02:00
Yohann D'ANELLO 022f6fb098 💩 Split webrtc tracks by stream id (need to clean this, stream ID must pass between the session descriptor and the webrtc flux transmit) 2020-10-05 22:00:08 +02:00
Yohann D'ANELLO 3bf27fb0b1 Don't use vars 2020-10-04 18:12:35 +02:00
Yohann D'ANELLO 7831238375 Don't split domain if we use standard HTTP ports 2020-10-04 18:10:11 +02:00
Alexandre Iooss 6cf24cfb85
Add oneStreamPerDomain mode 2020-10-04 17:56:03 +02:00
Yohann D'ANELLO 7ceecad355 ID is better than Id according to Golang 2020-10-02 21:13:50 +02:00
Yohann D'ANELLO ea860a0790 More coverage on web package 2020-09-30 16:09:25 +02:00
Alexandre Iooss f8aa587d0e
Handle error 2020-09-29 18:20:24 +02:00
Alexandre Iooss 078a74add1
Do not read prometheus metrics 2020-09-29 18:17:55 +02:00
Yohann D'ANELLO 2005f3ece1 Store connected viewers in Prometheus and serve this amount 2020-09-29 18:03:28 +02:00
Alexandre Iooss 48c8ff8987
Pack also statics during compilation 2020-09-28 18:06:10 +02:00