# 2004 error Live Stream Video SDK

**URL:** <https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022>\
**Category:** Android\
**Created:** [March 31, 2021, 6:10pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022 "2021-03-31T18:10:21Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![salazaralejandro767](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salazaralejandro767/32/24123_2.png) [@salazaralejandro767](https://devforum.zoom.us/u/salazaralejandro767)\
**Post date:** [March 31, 2021, 6:10pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/1 "2021-03-31T18:10:21Z")

</div>

Greetings.  
I need to implement live streaming in my app (currently Android only). We purchased the Zoom Video SDK license for the rtmp support.

I implemented the SDK successfull. I started a session and I joined the session from another device, all fine. However when I request the liveStreamHelper object and validate that I can run a live stream, the liveStreamHelper object responds with a **2004 Errors\_Session\_No\_Rights** code. The documentation indicates that I need permission to live stream:

 ![live](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/2/922eaefbe13e23abf38c659d385550c85bf563f7.png)

 ![settings](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/b/dbc109320fadf898a8342e126f3c01b27f593f7d.png)

I am following the steps in the documentation, but in my account there are no options. how can I get that permission?

 ![Group](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/d/fd1aec6fd441c873c9a724f537a512f56b87654d.png)

I add my source code:

 ![code](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/7/8788b52cbf3c6a467656f30a16649e9bbf863953.png)

Mobile Video SDK version: zoom-instant-sdk-android-1.0.2

Smartphone : Motorola One Action - Android 10

I am following the documentation:

> **[Live Streaming - Advanced Guides - Android - Video SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/video/android/advanced/live-stream)**
>
> Live Streaming
> 
> 
> 
> Apps that have integrated with the Zoom Video can live stream a session to Facebook Live, YouTube Live, and a number of other custom l...

> **[Live streaming meetings or webinars using a custom service](https://support.zoom.us/hc/en-us/articles/115001777826-Live-Streaming-Meetings-or-Webinars-Using-a-Custom-Service#h_4b4ded3d-3f6b-4965-baaa-3692f947e36c)**
>
> Overview
> If configured by your account administrator, you can live stream a meeting or webinar to a custom platform. If you configure this before the event, you can begin streaming with one click a...

Nota: I have a ticket. But I need a prompt answer because it is an important part of the operation.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 1, 2021, 12:11am UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/2 "2021-04-01T00:11:13Z")

</div>

Hi @salazaralejandro767, thanks for using the dev forum.

We recently discovered that this is not configurable through the web portal and are working on updating our documentation to reflect that. Can you please provide the SDK logs from your app so that we may investigate why this is not working properly on your end? They should be available under `sdcard/Android/data/${your.package.name}/logs`

Thanks!

---

<div class="post-metadata">

**Author:** ![salazaralejandro767](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salazaralejandro767/32/24123_2.png) [@salazaralejandro767](https://devforum.zoom.us/u/salazaralejandro767)\
**Post date:** [April 1, 2021, 1:30am UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/3 "2021-04-01T01:30:08Z")

</div>

Thank you for your response. The forum does not allow me to send the logs, I sent URL for download it: [zoom\_logs - Google Drive](https://drive.google.com/drive/folders/1T79oQlI3CFzuvnxfF8_AQtf3pfTLQV9J?usp=sharing)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 1, 2021, 9:55pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/4 "2021-04-01T21:55:09Z")

</div>

Hi @salazaralejandro767,

Sorry about that, I should have mentioned that the logs can be sent to [developersupport@zoom.us](mailto:developersupport@zoom.us), but the Google Drive link works as well. 🙂

Thanks for providing the logs! We will investigate and let you know as soon as we have any updates.

Thanks!

---

<div class="post-metadata">

**Author:** ![salazaralejandro767](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salazaralejandro767/32/24123_2.png) [@salazaralejandro767](https://devforum.zoom.us/u/salazaralejandro767)\
**Post date:** [April 2, 2021, 7:15pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/5 "2021-04-02T19:15:31Z")

</div>

Greetings. I have new information.

The session host is not created when using joinSession. I see in the documentation the following:

 ![host_zoom_documentation](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/9/b9f880070364e01025480c8b8fa48267142a2b54.png)

Is there any way to define the host? userHelper.makeHost() does not work.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 2, 2021, 8:44pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/6 "2021-04-02T20:44:22Z")

</div>

Hi @salazaralejandro767,

That makes sense. Only the host of a session is able to start live streaming. The host is assigned to the person who creates the session, which is going to be whomever the first person to join the session is. After the host role is assigned, only the host is capable of transferring it to other users via `makeHost`. Please let me know if this is not clear in our documentation so we can look into improving it. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![salazaralejandro767](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salazaralejandro767/32/24123_2.png) [@salazaralejandro767](https://devforum.zoom.us/u/salazaralejandro767)\
**Post date:** [April 3, 2021, 12:14am UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/7 "2021-04-03T00:14:11Z")

</div>

Thanks for your help. That is correct. I changed my code to validate that there is a host session there.

In the callback I print the following:

 ![printing_results](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/4/942aa954167fcd6ca57a0b549cef2087ad309f2e.png)

The print result is:  
 ![result_printn](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/f/efc565fcb79543fc7f09f6e3071e1c7c5e277e15.png)

These are the parameters of my session:

 ![params_session](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/4/44b120d2d02cbfd7b46960a858acfaefb9b6d86f.png)

We can see that I am validating the live stream permission from the session host. I still have as response the code 2004 What am I missing to do?

I understand that it is not the host’s problem.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 5, 2021, 4:35pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/8 "2021-04-05T16:35:55Z")

</div>

Hi @salazaralejandro767,

Thanks for confirming that you are the host of the session when you receive this error. We will investigate and get back to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 15, 2021, 5:39pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/9 "2021-04-15T17:39:26Z")

</div>

Hi @salazaralejandro767,

We have determined that this is an issue with the back end. We are still investigating this and will let you know as soon as it is resolved.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 16, 2021, 3:40am UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/10 "2021-05-16T03:40:11Z")

</div>

Closed on May 16, 2021, 3:40am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 25, 2021, 7:06pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/11 "2021-05-25T19:06:06Z")

</div>

Opened on May 25, 2021, 7:06pm UTC



---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 25, 2021, 7:07pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/12 "2021-05-25T19:07:00Z")

</div>

Hi @salazaralejandro767, I hope all is well.

I just wanted to provide an update regarding the live streaming issue. This should now be resolved on our back end. Please give this a try at your earliest convenience and let me know if you are still experiencing any issues.

Thanks!

---

<div class="post-metadata">

**Author:** ![CodyDigital](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codydigital/32/17393_2.png) [@CodyDigital](https://devforum.zoom.us/u/CodyDigital)\
**Post date:** [September 28, 2021, 4:46pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/13 "2021-09-28T16:46:18Z")

</div>

Hello, was this resolved? We seem to be getting 2004 as well.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 28, 2021, 8:26pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/14 "2021-09-28T20:26:12Z")

</div>

Hey @CodyDigital,

This should’ve been resolved already. However, I have followed up on your other post. Can you confirm you are using version 1.1.1?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![CodyDigital](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codydigital/32/17393_2.png) [@CodyDigital](https://devforum.zoom.us/u/CodyDigital)\
**Post date:** [October 11, 2021, 5:26pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/15 "2021-10-11T17:26:52Z")

</div>

we figured this out after fully re-building with the new version.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 11, 2021, 10:52pm UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/16 "2021-10-11T22:52:22Z")

</div>

That’s great to hear that it’s working on the latest version!

Please don’t hesitate to reach back out in a new topic with any additional questions. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 11, 2021, 8:52am UTC](https://devforum.zoom.us/t/2004-error-live-stream-video-sdk/47022/17 "2021-11-11T08:52:23Z")

</div>

Closed on November 11, 2021, 8:52am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
