mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-08-03 15:22:36 +00:00
Fixes duplicate clients.
This commit is contained in:
parent
d00aa3444e
commit
29b97731b4
1 changed files with 1 additions and 2 deletions
|
|
@ -163,8 +163,7 @@ def stream_ts(request, channel_id):
|
|||
logger.info(f"[{client_id}] Client registered with channel {channel_id}")
|
||||
|
||||
# Start stream response
|
||||
def generate():
|
||||
client_id = f"client_{int(time.time() * 1000)}_{random.randint(1000, 9999)}"
|
||||
def generate():
|
||||
stream_start_time = time.time()
|
||||
bytes_sent = 0
|
||||
chunks_sent = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue