# Duration of live stream!

**URL:** <https://community.wowza.com/t/duration-of-live-stream/36442>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 4, 2014, 4:08pm UTC](https://community.wowza.com/t/duration-of-live-stream/36442 "2014-03-04T16:08:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janez\_Makovsek](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@Janez\_Makovsek](https://community.wowza.com/u/Janez_Makovsek)\
**Post date:** [March 4, 2014, 4:08pm UTC](https://community.wowza.com/t/duration-of-live-stream/36442/1 "2014-03-04T16:08:57Z")

</div>

Hi!

How can I obtain the running time of a live stream? There is a function to obtain running time for the application, but nothing there for streams it seems.

Thanks!

Atmapuri

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [March 14, 2014, 10:02am UTC](https://community.wowza.com/t/duration-of-live-stream/36442/2 "2014-03-14T10:02:54Z")

</div>

Hello Atmapuri,

Check out the [HTTP Providers](https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics#built-inHTTPProviders) /connectioncounts and /serverinfo of which contain TimeRunning which might suffice your requirements.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Janez\_Makovsek](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@Janez\_Makovsek](https://community.wowza.com/u/Janez_Makovsek)\
**Post date:** [March 14, 2014, 5:35pm UTC](https://community.wowza.com/t/duration-of-live-stream/36442/3 "2014-03-14T17:35:55Z")

</div>

> Hello Atmapuri,
> 
> Check out the [HTTP Providers](https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics#built-inHTTPProviders) /connectioncounts and /serverinfo of which contain TimeRunning which might suffice your requirements.
> 
> Thanks,
> 
> Matt

Dear Matt. Thare are only counters for the whole application. And application could be running multiple streams on and off. For individual streams, there appears to be nothing there.

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [March 18, 2014, 4:12am UTC](https://community.wowza.com/t/duration-of-live-stream/36442/4 "2014-03-18T04:12:28Z")

</div>

You could take a look at the following article:

[How to get detailed server info with an HTTPProvider](https://www.wowza.com/docs/how-to-get-detailed-server-info-with-an-http-provider)

Then you could look into extending this functionality to obtain any/all information needed at the stream level.
