Ingest RTP over UDP on wowza

Dear all,

I have a live video stream coming from a webcam. This livestream is to be sent to WOWZA, then to the clients. I am using gstreamer to encode (h265) and transmit. The below is my following pipeline.

gst-launch-1.0 v4l2src device=/dev/video0 norm=255 ! videoconvert ! ‘video/x-raw,width=1920,height=1080,framerate=60/1,format=I420’ ! autovideoconvert ! x265enc tune=zerolatency ! rtph265pay mtu=1400 ! udpsink host= port=4400

I have tested that the pipeline works by sending and receiving it to my local network (same PC) and it works well. Now when I try to push it to the server, I do not see any packets coming in. I have opened up port 4400 already.

Also, when I try to play back the stream on VLC using udp://<IP_address>:4400, the player remains black and nothing shows.

Can anyone please point me in the right direction for debugging? Thank you in advance

Hello @Justin CHoi, in the Streaming Engine manager, under the “Source Security” in the left tab, on that page …

  • check that No client restrictions is selected

Lastly, make sure you do not have a firewall against that port. Please let me know if that helped. Thanks.

HreHi @Rose Power thanks for your reply.

I have checked that both client restrictions and firewalls are disabled.

Still does not seem to be able to stream any packets to the server however.

May I check couple of questions with you?

  1. When specifying UDPsink, should I set host address as WOWZA server IP address or my own server address?

  2. How can the streams be viewed? Is there a way to check using wowza test player? currently the incoming streams are RTP - which playback should I use then?

  3. Do you recommend transcoding incoming h265 streams down to h264 for client transmission? Since not many browsers support h265 still

Any help is greatly appreciated!

Happy to try and help @Justin CHoi.

Let’s start here: Have you done this?

Note: Native RTP encoders deliver streams to Wowza Streaming Engine using the Real-time Transport Protocol (RTP). This protocol is used to deliver media streams to the server but doesn’t have the capability to also deliver the session description information that the server requires to process the streams. This information is typically generated by the native RTP encoder and saved to a Session Description Protocol file (a file with a .sdp file name extension) that you must upload to the Wowza Streaming Engine server.

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file

For testing purposes, try the H.264 and follow the instructions in the above link to test the stream in the test players. There is a way to do this with H.265, but it goes in a different direction. Let me know what happens with the H.264 first please.

Please check all of these too @Justin CHoi. If it still doesn’t work for you, then we can try to assist you with a support ticket. I’m checking for an answer on the UDPSink IP address.

https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback

Hi Rose,

I am now following the guide and I can see that I was missing an SDP file.

Are there any guidelines that describes how the SDP file should be set up?

I am not familiar with the file format and am unsure how I can convert the gstreamer pipeline to sdp file…

Many thanks.

Justin