32ba7b9873623e58de177ca0c74534deea4e43a9
howto/multicast.md
| ... | ... | @@ -5,9 +5,9 @@ |
| 5 | 5 | ### Setup |
| 6 | 6 | |
| 7 | 7 | For it to work, you'll need to do the following: |
| 8 | - * Ask your peering to enable ipv4/ipv6 multicast AFI on your peering |
|
| 8 | + * Ask your peering to enable IPv4/IPv6 multicast AFI on your peering |
|
| 9 | 9 | * Set up IPv4/IPv6 PIM for the (s,g) joins to pass through |
| 10 | - * Be prepared to setup IGMP v3 and MLD v2 from your listeners |
|
| 10 | + * Be prepared to setup IGMPv3 and MLDv2 from your listeners |
|
| 11 | 11 | |
| 12 | 12 | You're done! You should receive the multicast routes from peers advertising them. |
| 13 | 13 | |
| ... | ... | @@ -25,17 +25,41 @@ Current participants: |
| 25 | 25 | * PREVARINITE-MNT |
| 26 | 26 | * MARK22K-MNT |
| 27 | 27 | |
| 28 | +Feel free to ask for a peering and set it up! |
|
| 29 | + |
|
| 28 | 30 | ## Current streams |
| 29 | 31 | |
| 30 | -Public multicast to unicast relay with vlc4 and above: |
|
| 31 | -* `vlc rtp://172.23.199.110@232.2.3.2:1234/` |
|
| 32 | -* `vlc rtp://[fd40:cc1e:c0de::fffe]@[ff3e::8232:232]:1234/` |
|
| 33 | -* `vlc --amt-relay amt-relay.rtr2.c4e.hbone.hu amt://10.2.255.1@232.2.3.2:1234/` |
|
| 34 | -* `vlc --amt-relay amt-relay.geant.org amt://10.2.255.1@232.2.3.2:1234/` |
|
| 35 | -the last one needs vlc4 off their nighty, the amt relay usually defuncs as geant rents the p4 testbed.... |
|
| 32 | +### NOP music stream |
|
| 36 | 33 | |
| 37 | -Controllable at <http://webdj.nop.dn42/> |
|
| 34 | +cs broadcasts a 96 kHz, 24-bit music stream. An SDP file is required to receive it: |
|
| 35 | +``` |
|
| 36 | +v=0 |
|
| 37 | +o=Node 0 0 IN IP4 172.23.199.110 |
|
| 38 | +s=None |
|
| 39 | +c=IN IP4 232.2.3.2 |
|
| 40 | +t=0 0 |
|
| 41 | +m=audio 1234 RTP/AVP 96 |
|
| 42 | +a=rtpmap:96 L24/96000/2 |
|
| 43 | +a=source-filter: incl IN IP4 232.2.3.2 172.23.199.110 |
|
| 44 | +``` |
|
| 45 | +``` |
|
| 46 | +v=0 |
|
| 47 | +o=Node 0 0 IN IP6 fd40:cc1e:c0de::fffe |
|
| 48 | +s=None |
|
| 49 | +c=IN IP6 ff3e::8232:232 |
|
| 50 | +t=0 0 |
|
| 51 | +m=audio 1234 RTP/AVP 96 |
|
| 52 | +a=rtpmap:96 L24/96000/2 |
|
| 53 | +a=source-filter: incl IN IP6 ff3e::8232:232 fd40:cc1e:c0de::fffe |
|
| 54 | +``` |
|
| 38 | 55 | |
| 39 | -* `mcjoin -j -i [INTERFACE] [fd00:8e13:ce5d::9bee],[ff3e::8000:42]:4321` mping-sender |
|
| 56 | +The stream can then be streamed with `ffplay -protocol_whitelist file,fd,udp,rtp -fflags +genpts /path/to/sdp_file`. |
|
| 40 | 57 | |
| 41 | -Feel free to ask for a peering and set it up! |
|
| 58 | +### mping |
|
| 59 | + |
|
| 60 | +mping is a program that sends a ping message to a multicast group every second (and responds to incoming pings, if any). |
|
| 61 | +There are two implementations: |
|
| 62 | +* The [original implementation](https://github.com/troglobit/mping/) by troglobit, which supports both sending and receiving. |
|
| 63 | +* A [reimplementation](https://codeberg.org/mark22k/mping-sender), which supports only sending. |
|
| 64 | + |
|
| 65 | +* `mcjoin -j -i [INTERFACE] [fd00:8e13:ce5d::9bee],[ff3e::8000:42]:4321` mping-sender |