Hi,
I continuously load Internet stream radio URL via 'LoadInternetStream' like m_audioAPI.LoadInternetStream(0, "http://www.multimediasoft.com/bins/80s.pls")
m_audioAPI.LoadInternetStream(1, "http://www.multimediasoft.com/bins/70s.pls").
The following error message will appear "Internal error, cannot load engine Number 16 due to error 32"
The following is the execution log, the value in brackets is nPlayerIndex
12:35:41.8594|[PlayerCallback]-(0)-[EV_STREAM_CONNECTING ]
12:35:41.8665|[PlayerCallback]-(1)-[EV_STREAM_CONNECTING ]
12:35:43.3063|[PlayerCallback]-(1)-[EV_DOWNLOAD_BUFFERING ] BUFFERING...
12:35:43.3226|[PlayerCallback]-(1)-[EV_STREAM_LOADED ] http://www.multimediasoft.com/bins/70s.pls
12:35:43.3308|[PlayerCallback]-(1)-[EV_SOUND_PLAYING ]
You can see that Player 0 is stuck at CONNECTING.
API Version is 11.2.0.0.
Thank You.
Hello,
can you replicate the same error with the InternetStreams sample provided by our setup package?
Accordingly to the Windows SDK error 32 means "ERROR_SHARING_VIOLATION": may be that you are running more applications referring to different versions of the multimedia engine AdjMmsEng64.dll?
As a side note, does your PC has some kind of antivirus installed? In these cases it's likely that a false positive was raised and that the module's loading was blocked.
Kind Regards
Severino Delaurenti
MultiMedia Soft
Hello,
Yes, I modified the InternetStreams sample as below:
Sub Form1_Load
' init the control
m_audioAPI.InitSoundSystem(4, 0, 0, 0, 0)
Sub PlayerCallback
Case enumPlayerEvents.EV_STREAM_LOADED
'textBoxTags.Text = ""
'If nData1 = CInt(Fix(enumEventLoadStreamResults.STREAM_LOAD_OK)) Then
' buttonPause.Enabled = True
' buttonStop.Enabled = True
' trackBarVolume.Enabled = True
' m_audioAPI.PlaySound(0)
' buttonPause.Text = "Pause"
'Else
' MessageBox.Show("Invalid URL or stream currently not available: please, retry later")
'End If
'Stop playing streaming for now.
Private Sub radioButton80sBB_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles radioButton80sBB.CheckedChanged
If radioButton80sBB.Checked Then
m_audioAPI.LoadInternetStream(0, "http://www.multimediasoft.com/bins/80s.pls")
End If
m_audioAPI.LoadInternetStream(1, "http://www.multimediasoft.com/bins/70s.pls")
End Sub
Error occurs when radio "radioButton80sBB" button is clicked.
Terry
Hello,
the code you are using doesn't seem to be wrong so the issue could be related to some issue with your PC: as mentioned before, it would be important to know if an antivirus is running and if the issue happens when the antivirus is disabled and, as a second test, to be sure that no other application that may use our component is running.
Kind Regards
Severino Delaurenti
MultiMedia Soft
Hi,
I got a brand new computer and made sure no other your component is running.
Problems occur if antivirus software (Windows 10 Microsoft Defender) is turned on, but sometimes the error will not appear after executing a few times.
If antivirus is turned off, it executes normally without any errors no matter how many times.
I really don't understand what this has to do with antivirus software.
Kind Regards
Terry
Hello,
the multimedia engine AdjMmsEng embeds other dlls that are instanced dynamically, when needed: if one of these dlls is targeted in error by the antivirus, due to a "false positive", it will be immediately deleted and/or blocked so the multimedia engine will fail to load it, resulting in the mentioned error message box being displayed.
Kind Regards
Severino Delaurenti
MultiMedia Soft