Lines Matching refs:channel
14 // - Voice Activity Detection (VAD) on a per channel basis.
60 // Sets the |codec| for the |channel| to be used for sending.
61 virtual int SetSendCodec(int channel, const CodecInst& codec) = 0;
64 // |channel|.
65 virtual int GetSendCodec(int channel, CodecInst& codec) = 0;
67 // Sets the |codec| as secondary codec for |channel|. Registering a
74 virtual int SetSecondarySendCodec(int channel, const CodecInst& codec,
77 // Removes the secondary codec from |channel|. This will terminate
79 virtual int RemoveSecondarySendCodec(int channel) = 0;
81 // Gets |codec| which is used as secondary codec in |channel|.
82 virtual int GetSecondarySendCodec(int channel, CodecInst& codec) = 0;
84 // Gets the currently received |codec| for a specific |channel|.
85 virtual int GetRecCodec(int channel, CodecInst& codec) = 0;
93 virtual int SetRecPayloadType(int channel, const CodecInst& codec) = 0;
96 // |channel|. The value it retrieves will either be the default payload
98 virtual int GetRecPayloadType(int channel, CodecInst& codec) = 0;
103 int channel, int type, PayloadFrequencies frequency = kFreq16000Hz) = 0;
106 // specified |channel|. Returns 0 if success, and -1 if failed.
109 virtual int SetFECStatus(int channel, bool enable) { return -1; }
111 // Gets the codec internal FEC status for a specified |channel|. Returns 0
116 virtual int GetFECStatus(int channel, bool& enabled) { return -1; }
119 // specified |channel|. Disabling VAD (through |enable|) will also disable
121 virtual int SetVADStatus(int channel, bool enable,
125 // Gets the VAD/DTX status and |mode| for a specified |channel|.
126 virtual int GetVADStatus(int channel, bool& enabled, VadModes& mode,
130 virtual int SetAMREncFormat(int channel, AmrMode mode) { return -1; }
131 virtual int SetAMRDecFormat(int channel, AmrMode mode) { return -1; }
132 virtual int SetAMRWbEncFormat(int channel, AmrMode mode) { return -1; }
133 virtual int SetAMRWbDecFormat(int channel, AmrMode mode) { return -1; }
134 virtual int SetISACInitTargetRate(int channel, int rateBps,
136 virtual int SetISACMaxRate(int channel, int rateBps) { return -1; }
137 virtual int SetISACMaxPayloadSize(int channel, int sizeBytes) { return -1; }