Wowza Community

Playlist Module set item ?

Hi

How do I change the playlist index item

stream.getPlaylist().set(1,new PlaylistItem(“mp4:”+temp.get(“file_name”), Integer.parseInt(temp.get(“start”).toString()), Integer.parseInt(temp.get(“end”).toString()), 1));

I can not change the item 1