Enhanced Docker and Nginx configurations - Can now run frontend either on local dev version OR the docker version; Improved socket connection handling; Refactored stream data fetching in VideoPage to properly display stream data; Chat-Visibility Button moved to ChatPanel so that chat's socket persists when hiding/showing chat;
10 lines
243 B
Python
10 lines
243 B
Python
from flask_socketio import SocketIO
|
|
|
|
socketio = SocketIO(
|
|
cors_allowed_origins="*",
|
|
async_mode='gevent',
|
|
logger=False, # Reduce logging
|
|
engineio_logger=False, # Reduce logging
|
|
ping_timeout=5000,
|
|
ping_interval=25000
|
|
) |