README 1.34 KB
Newer Older
Jakub Adam's avatar
Jakub Adam committed
1
2
3
4
5
Build:

  meson build
  ninja -C build

Jakub Adam's avatar
Jakub Adam committed
6
To run the stream server with the latest GStreamer in uninstalled environment:
Jakub Adam's avatar
Jakub Adam committed
7
8
9
10

  ninja -C build uninstalled
  ./build/src/multistream-server

Jakub Adam's avatar
Jakub Adam committed
11
12
13
  The server will wait for incoming SRT stream on 127.0.0.1:7001. You can stream
  to the server for example using this pipeline: 

Jakub Adam's avatar
Jakub Adam committed
14
  gst-launch-1.0 v4l2src ! videoconvert ! clockoverlay ! x264enc tune=zerolatency ! video/x-h264,profile=baseline ! mpegtsmux alignment=7 ! srtsink uri=srt://127.0.0.1:7001
Jakub Adam's avatar
Jakub Adam committed
15
16
17
18
19
20

  Open http://localhost:8080 in a browser to watch forwarded HLS stream of the
  input.

Application options:

Jakub Adam's avatar
Jakub Adam committed
21
22
23
24
  -u, --srt-uri=srt://address:port                   SRT stream URI.
                                                     Default: srt://127.0.0.1:7001?mode=listener
  -r, --rist-addresses=address:port,address:port     Comma-separated list of addresses to send RIST packets to.
                                                     Default: 127.0.0.1:5004
25
26
27
28
29
30
31
32

Known issues:

* If you can't run WebRTC stream in Chrome and see the following error in
the server's GStreamer log, check that chrome://flags/#enable-webrtc-hide-local-ips-with-mdns
is set to Disabled:

  gst_webrtc_ice_add_candidate:<webrtcice0> Could not parse candidate 'a=candidate:1578808102 1 udp 2113937151 c027ada1-0257-4ce1-af05-5d03a6b6a313.local 34134 typ host generation 0 ufrag lEVw network-cost 999'