case AV_CODEC_ID_ADPCM_G722:
case AV_CODEC_ID_ADPCM_G726:
case AV_CODEC_ID_ILBC:
+ case AV_CODEC_ID_MJPEG:
+ case AV_CODEC_ID_SPEEX:
return 1;
default:
return 0;
case AV_CODEC_ID_ILBC:
rtp_send_ilbc(s1, pkt->data, size);
break;
+ case AV_CODEC_ID_MJPEG:
+ ff_rtp_send_jpeg(s1, pkt->data, size);
+ break;
default:
/* better than nothing : send the codec raw data */
rtp_send_raw(s1, pkt->data, size);