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

update live stream handling

This commit is contained in:
Luke Pulverenti 2015-03-29 14:31:28 -04:00
parent 2afee2ab2b
commit b13ff1ba93
2 changed files with 10 additions and 10 deletions

View file

@ -1887,14 +1887,14 @@
});
};
self.stopActiveEncodings = function (streamId) {
self.stopActiveEncodings = function (playSessionId) {
var options = {
deviceId: deviceId
};
if (streamId) {
options.streamId = streamId;
if (playSessionId) {
options.PlaySessionId = playSessionId;
}
var url = self.getUrl("Videos/ActiveEncodings", options);