Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
added getLiveStreamMediaInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Jan 11, 2018
1 parent 1fcf0e2 commit 9e7097d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apiclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,21 @@
});
};

ApiClient.prototype.getLiveStreamMediaInfo = function (liveStreamId) {

var postData = {
LiveStreamId: liveStreamId
};

return this.ajax({
url: this.getUrl('LiveStreams/MediaInfo'),
type: 'POST',
data: JSON.stringify(postData),
contentType: "application/json",
dataType: "json"
});
};

ApiClient.prototype.getIntros = function (itemId) {

return this.getJSON(this.getUrl('Users/' + this.getCurrentUserId() + '/Items/' + itemId + '/Intros'));
Expand Down

0 comments on commit 9e7097d

Please sign in to comment.