roster is broadcast

This commit is contained in:
2026-02-09 20:48:43 -08:00
parent 25a775ee96
commit 6028bb5850
3 changed files with 252 additions and 16 deletions
+8 -1
View File
@@ -23,6 +23,12 @@ start_link() ->
init([]) ->
RestartStrategy = {one_for_one, 1, 60},
WebRTC = {fd_httpd_webrtc,
{fd_httpd_webrtc, start_link, []},
permanent,
5000,
worker,
[fd_httpd_webrtc]},
FileCache = {fd_httpd_sfc,
{fd_httpd_sfc, start_link, []},
permanent,
@@ -35,5 +41,6 @@ init([]) ->
5000,
supervisor,
[fd_httpd_clients]},
Children = [FileCache, Clients],
Children = [WebRTC, FileCache, Clients],
%Children = [FileCache, Clients],
{ok, {RestartStrategy, Children}}.