# Apple media stream validator tool

**URL:** <https://community.wowza.com/t/apple-media-stream-validator-tool/37113>\
**Category:** Wowza Streaming Engine\
**Created:** [May 27, 2015, 2:10am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113 "2015-05-27T02:10:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![asher\_davidof](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@asher\_davidof](https://community.wowza.com/u/asher_davidof)\
**Post date:** [May 27, 2015, 2:10am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/1 "2015-05-27T02:10:08Z")

</div>

Hi

I am using wowza 4.1.2 and stream HLS

I defined CupertinoMaxChunkCount of 15 and PlaylistCunkCount of 6

In some devices I get disconnected after a couple of minutes

I used Apple media stream validator tool to validate the stream

And I am getting Errors and warnings

Why Am I getting those errors (also happen when i play sample.mp4)?

Also can you explain to me what the last warning means and how can i tackle it?

Playlist Syntax:

Warning: (-31000:0) Old codec format (RFC 4281) subelements found. Use format specified by RFC 6381

–\> Detail: Subelements: 100.30

–\> Compare URL: chunklist\_w194544374.m3u8

Alternate playlist(s):

* * *

chunklist\_w194544374.m3u8

* * *

Playlist Syntax: OK

Processed 18 out of 18 segments:

media\_w194544374\_111.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_112.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_113.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_114.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_115.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_116.ts:

WARNING: Media segment bandwidth exceeded target playlist bandwidth

–\> Bandwidth exceeded by 27 % ( 1.96 Mbits/sec vs 1.54 Mbits/sec, limit is 10 %)

media\_w194544374\_117.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

media\_w194544374\_118.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_119.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_121.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

media\_w194544374\_123.ts:

ERROR: (-12976) Received discontinuity error

–\> Track ID: 256

ERROR: (-12976) Received discontinuity error

–\> Track ID: 257

media\_w194544374\_124.ts:

WARNING: Media segment bandwidth exceeded target playlist bandwidth

–\> Bandwidth exceeded by 21 % ( 1.87 Mbits/sec vs 1.54 Mbits/sec, limit is 10 %)

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [May 28, 2015, 3:30pm UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/2 "2015-05-28T15:30:17Z")

</div>

Hi,

mediasteamvalidator shouldn’t be showing any errors when run against for example sample.mp4. This is if using the default “vod” app in Wowza, e.g.

```auto
mediastreamvalidator -V http://[wowza-server]:1935/vod/mp4:sample.mp4/playlist.m3u8

```

I’ve just done a test myself using mediastreamvalidator version 1.1 and Wowza 4.1, and sample.mp4 passes all tests.

So it could be your cupertino properties in your Wowza application. Please try creating a new “vod” application and doing the test again using our sample.mp4 file.

Paul

---

<div class="post-metadata">

**Author:** ![michael\_schmidt](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@michael\_schmidt](https://community.wowza.com/u/michael_schmidt)\
**Post date:** [July 18, 2015, 9:06pm UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/3 "2015-07-18T21:06:12Z")

</div>

> Er… can you please share? I have the same issue, using FMLE.

We have it with FFMPEG so it would be great to know how the OP solved his encoding problem.

---

<div class="post-metadata">

**Author:** ![Joe\_Bray](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@Joe\_Bray](https://community.wowza.com/u/Joe_Bray)\
**Post date:** [July 17, 2015, 4:19pm UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/4 "2015-07-17T16:19:32Z")

</div>

Er… can you please share? I have the same issue, using FMLE.

---

<div class="post-metadata">

**Author:** ![Joe\_Bray](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@Joe\_Bray](https://community.wowza.com/u/Joe_Bray)\
**Post date:** [July 20, 2015, 12:12pm UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/5 "2015-07-20T12:12:50Z")

</div>

I assume you’re referring to the declaration inside a SMIL… what if we werent using smils?

---

<div class="post-metadata">

**Author:** ![Joe\_Bray](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@Joe\_Bray](https://community.wowza.com/u/Joe_Bray)\
**Post date:** [July 21, 2015, 9:40pm UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/6 "2015-07-21T21:40:34Z")

</div>

any updates on how to get rid of discontinuity errors?

---

<div class="post-metadata">

**Author:** ![asher\_davidof](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@asher\_davidof](https://community.wowza.com/u/asher_davidof)\
**Post date:** [June 1, 2015, 7:54am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/7 "2015-06-01T07:54:42Z")

</div>

The vod workes.

Also the recorded shows from the live stream.

The only issue at the moment is that the live tsream dissconects after few minutes.

very strange

I have tried to “play” with cupertinoPlaylistChunkCount decreasing or increasing but with little luck

anything else maybe i need to check?

---

<div class="post-metadata">

**Author:** ![asher\_davidof](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@asher\_davidof](https://community.wowza.com/u/asher_davidof)\
**Post date:** [June 3, 2015, 5:04pm UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/8 "2015-06-03T17:04:57Z")

</div>

Hi jason

The issue is resolved.

an encoder issue

/thx

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [June 2, 2015, 11:28am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/9 "2015-06-02T11:28:22Z")

</div>

Hi,

To take a closer look, please create a ticket by emailing support@wowza.com.

When creating a ticket, please include a ZIP file containing the following directories:

[Wowza-Install]/conf/

[Wowza-Install]/logs/

[Wowza-Install]/transcoder/

Please make sure you provide logs which show Wowza server starting.

If you are not sure how to get this information please see the following tutorial.

[How to create a compressed zip file in Windows, OS X, and Linux](https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux)

As you have a live stream please outline the type of encoder in use along with the encoding settings for the stream.

Please include a link to this thread for reference.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [June 4, 2015, 7:46am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/10 "2015-06-04T07:46:38Z")

</div>

Hi,

Thanks for the update.

I’m glad we managed to find the cause of the problem.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 19, 2015, 9:12am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/11 "2015-07-19T09:12:16Z")

</div>

With the lack of detailed information from the last to posts, a quick suggestion would be to adjusting the system-bitrate to what the validator is seeing.

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 20, 2015, 7:45am UTC](https://community.wowza.com/t/apple-media-stream-validator-tool/37113/12 "2015-07-20T07:45:24Z")

</div>

In that case you can wrap the single stream in .smil file and follow this guide to add adjusted system-bitrate. Change it to whatever the validator likes:

[How to add resolution and codec metadata to iOS streams](https://www.wowza.com/docs/how-to-add-resolution-and-codec-metadata-to-ios-streams)

Also, you might need a 64kbs audio rendition for app store compliance.

[How to create Apple App Store compliant streams (audio only rendition)](https://www.wowza.com/docs/how-to-create-apple-app-store-compliant-streams)

Regards,

Salvadore
