Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
UnsupportedCodecError Class Reference
Inheritance diagram for UnsupportedCodecError:
Inheritance graph
[legend]
Collaboration diagram for UnsupportedCodecError:
Collaboration graph
[legend]

Public Member Functions

 UnsupportedCodecError (const Common::JString &info, int codec, const ILogger &logger)
 
virtual Common::JString getError (void) const
 If not null, the object is in invalid state. More...
 
virtual void open (const VoiceInfo &info)
 Open (initialize) the decoder. More...
 
virtual void setOutput (void *opaque, void(*output)(void *, const Buffer< nByte > &))
 Set callback encoder calls on each encoded data frame (if such output supported). More...
 
virtual Buffer< nByte > dequeueOutput (void)
 Returns next encoded data frame (if such output supported). More...
 
virtual void input (const Buffer< nByte > &buf)
 Consumes the given encoded data. More...
 

Member Function Documentation

◆ getError()

JString getError ( void  ) const
virtual

If not null, the object is in invalid state.

Implements IEncoder.

◆ open()

void open ( const VoiceInfo info)
virtual

Open (initialize) the decoder.

Parameters
infoProperties of the data stream to decode.

Implements IDecoder.

◆ setOutput()

void setOutput ( void *  opaque,
void(*)(void *, const Buffer< nByte > &)  output 
)
virtual

Set callback encoder calls on each encoded data frame (if such output supported).

Implements IEncoder.

◆ dequeueOutput()

Buffer< nByte > dequeueOutput ( void  )
virtual

Returns next encoded data frame (if such output supported).

Implements IEncoder.

◆ input()

void input ( const Buffer< nByte > &  buf)
virtual

Consumes the given encoded data.

Implements IDecoder.