mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-29 19:11:00 +01:00
added ability to track web sockets per session
This commit is contained in:
@@ -159,6 +159,9 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
|
||||
|
||||
webSocket.onopen = function () {
|
||||
setTimeout(function () {
|
||||
|
||||
self.sendWebSocketMessage("Identify", deviceId + "|" + clientName);
|
||||
|
||||
$(self).trigger("websocketopen");
|
||||
}, 500);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user