# How to get the streamID

**URL:** <https://forum.livepeer.org/t/how-to-get-the-streamid/161>\
**Category:** Using Livepeer for Broadcasting\
**Created:** [March 8, 2018, 9:19am UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161 "2018-03-08T09:19:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitmishra](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@rohitmishra](https://forum.livepeer.org/u/rohitmishra)\
**Post date:** [March 8, 2018, 9:19am UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161/1 "2018-03-08T09:19:21Z")

</div>

How I will get the steam id based on the broadcaster address in javascript.Please help me

---

<div class="post-metadata">

**Author:** ![ericxtang](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.livepeer.org/ericxtang/32/8_2.png) [@ericxtang](https://forum.livepeer.org/u/ericxtang)\
**Post date:** [March 14, 2018, 2:54pm UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161/2 "2018-03-14T14:54:42Z")

</div>

Hi @rohitmishra,

You have to get the job created by the broadcaster first. The streamID is in the job struct.

Eric

---

<div class="post-metadata">

**Author:** ![rohitmishra](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@rohitmishra](https://forum.livepeer.org/u/rohitmishra)\
**Post date:** [March 15, 2018, 4:33am UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161/3 "2018-03-15T04:33:19Z")

</div>

Hi, @ericxtang Suppose I have broadcast my job. the and my web-based client side how I will get stream id (how to access stream job smart contract information )

---

<div class="post-metadata">

**Author:** ![ericxtang](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.livepeer.org/ericxtang/32/8_2.png) [@ericxtang](https://forum.livepeer.org/u/ericxtang)\
**Post date:** [March 15, 2018, 9:40pm UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161/4 "2018-03-15T21:40:48Z")

</div>

@rohitmishra you can use the [livepeerjs sdk](https://github.com/livepeer/livepeerjs/tree/master/%40livepeer/sdk). If you have broadcasted a job, you should know the broadcaster Eth address. From that, you can get a list of jobs created by that broadcaster, and the streamID should be in the job struct.

---

<div class="post-metadata">

**Author:** ![rohitmishra](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@rohitmishra](https://forum.livepeer.org/u/rohitmishra)\
**Post date:** [March 16, 2018, 4:10am UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161/5 "2018-03-16T04:10:01Z")

</div>

Hi @ericxtang i have to go with livepeerjs sdk. But it always gives the error with the current version of node ,if you have any working example of this please share with us.

---

<div class="post-metadata">

**Author:** ![dob](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.livepeer.org/dob/32/7_2.png) [@dob](https://forum.livepeer.org/u/dob)\
**Post date:** [March 20, 2018, 6:30pm UTC](https://forum.livepeer.org/t/how-to-get-the-streamid/161/6 "2018-03-20T18:30:44Z")

</div>

There are some examples from the recent ETHDenver hackathon here: [https://github.com/livepeer/ethdenver](https://github.com/livepeer/ethdenver)

I think the URLs in the examples may need to be updated from “-testnet” to “-rinkeby” since we’re now running on the Rinkeby testnet.
