兼容只支持只支持语音数据对讲的设备
parent
e9a53b766e
commit
e198b2f66c
|
@ -303,7 +303,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
||||||
Media media = mediaDescription.getMedia();
|
Media media = mediaDescription.getMedia();
|
||||||
|
|
||||||
Vector mediaFormats = media.getMediaFormats(false);
|
Vector mediaFormats = media.getMediaFormats(false);
|
||||||
if (mediaFormats.contains("96")) {
|
if (mediaFormats.contains("96") || mediaFormats.contains("8")) {
|
||||||
port = media.getMediaPort();
|
port = media.getMediaPort();
|
||||||
//String mediaType = media.getMediaType();
|
//String mediaType = media.getMediaType();
|
||||||
String protocol = media.getProtocol();
|
String protocol = media.getProtocol();
|
||||||
|
|
Loading…
Reference in New Issue