Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
IDecoder Class Referenceabstract

Generic decoder interface. More...

Inheritance diagram for IDecoder:
Inheritance graph
[legend]

Public Member Functions

virtual void open (const VoiceInfo &info)=0
 Open (initialize) the decoder. More...
 
virtual Common::JString getError (void) const =0
 If not null, the object is in invalid state. More...
 
virtual void input (const Buffer< nByte > &buf)=0
 Consumes the given encoded data. More...
 

Detailed Description

Generic decoder interface.

Member Function Documentation

◆ open()

virtual void open ( const VoiceInfo info)
pure virtual

Open (initialize) the decoder.

Parameters
infoProperties of the data stream to decode.

Implemented in UnsupportedCodecError, and Decoder< T >.

◆ getError()

virtual Common::JString getError ( void  ) const
pure virtual

If not null, the object is in invalid state.

Implemented in UnsupportedCodecError, and Decoder< T >.

◆ input()

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

Consumes the given encoded data.

Implemented in UnsupportedCodecError, and Decoder< T >.