Write stopped time to database for all events
* To prevent the "long duration" websocket issue for missing stop events
This commit is contained in:
@@ -83,7 +83,7 @@ class ActivityProcessor(object):
|
||||
'transcode_audio_channels': session.get('transcode_audio_channels', ''),
|
||||
'transcode_width': session.get('stream_video_width', ''),
|
||||
'transcode_height': session.get('stream_video_height', ''),
|
||||
'stopped': None
|
||||
'stopped': int(time.time())
|
||||
}
|
||||
|
||||
# Add ip_address back into values
|
||||
|
Reference in New Issue
Block a user