Save LAN stream settings for later use (macOS "server" → Android 7 smartphone "client")

macOS specific usage questions
alin89c
New Cone
New Cone
Posts: 1
Joined: 18 Aug 2021 08:58

Save LAN stream settings for later use (macOS "server" → Android 7 smartphone "client")

Postby alin89c » 18 Aug 2021 09:49

How can I save these stream settings?

Image

If I play "avaudiocapture://SoundflowerEngine" right after clicking the "open" button (red circle in the right hand side above), the Android client is able to connect to the stream (i.e to "http://192.168.0.234:8123"). But if I save the playlist and play it back, Android phone will not connect.

It's kind of annoying because everytime I close and reopen VLC on my MAC, the stream settings are all gone and I have to make them again.

Any help is kindly appreciated. Thank you!

EDIT:
Current workaround is to run a script (AppleScript) that:
1. Starts VLC
2. Does the necessary steps to get to the configuration form, then fills it with the needed information
3. Closes the configuration form and hides VLC.
.......

Code: Select all

set delayOne to 0.7 -- activates (or opens it if it's not already open) tell application "VLC" to activate -- gets to the "Open Capture Device..." window tell application "System Events" keystroke "r" using command down end tell delay delayOne -- checks the "Audio" and "Stream output" boxes set firstX to 606 set firstY to 389 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & firstX & "," & firstY delay delayOne set secondX to 566 set secondY to 511 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & secondX & "," & secondY delay delayOne -- clicks on the "Settings..." button set thirdX to 1073 set thirdY to 516 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & thirdX & "," & thirdY delay delayOne -- clicks on the Stream radio button set fourthX to 603 set fourthY to 313 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & fourthX & "," & fourthY delay delayOne -- fills in the "address" and "port" information (key code 48 is the tab key on my keyboard) tell application "System Events" key code 48 keystroke "192.168.0.234" key code 48 keystroke "8123" end tell -- opens the "Encapsulation Method" drop-down menu set fifthX to 769 set fifthY to 378 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & fifthX & "," & fifthY delay delayOne -- selects "Raw" and simulates the "return" key action tell application "System Events" keystroke "r" key code 36 end tell -- checks the "Audio" box below set sixthX to 603 set sixthY to 497 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & sixthX & "," & sixthY delay delayOne -- fills in the "Bitrate (kb/s)" and "Channels" information tell application "System Events" key code 48 keystroke "320" key code 48 keystroke "2" end tell -- clicks "ok" set seventhX to 1085 set seventhY to 696 do shell script "eval $(/usr/libexec/path_helper -s); cliclick c:" & seventhX & "," & seventhY delay delayOne -- closes the "Open Source" window by simulating the "return" key action (notice that the "Open" button is selected). Command+h is to hide VLC. tell application "System Events" key code 36 keystroke "h" using command down end tell

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests