Wowza Community

Smil file item playing event

Hi,

I have a smil file with one playlist playing on one stream. That playlist has many files, like that:

<smil>
    <head>
    </head>
    <body>
        <stream name="stream1"></stream>
        
        <playlist name="pl1" playOnStream="stream1" repeat="true" scheduled="2016-01-01 00:00:00">
            <video src="mp4:sample1.mp4" start="0" length="-1"/>
            <video src="mp4:sample2.mp4" start="0" length="-1"/>
            <video src="mp4:sample3.mp4" start="0" length="-1"/>
            <video src="mp4:sample4.mp4" start="0" length="-1"/>
            <video src="mp4:sample5.mp4" start="0" length="-1"/>
            <video src="mp4:sample6.mp4" start="0" length="-1"/>
            <video src="mp4:sample7.mp4" start="0" length="-1"/>
            <video src="mp4:sample8.mp4" start="0" length="-1"/>
            <video src="mp4:sample9.mp4" start="0" length="-1"/>
            <video src="mp4:sample10.mp4" start="0" length="-1"/>
        </playlist>
    </body>
</smil>

Is it possible to get the event of each file of the playlist started, with Wowza Java API?

Thanks,

Maurizio

Hi Maurizio,

Are you looking for a method to trigger notifications for each playlist item? You can look at the onPlaylistItemStart() method in the IStreamActionNotify interface. You will need to add an event listener in your module as well.

Michelle