aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib/rtp/rtp_replay.st
blob: 7fa9a4c9d2cb21114d012103c9ed9eb9139c9d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"
Simple UDP replay from the state files
"

PackageLoader fileInPackage: #Sockets.
FileStream fileIn: 'rtp_replay_shared.st'.


Eval [
    | replay |


    replay := RTPReplay on: Smalltalk arguments first.

    Transcript nextPutAll: 'Going to stream now'; nl.
    replay streamAudio: '127.0.0.1' port: 4000.
]