# My webcam stream in Android and VLC (RTSP)

**URL:** https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690
**Category:** Wowza Streaming Engine
**Created:** [January 29, 2013, 5:51pm UTC](https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690 "2013-01-29T17:51:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Avinash\_Nigam](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Avinash\_Nigam](https://community.wowza.com/u/Avinash_Nigam)
#### Post date: [January 29, 2013, 5:51pm UTC](https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690/1 "2013-01-29T17:51:24Z")

</div>

I am very new to Wowza. I am trying to stream my web-cam (dell integrated camera) and wish to view this on VLC or on my Android phone. For this I need to stream it as rtsp. I followed this link and done the configurations in Wowza media server 3.5:

[https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder)

I am able to view my camera stream in FlashRTMPPlayer but not able to view my stream in VLC.

Example:

rtmp://MY\_COMP\_FQDN:1935/live/mycamera is working on FlashRTMPPlayer but rtsp://MYCOMP\_FQDN:1935/live/mycamera is not working on VLC

When I tried to play RTSP stream in VLC then in wowza console i got these logs:

INFO stream play mycamera -

INFO rtsp play 780488817 -

INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:6979 msg:/1 0.10.54.39:58435

Please help me out.

PLease share the tutorial to stream camera successfully to VLC and on Android Phone then . It will be a great help

Thanks in advance

Avinash

---

<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: [January 29, 2013, 1:57pm UTC](https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690/2 "2013-01-29T13:57:12Z")

</div>

Avinash,

First, take a look at these RTSP guides:

[https://www.wowza.com/docs/how-to-set-up-an-application-for-rtsp-rtp-streaming](https://www.wowza.com/docs/how-to-set-up-an-application-for-rtsp-rtp-streaming)

[https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback](https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

One thing to understand is that VLC will attempt to playback over UDP and if not possible will fail-over to TCP, however many Android devices stream over UDP only, if that does not work streaming fails, there is no fail-over to TCP.

But the log snip you show looks good. UDPTransport.firstPacket indicates successful start of a MediaCaster stream, and indicates that UDP ports are open.

Richard

---

<div class="post-metadata">

### Author: ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)
#### Post date: [January 30, 2013, 12:51pm UTC](https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690/3 "2013-01-30T12:51:09Z")

</div>

Can you try with rtsp://MYCOMP\_FQDN:1935/live/_definst_/mycamera

Zoran

---

<div class="post-metadata">

### Author: ![Avinash\_Nigam](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Avinash\_Nigam](https://community.wowza.com/u/Avinash_Nigam)
#### Post date: [January 30, 2013, 10:52am UTC](https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690/4 "2013-01-30T10:52:09Z")

</div>

Hi Richard,

Thanks for the quick-reply. I followed the exact steps mentioned in links shared by you. In my Application.xml, I have done the following changes:

10.10.54.39

10.10.54.39

10.10.54.39

10.10.54.39 is IP of my Laptop. Wowza Media Server 3.5 is running on my Laptop only. I am streaming my laptop camera and try to view on my VLC player only.

But still I am experiencing the same, Neither a exception in VLC nor I can see my camera stream in VLC. Logs snippet are almost same:

INFO stream play mycamera -

INFO rtsp play 897926557 -

INFO server comment - UDPTransport.firstPacket: bind:/10.10.54.39:6973 msg:/10.10.54.39:51625

Please help me out.

Regards,

Avinash

---

<div class="post-metadata">

### Author: ![Avinash\_Nigam](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Avinash\_Nigam](https://community.wowza.com/u/Avinash_Nigam)
#### Post date: [January 31, 2013, 4:37pm UTC](https://community.wowza.com/t/my-webcam-stream-in-android-and-vlc-rtsp/39690/5 "2013-01-31T16:37:27Z")

</div>

Hi Zoran,

I tried your suggestion, but it is not working for me. Did it work for you? Have you tried to stream RTSP Live Camera Streaming in VLC or Android?

Please help me out.

Regards,

Avinash Nigam
