Skip to content

Instantly share code, notes, and snippets.

@mitsuhito
Created February 12, 2017 10:37
Show Gist options
  • Select an option

  • Save mitsuhito/379a29b18723749cb14d871a29c55836 to your computer and use it in GitHub Desktop.

Select an option

Save mitsuhito/379a29b18723749cb14d871a29c55836 to your computer and use it in GitHub Desktop.
janus_gateway="127.0.0.1"
tee_dst="10.110.40.201"
# 10.110.40.67
# audio tee pipeline
gst-launch-1.0 -vvv udpsrc port=50017 ! tee name=a_t ! queue ! udpsink host=$tee_dst port=30017 sync=false a_t. ! queue ! udpsink host=$janus_gateway port=30017 sync=false
# video tee pipeline
gst-launch-1.0 -vvv udpsrc port=40017 ! tee name=v_t ! queue ! udpsink host=$tee_dst port=20017 sync=false v_t. ! queue ! udpsink host=$janus_gateway port=20017 sync=false
# 10.110.40.68
# audio tee pipeline
gst-launch-1.0 -vvv udpsrc port=50018 ! tee name=a_t ! queue ! udpsink host=$tee_dst port=30018 sync=false a_t. ! queue ! udpsink host=$janus_gateway port=30018 sync=false
# video tee pipeline
gst-launch-1.0 -vvv udpsrc port=40018 ! tee name=v_t ! queue ! udpsink host=$tee_dst port=20018 sync=false v_t. ! queue ! udpsink host=$janus_gateway port=20018 sync=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment