with Rumble and Mux?
Emit new event when a livestream becomes live in Rumble. See the documentation
Adds an asset track (for example, subtitles) to an asset. See the documentation
Returns an Asset or Livestream ID from a Playback ID. See the documentation
Rumble is a video hosting platform that encourages content discovery and sharing. With the Rumble API on Pipedream, you can automate video uploads, manage user content, and analyze video performance metrics. For instance, you might automate video uploads in response to events, sync video statistics to a database for analysis, or integrate with social media platforms to widen your content's reach.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rumble: {
type: "app",
app: "rumble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rumble.com/-livestream-api/get-data`,
params: {
key: `${this.rumble.$auth.live_streaming_api_key}`,
},
})
},
})
Mux is a powerful API that simplifies the process of working with video and audio data. By leveraging Mux on Pipedream, you unlock the potential to automate video and audio streaming workflows, analyze media performance, and integrate seamlessly with other services to enrich your media content strategy. With Mux's ability to manage video assets, including uploading, encoding, and delivering content across devices, combined with Pipedream's serverless execution model, you can create dynamic, scalable, and highly customized media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mux: {
type: "app",
app: "mux",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mux.com/video/v1/assets`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.mux.$auth.access_key}`,
password: `${this.mux.$auth.secret_key}`,
},
})
},
})