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:
parent
2afee2ab2b
commit
b13ff1ba93
2 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue