views:

114

answers:

1

Hi actually i want to display ads between my videos. so how to mix multiple video flvs into one stream? I am using wowza streaming server and it's rtmp protocol.

If I had a scenario where I have 2 flv files, can I build a stream, where the first flv plays for a specified number of seconds/minutes and pause then, the second one starts and completes, and the first resumes and completes?

A: 

A simple way to get what you want is to solve this on the client-side by using a playlist. Most FLV players (like the common JW FLV Player) have options for that. Just set up your playlist like this:

  1. Play first ad
  2. Play main movie
  3. Play last ad