-
Notifications
You must be signed in to change notification settings - Fork 1
/
usage.txt
45 lines (29 loc) · 1.13 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Guide rapide
pour lire flux audio pcm multicast (bug pour l'instant):
```bash
ffplay -f s16le -ac 2 -ar 48000 -i udp://239.0.92.1:1234
```
pour lire le flux des métadonnées (dls + mot + autres)
```bash
à faire
```
Analyse réseau
```bash
tshark -i en0 -c 1 -V -f "host 239.0.92.1 and port 1234"
```
multicast limité à la boucle locale
```bash
sudo route add 239.0.0.0/8 127.0.0.1
sudo route delete 239.0.0.0/8 127.0.0.1
```
check routage
```
netstat -nr -f inet | grep 239.0.0
```
socat UDP4-RECVFROM:1235,ip-add-membership=239.0.92.1:0.0.0.0,fork - | hexdump -Cv
% socat UDP4-RECVFROM:1235,ip-add-membership=239.0.92.1:0.0.0.0,fork -
{"dls":{"serviceId":"fee5","ts":1684589956,"value":"Dick Dale & His Del-Tones - Misirlou, 1962 (From \"Pulp Fiction\", 1994)"}}
retour à la ligne ? tester avec boucle whild !feof()
crash :
libc++abi: terminating due to uncaught exception of type nlohmann::detail::type_error: [json.exception.type_error.316] invalid UTF-8 byte at index 32: 0x20
libc++abi: terminating due to uncaught exception of type nlohmann::detail::type_error: [json.exception.type_error.316] invalid UTF-8 byte at index 32: 0x20