Skip to content

Commit

Permalink
fix: lvpr-tv clipping (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams authored Jul 25, 2024
1 parent 1ba8db4 commit 3a91f1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/lvpr-tv/src/lib/livepeer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { Livepeer } from "livepeer";

if (
!process.env.NEXT_PUBLIC_STUDIO_API_KEY ||
!process.env.NEXT_PUBLIC_STUDIO_BASE_URL
) {
throw new Error("Missing studio API key or base URL");
}

export const livepeer = new Livepeer({
apiKey: process.env.STUDIO_API_KEY ?? "",
apiKey: process.env.NEXT_PUBLIC_STUDIO_API_KEY,
serverURL: process.env.NEXT_PUBLIC_STUDIO_BASE_URL,
});

0 comments on commit 3a91f1a

Please sign in to comment.