gkozlenko/node-media-server

Streaming from .mp4 file.

Opened this issue · 0 comments

I've recorded an RTMP file to .mp4, how can I stream from file (instead of live) to an flv player on the front end?

My config.

{
  trans: {
    ffmpeg: "/usr/local/bin/ffmpeg",
    tasks: [
      {
        app: "live",
        mp4: true,
        mp4Flags: "[movflags=frag_keyframe+empty_moov]",
      },
    ],
  },
}