兼容只支持只支持语音数据对讲的设备

dev/多线程性能优化
648540858 2024-11-27 11:08:08 +08:00
parent e9a53b766e
commit e198b2f66c
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
Media media = mediaDescription.getMedia();
Vector mediaFormats = media.getMediaFormats(false);
if (mediaFormats.contains("96")) {
if (mediaFormats.contains("96") || mediaFormats.contains("8")) {
port = media.getMediaPort();
//String mediaType = media.getMediaType();
String protocol = media.getProtocol();