From bf5be55ec8b8a70b9788ae59f1768af1f90701ad Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sun, 7 Jan 2024 19:23:51 +0800 Subject: [PATCH] =?UTF-8?q?GB28181Description=20=E8=A1=A5=E5=85=85=20Strea?= =?UTF-8?q?mType=20=E4=B8=BB/=E5=AD=90=E7=A0=81=E6=B5=81=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/cn/skcks/docking/gb28181/sdp/SdpTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gb28181-sip/src/test/java/cn/skcks/docking/gb28181/sdp/SdpTest.java b/gb28181-sip/src/test/java/cn/skcks/docking/gb28181/sdp/SdpTest.java index 92d2ef7..a5dc3c7 100644 --- a/gb28181-sip/src/test/java/cn/skcks/docking/gb28181/sdp/SdpTest.java +++ b/gb28181-sip/src/test/java/cn/skcks/docking/gb28181/sdp/SdpTest.java @@ -62,6 +62,9 @@ public class SdpTest { GB28181Description play = GB28181SDPBuilder.Receiver.play(deviceId, channelId, rtpNetType, rtpIp, rtpPort, ssrc, MediaStreamMode.TCP_ACTIVE); log.info("sdp play 请求\n{}",play); + play = GB28181SDPBuilder.Receiver.play(deviceId, channelId, rtpNetType, rtpIp, rtpPort, ssrc, MediaStreamMode.TCP_ACTIVE, GB28181SDPBuilder.StreamType.GB2022.MAIN); + log.info("sdp play 请求\n{}",play); + final String psType = "96"; Map respRtpMap = new HashMap<>(){{ put(psType, GB28181SDPBuilder.RTPMAP.get(psType));