Skip to content
  • Tomohito Esaki's avatar
    Add remoting plugin for output streaming · f709d220
    Tomohito Esaki authored
    
    
    Remoting plugin support streaming image of virtual output on drm-backend
    to remote output. By appending remote-output section in weston.ini,
    weston loads remoting plugin module and creates virtual outputs via
    remoting plugin. The mode, host, and port properties are configurable in
    remote-output section.
    
    This plugin send motion jpeg images to client via RTP using gstreamer.
    Client can receive by using following pipeline of gst-launch.
    
    gst-launch-1.0 rtpbin name=rtpbin \
       udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,
    		encoding-name=JPEG,payload=26" port=[PORTNUMBER] !
              rtpbin.recv_rtp_sink_0 \
       rtpbin. ! rtpjpegdepay ! jpegdec ! autovideosink \
       udpsrc port=[PORTNUMBER+1] ! rtpbin.recv_rtcp_sink_0 \
       rtpbin.send_rtcp_src_0 !
              udpsink port=[PORTNUMBER+2] sync=false async=false
    
    where, PORTNUMBER is specified in weston.ini.
    
    Signed-off-by: default avatarTomohito Esaki <etom@igel.co.jp>
    f709d220