Skip to content
Snippets Groups Projects
Commit b68cbde6 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

nothing

parent d7a1c2d6
Branches
Tags
No related merge requests found
......@@ -30,16 +30,18 @@ public:
// _active = false;
_hasDynamicPayload = (_payload >= 96 && _payload <= 127) ? true : false;
}
virtual ~AudioCodec() {}
/**
* @return the number of bytes decoded
*/
virtual int codecDecode(short *, unsigned char *, unsigned int) = 0;
virtual int codecEncode(unsigned char *, short *, unsigned int) = 0;
/** Value used for SDP negotiation */
std::string getCodecName() { return _codecName; }
int getPayload() { return _payload; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment