Added support for streaming

This commit is contained in:
Jono Targett 2023-05-10 10:45:48 +09:30
parent 8674dc7d6a
commit 6212546315
3 changed files with 16 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
__pycache__/
dependencies/
*.log
*.log
*.wav

5
stream Executable file
View File

@ -0,0 +1,5 @@
#! /bin/bash
#rtl_sdr -f 105.5M -s 1M - | ./fm1s.py | ffmpeg -f s16le -ar 50k -ac 2 -i - -f rtp rtp://localhost:1234
./demo.py | ./fm1s_int16.py | ffmpeg -f s16le -ar 50k -ac 2 -i - -f rtp rtp://localhost:1234

9
stream.sdp Normal file
View File

@ -0,0 +1,9 @@
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 58.29.100
m=audio 1234 RTP/AVP 97
b=AS:800
a=rtpmap:97 PCMU/50000/2