1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added ability to track web sockets per session

This commit is contained in:
Luke Pulverenti 2013-05-09 13:38:02 -04:00
parent 9fa986c511
commit f4eb8f6cdd
4 changed files with 7 additions and 13 deletions

View file

@ -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);
};