Error Values
[flixpub_constants.js]

Exception and LastError codes. More...

Variables

var FE_SUCCESS = 0
 Success.
var FE_DIRECTSHOW = -1
 Basic DirectShow functionality error.
var FE_ENCODER_V = -2
 Video encoder setup error.
var FE_MUX = -3
 FLV mux filter error.
var FE_CAPTURE_V = -4
 Video capture error.
var FE_CAPTURE_A = -6
 Audio capture error.
var FE_RESAMPLE = -7
 Error resampling media stream.
var FE_ENCODER_A = -8
 Audio encoder error.
var FE_CAPTURE_DV = -9
 DV setup/usage error.
var FE_RENDER = -10
 Cannot render video.
var FE_QT = -13
 QuickTime setup error.
var FE_FILE = -14
 Cannot play/transcode input file.
var FE_RESIZE = -17
 Video resizing error.
var FE_ASF = -18
 ASF container (ASF/WMA/WMV files) error.
var FE_SEEK = -20
 Media seek error.
var FE_LOGIN = -22
 Login failed during file publish.
var FE_TRANSFER_FAILED = -23
 File publish failed.
var FE_NO_CAPTURE_DEVICE = -24
 No supported capture devices found.
var FE_IN_USE = -25
 Capture in progress, can't change device.
var FE_FILE_CANNOT_SEEK = -27
 Seeking disabled.
var FE_METER_A = -28
 Error setting up audio meter.
var FE_UNAVAILABLE = -29
 Feature unavailable.
var FE_FMS_CONNECTION = -30
 Connection to FMS failed.
var FE_RUN_FAILED = -31
 Run error.
var FE_WRONG_STATE = -32
 Invalid request given current state.
var FE_PROTECTED = -33
 File protected.
var FE_FMS_AUTH_FAILED = -34
 Stream authentication failed.
var FE_TRANSFER_ABORTED = -35
 Upload cancelled.
var FE_READ_FAILED = -36
 File open/read failed.
var FE_FMS_MONITOR_FAIL = -37
 FMS polling failed.
var FLIXERROR_SUCCESS = FE_SUCCESS
 Deprecated.
var FLIXERROR_DIRECTSHOW = FE_DIRECTSHOW
 Deprecated.
var FLIXERROR_VIDEO_ENCODER = FE_ENCODER_V
 Deprecated.
var FLIXERROR_VIDEO_MUX = FE_MUX
 Deprecated.
var FLIXERROR_VIDEO_CAPTURE = FE_CAPTURE_V
 Deprecated.
var FLIXERROR_TEE = -5
 Deprecated.
var FLIXERROR_AUDIO_CAPTURE = FE_CAPTURE_A
 Deprecated.
var FLIXERROR_RESAMPLE = FE_RESAMPLE
 Deprecated.
var FLIXERROR_MP3 = FE_ENCODER_A
 Deprecated.
var FLIXERROR_DV = FE_CAPTURE_DV
 Deprecated.
var FLIXERROR_VIDEO_RENDER = FE_RENDER
 Deprecated.
var FLIXERROR_FILEWRITER = -11
 Deprecated.
var FLIXERROR_GRAPHSTREAMS = -12
 Deprecated.
var FLIXERROR_QT_SOURCE = FE_QT
 Deprecated.
var FLIXERROR_SOURCE_FILE = FE_FILE
 Deprecated.
var FLIXERROR_DECODER = -15
 Deprecated.
var FLIXERROR_SPLITTER = -16
 Deprecated.
var FLIXERROR_RESIZE = FE_RESIZE
 Deprecated.
var FLIXERROR_WMASMF = FE_ASF
 Deprecated.
var FLIXERROR_BASICVIDEO = -19
 Deprecated.
var FLIXERROR_SEEKING = FE_SEEK
 Deprecated.
var FLIXERROR_EVENT = -21
 Deprecated.
var FLIXERROR_LOGINFAILED = FE_LOGIN
 Deprecated.
var FLIXERROR_TRANSFERFAILED = FE_TRANSFER_FAILED
 Deprecated.
var FLIXERROR_NOCAPTUREDEVICE = FE_NO_CAPTURE_DEVICE
 Deprecated.
var FLIXERROR_INUSE = FE_IN_USE
 Deprecated.
var FLIXERROR_COLORSPACECONVERT = -26
 Deprecated.
var FLIXERROR_CANNOTSEEKFILE = FE_FILE_CANNOT_SEEK
 Deprecated.

Detailed Description

This section documents the possible Flix Publisher exceptions and return values that have corresponding named variables defined in flixpub_constants.js.

Introduction

This section lists each error value and its meaning. Javascript exceptions thrown by interacting with the Flix Publisher interface should be examined and checked for these values.
These names can be used directly in your code if you include the javascript file flixpub_constants.js. See below for more information about including the constants file.
If an error value received from the Flix Publisher API is not listed here, it is either a Microsoft Windows specific HRESULT code, or a common error not specific to the Flix Publisher API. Should this situation occur, please contact support@on2.com, and include as much information as possible regarding the value of the error and under what circumstances it occurred.

Special Note

Because of Javascript run time implementation differences between Internet Explorer and the Mozilla compatible browsers (Firefox, Netscape, Flock, etc), these "constants" are really var declarations made at global scope.

Instructions for Using The Named Variables

These variables are defined in flixpub_constants.js. You can find flixpub_constants.js in the SDK samples directory.
To use the variables, you must add the file to your site and include it in your page by using a script tag, like this:

<script type="text/javascript" src="flixpub_constants.js"></script>

The script tag for flixpub_constants.js should come before other script tags that reference javascript files that use the publisher plug-in API.

Need More Information?

For further information about any of the Flix Publisher errors, please contact support@on2.com.

Variable Documentation

var FE_SUCCESS = 0

The last operation was successful.

var FE_DIRECTSHOW = -1

This error can mean one of two things:

var FE_ENCODER_V = -2

An error occurred while setting up the video encoder.

var FE_MUX = -3

An error occurred while setting up the FLV mux Directshow filter.

var FE_CAPTURE_V = -4

An error occurred while setting up video capture. There is no video capture device installed on the machine, or the capture device is not installed and working properly.

var FE_CAPTURE_A = -6

An error occurred while setting up audio capture. There is no audio capture device installed on the machine, or the capture device is not installed and working properly.

var FE_RESAMPLE = -7

An error occurred while setting up resampling of the audio or video input.

var FE_ENCODER_A = -8

An error occurred while working with the audio encoder.

var FE_CAPTURE_DV = -9

An error occurred while setting up DV A/V capture. There is no DV capture device installed on the machine, or the DV device is not installed and working properly.

var FE_RENDER = -10

An error occurred while working with a renderer.

var FE_QT = -13

An error occurred while loading, playing, or transcoding a QuickTime file. QuickTime might not be installed, or a required QuickTime component is missing. Please contact support for further assistance.

var FE_FILE = -14

An error occurred while loading, playing, or transcoding a file. Is it a media file? Are the necessary codecs for its playback installed?

var FE_RESIZE = -17

An error occurred while loading or using the video resizing filter.

var FE_ASF = -18

An error occurred while loading, playing, or transcoding a media file stored in an ASF container file format.

var FE_SEEK = -20

An error occurred while performing a seeking operation.

var FE_LOGIN = -22

Publishing failed due to FTP or HTTP login failure

var FE_TRANSFER_FAILED = -23

Publishing failed due to file transfer failure. This can happen for many reasons, but most likely it has occurred because the user's disk space quota has been exceeded.

var FE_NO_CAPTURE_DEVICE = -24

Capture setup failed because no devices were found.

Remarks:
Flix Publisher does not current support capture cards.

var FE_IN_USE = -25

Cannot change the capture device because capture is in progress.

var FE_FILE_CANNOT_SEEK = -27

The current file does not allow seeking.

See also:
EncodeTimeStart
InputFileCanSeek
PlayPosition

var FE_METER_A = -28

An unexpected error was encountered while attempting to setup the audio meter for visual feedback to the user during audio-only playback and transcode within the publisher plug-ins.

var FE_UNAVAILABLE = -29

The publisher plug-in feature requested is unavailable. This error will be received, for example, when FmsEnable is written, but the plug-in currently instantiated does not include the feature because it wasn't licensed at the time it was built.

var FE_FMS_CONNECTION = -30

The publisher plug-in was unable to connect to the Flash Media Server.

var FE_RUN_FAILED = -31

An error was returned by the method IMediaControl::Run when the publisher plug-in attempted to start the filter graph.

var FE_WRONG_STATE = -32

The publisher plug-in API methods pause() and resume() return FE_WRONG_STATE if the current activity cannot be paused or resumed.

var FE_PROTECTED = -33

The publisher plug-ins do not support playback or transcode of media files protected by DRM (Digital Rights Management) software.

var FE_FMS_AUTH_FAILED = -34

The publisher plug-in could not authenticate the stream with the destination Flash Media Server.

var FE_TRANSFER_ABORTED = -35

LastError will be FE_TRANSFER_ABORTED when an upload is cancelled.

var FE_READ_FAILED = -36

The plug-in could not open the file.

var FE_FMS_MONITOR_FAIL = -37

The plug-in could not start the FMS connection monitor.

var FLIXERROR_SUCCESS = FE_SUCCESS

Deprecated:
Use FE_SUCCESS.

var FLIXERROR_DIRECTSHOW = FE_DIRECTSHOW

Deprecated:
Use FE_SUCCESS.

var FLIXERROR_VIDEO_ENCODER = FE_ENCODER_V

Deprecated:
Use FE_SUCCESS.

var FLIXERROR_VIDEO_MUX = FE_MUX

Deprecated:
Use FE_SUCCESS.

var FLIXERROR_VIDEO_CAPTURE = FE_CAPTURE_V

Deprecated:
Use FE_SUCCESS.

var FLIXERROR_TEE = -5

Deprecated:
Removed.

var FLIXERROR_AUDIO_CAPTURE = FE_CAPTURE_A

Deprecated:
Use FE_CAPTURE_A.

var FLIXERROR_RESAMPLE = FE_RESAMPLE

Deprecated:
Use FE_RESAMPLE.

var FLIXERROR_MP3 = FE_ENCODER_A

Deprecated:
Use FE_ENCODER_A.

var FLIXERROR_DV = FE_CAPTURE_DV

Deprecated:
Use FE_CAPTURE_DV.

var FLIXERROR_VIDEO_RENDER = FE_RENDER

Deprecated:
Use FE_RENDER.

var FLIXERROR_FILEWRITER = -11

Deprecated:
Removed.

var FLIXERROR_GRAPHSTREAMS = -12

Deprecated:
Removed.

var FLIXERROR_QT_SOURCE = FE_QT

Deprecated:
Use FE_QT.

var FLIXERROR_SOURCE_FILE = FE_FILE

Deprecated:
Use FE_FILE.

var FLIXERROR_DECODER = -15

Deprecated:
Removed.

var FLIXERROR_SPLITTER = -16

Deprecated:
Removed.

var FLIXERROR_RESIZE = FE_RESIZE

Deprecated:
Use FE_RESIZE.

var FLIXERROR_WMASMF = FE_ASF

Deprecated:
Use FE_ASF.

var FLIXERROR_BASICVIDEO = -19

Deprecated:
Removed.

var FLIXERROR_SEEKING = FE_SEEK

Deprecated:
Use FE_SEEK.

var FLIXERROR_EVENT = -21

Deprecated:
Removed.

var FLIXERROR_LOGINFAILED = FE_LOGIN

Deprecated:
Use FE_LOGIN.

var FLIXERROR_TRANSFERFAILED = FE_TRANSFER_FAILED

Deprecated:
Use FE_TRANSFER_FAILED.

var FLIXERROR_NOCAPTUREDEVICE = FE_NO_CAPTURE_DEVICE

Deprecated:
Use FE_NO_CAPTURE_DEVICE.

var FLIXERROR_INUSE = FE_IN_USE

Deprecated:
Use FE_IN_USE.

var FLIXERROR_COLORSPACECONVERT = -26

Deprecated:
Removed.

var FLIXERROR_CANNOTSEEKFILE = FE_FILE_CANNOT_SEEK

Deprecated:
Use FE_FILE_CANNOT_SEEK.


On2 Flix Publisher documentation, generated on Mon Jan 7 18:13:01 2008 by doxygen 1.5.4 On2 Technologies, Inc