Hello,
Im not mainly using this Broadcasting Software but friends do it. So they asked me for a related problem when they are "on Stream",
often they gets Disconnected right after connecting to the stream or after a few seconds or minutes. So i began to spend some time, "Virtual Mashines" and Evaluation versions of SamBC. So i reproduced a test case i called the streaming DJane "Mary".
So Mary gets setted up, Mic fine, technican fine, voice fine... 3. song streamed and suddently there was nothing... "The source gots Disconnected."
Mary is angry pi**ed up and her technican and i spend weeks. The log file on the streaming server says "Source dropped connection" and Marys Sam sayed "Error: 10054 (Disconnected)". A Source dropped the connection and the Server dropped the connection (on source side).
So lets get clear:
10054 - Is an errorcode from Winsock related and stands for "WSACONNRESET" "Connection reseted by peer." But why we getting this?
It turns out the error comes not from Sam Broadcaster, the error comes from the operating system itself and is related to the TDI filter.
To fix this -> simply apply this fix:
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Windows Registry Editor Version 5.00
; An application may receive the "10054" (WSACONNRESET) error when the application receives data from a connection on a computer
; that is running Windows 7 or Windows Server 2008 R2 if a TDI filter driver is installed, KB981344.
; A change was made in Vista that prevents sending too many connection attempts in a short time through TDI, similar to SYN attack.
; After applying these Settings, you have to reboot the Computer.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TdxPrematureConnectIndDisabled"=dword:00000001
After we applied this registry setting on Marys Computer and rebooted her Mashine. Mary was able to connect to the streaming server
and keeps stays on the stream. Mary stayed since this applied setting... 6 hours on the stream without any diconnects or buffering.
So i hope it will help someone of you...
Greets