This adds a simple moq-sub tool which allows to connect to a moq relay and subscribe to a broadcast. It expects the format as published by moq-pub, and will then dump the first video and first audio track to stdout. By piping moq-sub into e.g. ffplay you can play media from a moq relay.
Also includes a dev/sub script that works without further arguments when using dev/relay and dev/pub.
Also added an optional AUDIO=1 env var to dev/pub to not skip audio tracks.
This adds a simple
moq-sub
tool which allows to connect to a moq relay and subscribe to a broadcast. It expects the format as published bymoq-pub
, and will then dump the first video and first audio track to stdout. By pipingmoq-sub
into e.g.ffplay
you can play media from a moq relay.Also includes a
dev/sub
script that works without further arguments when usingdev/relay
anddev/pub
.Also added an optional
AUDIO=1
env var todev/pub
to not skip audio tracks.