Lines Matching refs:codec
739 for (AudioCodec codec : AudioCodec.getCodecs()) {
740 media.setRtpPayload(codec.type, codec.rtpmap, codec.fmtp);
752 AudioCodec codec = null;
754 if ((codec == null) && (media.getPort() > 0)
757 // Find the first audio codec we supported.
759 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
761 if (codec != null) {
765 if (codec != null) {
768 reply.setRtpPayload(codec.type, codec.rtpmap, codec.fmtp);
773 if ((type != codec.type) && (rtpmap != null)
800 if (codec == null) {
817 AudioCodec codec = mAudioStream.getCodec();
818 media.setRtpPayload(codec.type, codec.rtpmap, codec.fmtp);
1012 AudioCodec codec = null;
1014 if ((codec == null) && (media.getPort() > 0)
1017 // Find the first audio codec we supported.
1019 codec = AudioCodec.getCodec(
1021 if (codec != null) {
1026 if (codec != null) {
1036 stream.setCodec(codec);
1040 if ((type != codec.type) && (rtpmap != null)
1064 if (codec == null) {