# Streaming from an IP camera (RTSP/RTP re-streaming)

**URL:** <https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935>\
**Category:** Wowza Streaming Engine\
**Created:** [February 10, 2013, 6:32am UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935 "2013-02-10T06:32:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali\_Dali](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Ali\_Dali](https://community.wowza.com/u/Ali_Dali)\
**Post date:** [February 10, 2013, 6:32am UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/1 "2013-02-10T06:32:20Z")

</div>

Hello,

i read the Tutorial from here:

[https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#config](https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#config)

On the Point 1. a. “Publishing the stream” i create the camera.stream and add to the content of this file

```auto
rtsp://xxx.xxx.xxx.xxx/nphMpeg4/g726-640x480

```

(for xxx the public Internet ip from the Panasonic BL-C111 Ip Cam)

i get in the access.log

```auto
2013-02-10	15:29:11	MEZ	comment	server	INFO	200	-	RTPMediaCaster.create[33478058]	-	-	-	2440.497	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	15:29:11	MEZ	comment	server	INFO	200	-	RTPMediaCaster.init[33478058]	-	-	-	2440.497	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	15:29:11	MEZ	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[33478058:live/_definst_:camera.stream]: start: 1	-	-	-	2440.497	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	15:29:11	MEZ	comment	server	INFO	200	-	HTTPStreamManager.onHTTPRequest: Publish stream successfully started [live/_definst_]: flv:camera.stream	-	-	-	2440.513	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	15:29:22	MEZ	comment	server	ERROR	500	-	MediaCasterConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:554]: org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].	-	-	-	2450.734	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	15:29:22	MEZ	comment	server	WARN	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://xxx.xxx.xxx.xxx/nphMpeg4/g726-640x480	-	-	-	2450.734	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

```

What can be the Problem ?

Update:

After i opening the Port 554 on the Router, it will be connected, but now i get a Authentication Error:

```auto
2013-02-10	18:23:52	MEZ	comment	server	WARN	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.	-	-	-	2302.265	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	18:23:52	MEZ	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession	-	-	-	2302.374	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	18:23:52	MEZ	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose	-	-	-	2302.374	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	18:23:52	MEZ	comment	server	INFO	200	-	RTPSessionTracker.remove[rtsp://xxx.xxx.xxx.xxx/nphMpeg4/g726-640x480]: 0:true	-	-	-	2302.374	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	18:23:52	MEZ	comment	server	INFO	200	-	RTPSessionTracker.add[rtsp://xxx.xxx.xxx.xxx/nphMpeg4/g726-640x480]: 1	-	-	-	2302.405	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-02-10	18:23:52	MEZ	comment	server	WARN	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: Authentication required[401]: Username password not available	-	-	-	2302.452	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

```

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 12, 2013, 12:09pm UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/2 "2013-02-12T12:09:24Z")

</div>

Try adding username and password like this:

rtsp://richard:myPwd@xxx.xxx.xxx.xxx/nphMpeg4/g726-640x480

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 13, 2013, 10:24pm UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/3 "2013-02-13T22:24:25Z")

</div>

I answered your other ticket on this: I don’t know

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 13, 2013, 10:55pm UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/4 "2013-02-13T22:55:16Z")

</div>

Charlie says update to 3.5.2 to stream to XBox

Richard

---

<div class="post-metadata">

**Author:** ![Tim\_Dougherty](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/tim_dougherty/32/596_2.png) [@Tim\_Dougherty](https://community.wowza.com/u/Tim_Dougherty)\
**Post date:** [February 15, 2013, 12:23pm UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/5 "2013-02-15T12:23:32Z")

</div>

TrippleEx,

Do you have any documentation or understanding of the streaming protocol that the Dreambox 800se can consume? Identify this and let us know what does and does not work. Once we establish how the device will consume a stream, then we can work on the optimal Wowza configuration for your workflow.

It sounds like you want to publish a stream from the Dreambox 800se to Wowza. Is that even possible? It would be my assumption that you have a separate source and encoder that’s sending a publishing stream to Wowza and that you simply need to distribue this live media stream to your Dreambox 800se, iOS, web clients, etc.

Please clarify a bit so we can better help you.

-Tim

---

<div class="post-metadata">

**Author:** ![Inderjeet\_S\_Sodhi](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Inderjeet\_S\_Sodhi](https://community.wowza.com/u/Inderjeet_S_Sodhi)\
**Post date:** [February 15, 2013, 6:45pm UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/6 "2013-02-15T18:45:51Z")

</div>

Tripplex,

I hope it has worked by now. If not, have you checked if you are able to receive the feed in some other viewer/player? I would first confirm the receiving part then go for the next steps.

Best wishes

Inderjeet

---

<div class="post-metadata">

**Author:** ![Inderjeet\_S\_Sodhi](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Inderjeet\_S\_Sodhi](https://community.wowza.com/u/Inderjeet_S_Sodhi)\
**Post date:** [February 16, 2013, 2:11am UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/7 "2013-02-16T02:11:34Z")

</div>

As per my understanding he/she wants to restream an ip cam(panasonic bl-c111) feed via wowza to other devices

cam–\>wowza–\>HLS,rtmp,HDS,mpegts etc

-Inderjeet

---

<div class="post-metadata">

**Author:** ![Ali\_Dali](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Ali\_Dali](https://community.wowza.com/u/Ali_Dali)\
**Post date:** [February 13, 2013, 10:50am UTC](https://community.wowza.com/t/streaming-from-an-ip-camera-rtsp-rtp-re-streaming/39935/8 "2013-02-13T10:50:11Z")

</div>

> Try adding username and password like this:
> 
> rtsp://richard:myPwd@xxx.xxx.xxx.xxx/nphMpeg4/g726-640x480
> 
> Richard

Hi Richard,

ok, now i get the Connection, but only a black screen ☹

I have a other Question:

I want stream from my Dreambox 800se (Linux based Set-Top-Box), following streaming line:

[http://192.168.178.22/web/stream.m3u?ref=1%3A0%3A1%3ACFDA%3A2714%3AF001%3AFFFF0000%3A0%3A0%3A0%3A](http://192.168.178.22/web/stream.m3u?ref=1%3A0%3A1%3ACFDA%3A2714%3AF001%3AFFFF0000%3A0%3A0%3A0%3A)

Is this possible and how can Encode this stream, and how can i Re-Stream it with Wowza to different People (using different Player: Smartphone, PC, Set-Top-Box etc.) with Password access.

Thanks.
