Hi, I’m trying to run the example publicated at https://www.wowza.com/docs/how-to-use-generic-stream-target-api-to-prepare-apple-hls-streams-for-ad-insertion-scte-35
When I tried to play the new HLS is does not work because all the created TS have a 0 length.
After debugged the code I saw that when it tries to retrieve the fragment list of a MediaSegment is null.
Line 503: PacketFragmentList list = mediaSegmentHolder.mediaSegment.getFragmentList();
I checked that in the sendMediaSegment method (line 942) the ‘fresh’ MediaSegment that arrives as method’s parameter come with the fragment list ok. But, the pending does not have it, it’s null.
Line: 956 - MediaSegmentHolder sendMediaSegment = this.pendingMediaSegment;
Am I the only one with this problem?
Any clue will be welcomed, I’m very novice with Wowza. Best regards.