EXT-X-PROGRAM-DATE-TIME in Release 4.4.1

Hi,

I’m testing the latest release. So the new property in HTTPStreamers>Properties called “cupertinoEnableProgramDateTime” would be nice for us. But, if I do it right, it will not work.

Just got my Information from the release notes which said :

Added HTTPStreamer/Properties property to control display of program date and time headers in Apple HLS (cupertino) chunklists for live streams. This property must be true and program date and time set in chunk for the header to display:

cupertinoEnableProgramDateTime: Boolean property to control if EXT-X-PROGRAM-DATE-TIME headers are added to chunklist (default is false)

What I’ve done

                <HTTPStreamer>
                        <Properties>
                                <Property>
                                        <Name>cupertinoEnableProgramDateTime</Name>
                                        <Value>true</Value>
                                </Property>
                              <Property>
                                        <Name>cupertinoUserHTTPHeaders</Name>
                                        <Value>Access-Control-Allow-Origin: *</Value>
                                </Property>
                              <Property>
                                        <Name>mpegdashUserHTTPHeaders</Name>
                                        <Value>Access-Control-Allow-Origin: *</Value>
                                </Property>
                              <Property>
                                        <Name>smoothUserHTTPHeaders</Name>
                                        <Value>Access-Control-Allow-Origin: *</Value>
                                </Property>
                        </Properties>
                </HTTPStreamer>

But a

curl http://10.10.40.22/clemschltest/_definst_/what/a/test.mp4/chunklist_w237516550.m3u8

returns

#EXTM3U

#EXT-X-VERSION:3

#EXT-X-ALLOW-CACHE:NO

#EXT-X-TARGETDURATION:12

#EXT-X-MEDIA-SEQUENCE:17

#EXTINF:11.745,

media_w237516550_17.ts

#EXTINF:5.823,

media_w237516550_18.ts

#EXTINF:11.713,

media_w237516550_19.ts

Are there any further hints? :confused:

Thanks a lot!

– Tom

Hi Tom,

There is a preliminary step that you would need to implement in order to view this header in the generated manifest.

You would need to use the following method to intercept the packetizing process:

https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream

in any of the calls:

onFillChunkStart

onFillChunkEnd

onFillChunkDataPacket

You can set the program-date and time for that chunk by invoking the chunk.setProgramDateTime(str) method. You would need to do this for each chunk.

Michelle

Hi,

More information about this Property can be found in the Wowza Streaming Engine 4.4.0 release notes.

Added HTTPStreamer/Properties property to control display of program date and time headers in Apple HLS (cupertino) chunklists for live streams. This property must be true and program date and time set in chunk for the header to display:

cupertinoEnableProgramDateTime: Boolean property to control if EXT-X-PROGRAM-DATE-TIME headers are added to chunklist (default is false)

Regards,

Jason Hilton

Technical Support Engineer

Wowza Media Systems

Hi Tom,

There is a preliminary step that you would need to implement in order to view this header in the generated manifest.

You would need to use the following method to intercept the packetizing process:

Convert AMF timed metadata to ID3 tags

in any of the calls:

onFillChunkStart

onFillChunkEnd

onFillChunkDataPacket

You can set the program-date and time for that chunk by invoking the chunk.setProgramDateTime(str) method. You would need to do this for each chunk.

Michelle

Hi michelle_b,

I meet the same problem, and If I do this by developing a wowza plugin. What does the cupertinoEnableProgramDateTime property mean?