# IP Camera Live Stream

**URL:** <https://community.wowza.com/t/ip-camera-live-stream/42233>\
**Category:** Wowza Streaming Engine\
**Created:** [February 25, 2014, 10:30am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233 "2014-02-25T10:30:18Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 25, 2014, 10:30am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/1 "2014-02-25T10:30:18Z")

</div>

Hello

I am trying to get a live stream From an IP camera I have set up. I am following the tutorial on how to set up a live stream using RTSP, and when I go to test the player in Wowza, it gives me an error code of #2048 I cant not figure out where I am going wrong. The camera is a H264. I can use the vlc to stream the camera with no problem. Can someone point me in the right direction Please!

Thank you!

Joe

---

<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:** [February 25, 2014, 10:02am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/2 "2014-02-25T10:02:51Z")

</div>

Hi Joe,

First, make sure your .stream file does not have a .txt extension.

Are you getting any errors in the logs as to what the issue may be? You can start Wowza in stand-alone mode[install-dir]/bin/startup.bat (startup.sh on Mac) You can then monitor the log output in the Terminal.

Can you post what you see here? Posting the logs into a code block will make them easier to read, to do this add "

```auto
" before and "[/code" after with a "]" after the "e" to close. 
Also take a look and double check your configuration against the troubleshooting tips and related articles of this guide:
[URL="https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#streamFiles"]How to re-stream video from an IP camera (RTSP/RTP re-streaming)[/URL]
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:** [February 25, 2014, 4:10pm UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/3 "2014-02-25T16:10:52Z")

</div>

Joe, the .stream file should be located in the content directory, you can find it inside [install-dir]/content

It should be called someFile.stream, and not someFile.stream.txt

To start Wowza in stand alone mode, first make sure Wowza is stopped, on Windows:

1:Open a Command Prompt window (press WIN key + R, type cmd in the Run dialog box, and then press ENTER).

2:Execute the following commands:

```auto
cd %WMSAPP_HOME%\bin
shutdown.bat

```

Then run:

```auto
cd %WMSAPP_HOME%\bin
startup.bat

```

On Mac:

To stop Wowza open a terminal window and enter the following command:

```auto
cd /Library/WowzaStreamingEngine-4.0.1/bin
./shutdown.sh

```

Then run:

```auto
cd /Library/WowzaStreamingEngine-4.0.1/bin
./startup.sh

```

These commands assume you are running Wowza 4.0.1.

If you have not read the Quick start guide, it would be very helpful:

[Wowza Quick Start Guide](https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine)

As well as the user guide:

[Wowza User Guide](https://www.wowza.com/resources/WowzaStreamingEngine_UsersGuide.pdf)

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:** [February 26, 2014, 9:24am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/4 "2014-02-26T09:24:06Z")

</div>

Now try to play the stream and see what the console says.

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:** [February 26, 2014, 9:57am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/5 "2014-02-26T09:57:57Z")

</div>

Do you have a user name and password associated with this camera?

If so you can try adding these to the camera URL like this (NOTE: not sure what your URL looks like, found this example thru Google search)

```auto
rtsp://userName:password@[camera-ip-address]:554/cam/realmonitor?channel=[CHANNEL]&subtype=1

```

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:** [February 26, 2014, 3:54pm UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/6 "2014-02-26T15:54:28Z")

</div>

Hi Joe, is this thread resolved now? As you are now able to play your live stream as confirmed in [this thread](http://community.wowza.com/t/-/42234)

Thanks.

Salvadore

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 25, 2014, 2:28pm UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/7 "2014-02-25T14:28:53Z")

</div>

Hi Salvadore,

I am new to this whole concept. If you could bare with me and provide some basic info for these questions that would be great.

How to I make sure my .stream does not have txt extension?

Where do I look for the logs is this in the Wowza streaming engine. Or on the server logs?

Thank you

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 25, 2014, 7:18pm UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/8 "2014-02-25T19:18:34Z")

</div>

Thank you Salvadore. I will do this tomorrow when i get to the office and let you know what I come up with. I will check the stream file also. Once again Thank you!

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 26, 2014, 10:11am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/9 "2014-02-26T10:11:48Z")

</div>

Salvadore

I have verified that it is a .stream file and when I run the

```auto
cd %WMSAPP_HOME%\bin
startup.bat

```

the CMD says.

```auto
INFO server comment -Wowza streaming engine is started!

```

What should my next move be?

Joe

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 26, 2014, 10:34am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/10 "2014-02-26T10:34:27Z")

</div>

Here is what I get

```auto
WARN Server comment - RTPSession DescriptionDAtaProviderBasicRTPSWorker.process
authentication required [401] username and password not available

```

this is when I just try and connect to the stream

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 26, 2014, 10:36am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/11 "2014-02-26T10:36:57Z")

</div>

I am using an IC Realtime camera

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 26, 2014, 11:09am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/12 "2014-02-26T11:09:49Z")

</div>

```auto
rtsp://userName:password@[camera-ip-address]:554/cam/realmonitor?channel=[CHANNEL]&subtype=1

```

the 554 would be the port I have for the camera we are using 10000

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 26, 2014, 11:38am UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/13 "2014-02-26T11:38:11Z")

</div>

I am getting an add chunk id with a duration cont. the code start with MPEGDash writer handler. in the output on the cmd prompt

---

<div class="post-metadata">

**Author:** ![Joe\_Hooper](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Joe\_Hooper](https://community.wowza.com/u/Joe_Hooper)\
**Post date:** [February 26, 2014, 12:25pm UTC](https://community.wowza.com/t/ip-camera-live-stream/42233/14 "2014-02-26T12:25:40Z")

</div>

this is the rtsp i got from the guy i bought the camera from

rtsp://username:password@Cam\_IP:RTSP\_Port/cam/realmonitor?channel=CHANNEL&subtype=ENCODING
