Hello BASS community,
I'm trying to create a audio streaming server for my local network. Streaming to the internet is not allowed so as far as I know the only possibility is using the BASS_Encode_ServerInit function.
I'm able to start a server and to connect to it via VLC i have no idea how to switch to another stream without restarting the server. Currently this is what I've done:
stream = Bass.BASS_StreamCreateFile("MYFILE.mp3", 0L, 0L, BASSFlag.BASS_DEFAULT);
_encoderHandle = BassEnc.BASS_Encode_Start(stream, "lame -r -s 44100 -b 128 -", un4seen.Bass.AddOn.Enc.BASSEncode.BASS_ENCODE_NOHEAD, null, IntPtr.Zero);
if (_encoderHandle == 0)
_serverHandle = Un4seen.Bass.AddOn.Enc.BassEnc.BASS_Encode_ServerInit(_encoderHandle, "127.0.0.1:" + Port.ToString(), 8000, 8000, Un4seen.Bass.AddOn.Enc.BASSEncodeServer.BASS_ENCODE_SERVER_DEFAULT, clientProc, IntPtr.Zero);
if (_serverHandle == 0)
What would be the best way, to change the currently playing track?
Thanks in advance!