# Live Streaming with Stream Class

**URL:** <https://community.wowza.com/t/live-streaming-with-stream-class/43223>\
**Category:** Wowza Streaming Engine\
**Created:** [July 16, 2014, 9:58pm UTC](https://community.wowza.com/t/live-streaming-with-stream-class/43223 "2014-07-16T21:58:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karma\_an](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karma\_an](https://community.wowza.com/u/karma_an)\
**Post date:** [July 16, 2014, 9:58pm UTC](https://community.wowza.com/t/live-streaming-with-stream-class/43223/1 "2014-07-16T21:58:57Z")

</div>

Hello,

Im work with Wowza 4.0.1 and 4.0.4 on linux and VLC 2.1.2 on windows

It’s not problem When I playback VODs with VLC,

but I got a lot of vlc warning messages “ts warning: discontinuity received 0x? instead of 0x? (pid=???)”

when I playback Live streams was implemented like as :

[https://www.wowza.com/docs/stream-class-example](https://www.wowza.com/docs/stream-class-example)

Besides sometimes stuttering with error message “main error: ES\_OUT\_SET\_(GROUP\_)PCR is called too late (jitter of ??? ms ignored)”

and “main error: ES\_OUT\_RESET\_PCR called”.

I was used WMS 3.6.x exactly same method and it never occured such stuttering problems. (tested again today)

My implementation is :

IVHost vhost = VHostSingleton.getInstance(VHost.VHOST\_DEFAULT);

Stream stream1 = Stream.createInstance(vhost, “live”, “test\_1”);

stream1.setRepeat(true);

stream1.play(“mp4:sample\_shorten.mp4”, 0, -1, true);

You can play the video from 4.0.4

-\> [http://54.92.85.54/live/test\_1/playlist.m3u8](http://54.92.85.54/live/test_1/playlist.m3u8)

from 3.6.4

-\> [http://54.92.48.87/live/test\_1/playlist.m3u8](http://54.92.48.87/live/test_1/playlist.m3u8)

Please watch long time to see the problem

Thanks

* * *

---

<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:** [July 16, 2014, 4:47pm UTC](https://community.wowza.com/t/live-streaming-with-stream-class/43223/2 "2014-07-16T16:47:14Z")

</div>

Hi,

It appears that the server with Wowza 3.6.4 installed, is not started.

I can play the stream from the server running 4.0.4 but it is poor quality while the same stream using RTMP seems okay.

To troubleshoot this issue please open a ticket by sending an email to support@wowza.com

Include a detailed description of the issue, a link to this thread for reference and a zipped copy of the following directories for both servers (3.6.4 and 4.0.4):

[Wowza-Install]/conf/

[Wowza-Install]/logs/

[Wowza-Install]/transcoder/

It would also be useful if you could try testing sample.mp4 as the test content to see if this has the same issues and provide a copy of sample\_shorten.mp4 for us to download.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [July 17, 2014, 10:42am UTC](https://community.wowza.com/t/live-streaming-with-stream-class/43223/3 "2014-07-17T10:42:47Z")

</div>

Hi,

The issue you have reported with the Support team is handled in ticket #97673.

Zoran

---

<div class="post-metadata">

**Author:** ![karma\_an](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karma\_an](https://community.wowza.com/u/karma_an)\
**Post date:** [July 17, 2014, 12:42pm UTC](https://community.wowza.com/t/live-streaming-with-stream-class/43223/4 "2014-07-17T12:42:03Z")

</div>

Hi, Jason

Sorry, I’ve started 3.6.4 instance now.

and unfortunately, same issues are occured for sample.mp4(big bug bunny).

VLC is stopped with a lot of errors while I am away from office 10 hours. (stream from 4.0.1)

I have sent configurations and the content that I tested.

Thanks.
