Hi,
I have been testing based on this article
And I have noticed that in the
class LiveStreamPacketizerDataHandler implements IHTTPStreamerCupertinoLivePacketizerDataHandler2
{
private LiveStreamPacketizerCupertino liveStreamPacketizer = null;
private int textId = 1;
public LiveStreamPacketizerDataHandler(LiveStreamPacketizerCupertino liveStreamPacketizer)
{
this.liveStreamPacketizer = liveStreamPacketizer;
}
public void onFillChunkStart(LiveStreamPacketizerCupertinoChunk chunk)
{
getLogger().info("ModuleCupertinoVODOnTextToID3.onFillChunkStart["+chunk.getRendition().toString()+":"+liveStreamPacketizer.getContextStr()+"]: chunkId:"+chunk.getChunkIndexForPlaylist());
if you set transcode template(s) for the stream,
then the LiveStreamPacketizerDataHandler 's onFillChunkStart will be called same number of time as the number of the transcode template that I set for the stream.
Now my question is that is there a way to distinguish which stream’s ts chunk has been processing the handler ?
I do not see there is any method that I could used from
LiveStreamPacketizerCupertinoChunk chunk
Thank you
Oli