SWA Xtra getError(), getErrorString()

The SWA cast member’s state of member property is set to 9 if an error occurs while a cast member is streaming into memory. (See Table 16-1.)

if the state of member swaMember = 9 then
  put getError(member swaMember)
  put getErrorString(member swaMember)
end if

Table E-4 shows the integer value returned by getError() and the corresponding string returned by getErrorString() for an SWA cast member.

This Requires the SWA Streaming Xtra.

Table E-4. SWA Member Error Codes

getError()

getErrorString()

0

EMPTY or “OK”

1

“memory”

2

“network” (or “Network software error”)

3

“playback device”

99

“other”

Get Lingo in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.