mediaforge - v0.3.0
    Preparing search index...

    Function streamToUrl

    • Stream a file to an RTMP, SRT, UDP, or other live destination.

      Parameters

      Returns Promise<void>

      await streamToUrl({ input: 'video.mp4', url: 'rtmp://live.twitch.tv/app/STREAM_KEY' });
      await streamToUrl({ input: 'video.mp4', url: 'srt://server:1234', videoCodec: 'libx264' });