Video Stream using Gstreamer to Janus Server

78 views
Skip to first unread message

Mainul Hassan

unread,
Oct 5, 2022, 3:29:16 AM10/5/22
to meetecho-janus
I am using the following pipeline for creating video feed from Gstreamer. 

gst-launch-1.0 -v videotestsrc ! video/x-raw,framerate=20/1 ! videoscale ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay ! udpsink host=127.0.0.1 port=8080

I want to get this video feed to Janus server but I am getting the error which I attached with this conversation. 

My config. of Janus server for getting the video is:

h264-Cam1: {
    type = "rtp"
    id = 10
    description = "Cam 1: H.264 live stream coming from gstreamer"
    audio = false
    video = true
    videoport = 8004
    videopt = 126
    videocodec = "h264"
    videofmtp = "profile-level-id=42e01f;packetization-mode=1"
    secret = "adminpwd"

I am new to this WebRTC domain. If anyone here can tell me what I am missing in the GStreamer Pipeline or Janus Server Config. It will be very helpful for me.
Janus Server.png
GStreamer.png

Lorenzo Miniero

unread,
Oct 5, 2022, 3:46:58 AM10/5/22
to meetecho-janus
The pipeline is sending to the wrong port.

L.

Mainul Hassan

unread,
Oct 5, 2022, 5:45:06 AM10/5/22
to meetecho-janus
I sent with same port as config. but still have the same problem :)
Reply all
Reply to author
Forward
0 new messages