mux-node-sdk
mux-node-sdk copied to clipboard
Official Mux API wrapper for Node projects, supporting both Mux Data and Mux Video.
### Summary The `create` and `update` method interfaces from `LiveStream` don't include the `reconnect_slate_url` param mentioned in the Mux API docs https://github.com/muxinc/mux-node-sdk/blob/d68c9cd29859c10d5a8d38c190feb92920c329b1/src/video/domain.ts#L269-L281 https://github.com/muxinc/mux-node-sdk/blob/d68c9cd29859c10d5a8d38c190feb92920c329b1/src/video/domain.ts#L283-L288 #### TS Compiler Error At moment we're...
https://github.com/muxinc/mux-node-sdk/blob/93ed6c41dd8128b3f39e86a0abd70ecfda177229/src/data/resources/metrics.ts#L49
I noticed that, when an asset is created starting from another asset (e.g. when one generates clips), a `source_asset_id` property is present. This PR adds that property to the `Asset`...
`deleteTrack` also accepts the track id, not just the asset id.
MUX Data API reference says that possible values are "95th" "median" "avg" "count" "sum" ![Skjermbilde 2021-07-21 kl 2 34 33 pm](https://user-images.githubusercontent.com/61694629/126497624-9a668bd4-14f1-4ae8-a672-8a72a320ce2d.png) Yet the types in `MetricsBreakdownQueryParams` are only `'95th' |...
The `require('fs')` line crashes in cloudflare workers environment. https://github.com/muxinc/mux-node-sdk/blob/master/src/utils/jwt.js#L6 https://community.cloudflare.com/t/cant-resolve-fs-in-cloudflare-workers/112762
Any chance you could support creation of a Webhook via a new API given client id & secret? Or perhaps an API to verify that a webhook exists for the...
We have been using the JWT utility to sign our secure URL tokens. Recently our thumbnails started disappearing. It turned out that expiration was not set in an expected format....