Wowza Community

How to Use VLC + Rtsp upload to Wowza

I have two Computer

(A) IP:192.168.100.130, WowzaServer Install this one.

(B) IP:192.168.100.131, Use VLC upload streaming to WowzaServer

and have 4 case, 3 case success, 1 fail, can anyone help me solve it?

CASE 1:

if I setting a stream file (udp://192.168.100.130:10000) in A, and then,

in B computer, use VLC UDP(legacy) to upload streaming (command is “dst=udp{dst=192.168.100.130:10000}”),

its find, working.

CASE 2:

if I setting a stream file (udp://192.168.100.130:10000) in A, and then,

in A computer, use VLC UDP(legacy) to upload streaming (command is “dst=udp{dst=192.168.100.130:10000}”),

its find, working.

CASE 3:

if I setting a stream file (rtsp://192.168.100.130:8554/test.sdp) in A,

in A computer, use VLC RTSP to upload streaming (command is “rtp{sdp=rtsp://192.168.100.130:8554/test.sdp}”),

its find, working.

CASE 4::mad:

but if I setting a stream file (rtsp://192.168.100.130:8554/test.sdp) in A,

in B computer, use VLC RTSP to upload streaming (command is “rtp{sdp=rtsp://192.168.100.130:8554/test.sdp}”),

its not work,

can help me solve CASE 4 problem?

Hi,

Check on the incoming streams page after you’ve started the stream. It should say ‘active’ or ‘inactive’.

If it says ‘active’ then click on the link of your stream name, the following page will say “bytes in @ N.NNN bits/s”

Is the bytes in value 0.000 or some other values?

Daren

Hi,

I also tried this by setting RTPTransportMode : udp and that seemed to work together with setting the streamfile property: rtspValidationFrequency : 0

For CASE4 the IP addresses have to be the address of computer B, where you are running VLC as an RTSP server.

You have then all shown above as set to 192.168.100.130, but they should be 192.168.100.131

So basically:

CASE 4:
stream file (rtsp://192.168.100.131:8554/test.sdp) 
vlc command:
"rtp{sdp=rtsp://192.168.100.131:8554/test.sdp}")

Hopefully that should do it for you.

Daren

Hi,

This could be due to any network rules configured for port 8554 on your Wowza server (computer A). You can install a network packet tool such as Wireshark on your Wowza server to capture incoming packets, and you can see if the streaming packets are coming in to your Wowza server from the other server correctly. Alternatively, you can also playback the source stream from computer B using ffplay or vlc installed on computer A, so you can verify that you are able to playback the stream using a third-party tool.

Michelle

Hi daren_j,

incoming streams page is this:


Stream Status Actions

test.stream

rtsp://192.168.100.130:8554/test.sdp Waiting for Stream


the incoming streams page is always show “Waiting for Stream”

and bytes in value is 0.000.

Hello Michelle,

I check packet by use wireshark, i never see src IP = 192.168.100.130 and dst IP = 192.168.100.130 packet in case3. but its still working…

and i close all firewall. its no usefull…

by the way, udp, if i set this setting in “interleav”. case3 streaming status is active, but no streaming byte incoming…

its VLC problem? my VLC version is 2.2.1.

Hello daren_j,

computer A is Wowza Server, and i want use VLC in computer B to upload rtsp streaming to computer A. <— its no work.

(Run VLC)B------------------------streaming---------------------> A (Wowza Server)

(192.168.100.131) (192.168.100.130)

your tried is CASE 3, Wowza Server and VLC are in the same computer, but i want in different computer.