Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Connect to AMI normally:
- ssh -i "mykey.pem" ubuntu@<AMI_public_ip>
- # Stream from AMI to my local machine:
- ffmpeg -re -i some_audio.mp3 -acodec libmp3lame -f rtp rtp://<local_public_ip>:1234
- # I've tried local machine listening with all 3 of the following methods:
- ffplay rtp://127.0.0.1:1234
- # and:
- ffplay rtp://<local_public_ip>:1234
- # and:
- ffplay rtp://<AMI_public_ip>:1234
- #############
- # Connect to AMI with port forwarding, ssh is TCP so this probably isn't useful:
- ssh -i "mykey.pem" -R 1234:localhost:1234 ubuntu@<AMI_public_ip>
- # Stream from AMI to my local machine:
- ffmpeg -re -i some_audio.mp3 -acodec libmp3lame -f rtp rtp://127.0.0.1:1234
- # Local machine listening with the same as the above 3 methods
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement