1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #ifndef API_VOIP_VOIP_CODEC_H_
- #define API_VOIP_VOIP_CODEC_H_
- #include <map>
- #include "api/audio_codecs/audio_format.h"
- #include "api/voip/voip_base.h"
- namespace webrtc {
- class VoipCodec {
- public:
-
- virtual void SetSendCodec(ChannelId channel_id,
- int payload_type,
- const SdpAudioFormat& encoder_spec) = 0;
-
-
-
-
- virtual void SetReceiveCodecs(
- ChannelId channel_id,
- const std::map<int, SdpAudioFormat>& decoder_specs) = 0;
- protected:
- virtual ~VoipCodec() = default;
- };
- }
- #endif
|