From 2b10d1b3e93fe2a078ec3f344acadfbea52d2ff3 Mon Sep 17 00:00:00 2001 From: Jono Targett Date: Thu, 11 May 2023 15:24:56 +0930 Subject: [PATCH] Modifying scripts to work outside of localhost --- data/stream.sdp | 6 +++--- microservice.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/data/stream.sdp b/data/stream.sdp index e6eeee5..0efc34e 100644 --- a/data/stream.sdp +++ b/data/stream.sdp @@ -1,9 +1,9 @@ v=0 -o=- 0 0 IN IP4 127.0.0.1 +o=- 0 0 IN IP4 141.168.225.91 s=No Name -c=IN IP4 127.0.0.1 +c=IN IP4 141.168.225.91 t=0 0 a=tool:libavformat 58.29.100 -m=audio 1234 RTP/AVP 97 +m=audio 5001 RTP/AVP 97 b=AS:800 a=rtpmap:97 PCMU/32000/2 diff --git a/microservice.py b/microservice.py index cb3cc20..baa2499 100755 --- a/microservice.py +++ b/microservice.py @@ -152,6 +152,7 @@ def end_stream(radio): if __name__ == '__main__': app.run( + host='0.0.0.0', threaded=True, - debug=True + debug=False ) \ No newline at end of file