Is it possible to send WebRTC stream from WebRTCEndPoint to my RTMP server? I haven't found any documentation about this in kurento but according to this, it seems possible.Do I have to write custom module for this?
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
v=0
o=- 0 0 IN IP4 x.x.x.x
s=abc
c=IN IP4 x.x.x.x
t=0 0
m=video 58788 RTP/AVP 100
a=rtpmap:100 H264/90000
a=recvonly
m=audio 58789 RTP/AVP 96
a=rtpmap:96 PCMU/8000
a=recvonlyv=0
o=- 0 0 IN IP4 192.168.1.6
s=Qq8FY5sPB4HFS1X
c=IN IP4 192.168.1.6
t=0 0
m=video 45414 RTP/AVP 100
a=rtpmap:100 H264/90000
a=recvonlym=audio 45415 RTP/AVP 96
a=rtpmap:96 OPUS/48000/2
a=recvonlygst-launch-1.5 -v udpsrc port=45414 ! application/x-rtp,payload=100,encoding-name=H264 ! rtph264depay ! video/x-h264, framerate=30/1 ! h264parse ! avdec_h264 ! videoscale ! video/x-raw, width=854, height=480 ! queue ! videoconvert ! queue ! x264enc bitrate=1000 key-int-max=60 bframes=0 byte-stream=false aud=true tune=zerolatency ! h264parse ! video/x-h264,level=(string)4.1,profile=main ! queue ! flvmux streamable=true name=mux ! queue ! rtmpsink location=rtmpurlgst-launch-1.5 -v udpsrc port=45414 ! application/x-rtp,payload=100,encoding-name=H264 ! rtph264depay ! video/x-h264, framerate=30/1 ! h264parse ! avdec_h264 ! videoscale ! video/x-raw, width=854, height=480 ! queue ! videoconvert ! queue ! x264enc bitrate=1000 key-int-max=60 bframes=0 byte-stream=false aud=true tune=zerolatency ! h264parse ! video/x-h264,level=(string)4.1,profile=main ! queue ! mux. udpsrc port=45415 ! application/x-rtp,payload=96,encoding-name=OPUS,clock-rate=48000, channels=(int)2 ! rtpopusdepay ! opusparse ! opusdec ! queue ! voaacenc bitrate=128000 ! aacparse ! audio/mpeg,mpegversion=4,stream-format=raw ! queue ! flvmux streamable=true name=mux ! queue ! rtmpsink location=rtmpurlTo change resolution, you can use a capsfilter.
Instead of hardcoding the port, you can generate the SDPs on the fly. Just keep a pool of ports, and know which ones you have assigned and that should be fine.
Ivan Gracia--