From 322568c7a2751ad4cef55106a86d8f053d2a3c79 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sat, 25 Jan 2025 22:37:27 +0800 Subject: [PATCH] =?UTF-8?q?gb28181=20sdp=20=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/sdp_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sdp_test.go b/test/sdp_test.go index 5010508..e6a4f4b 100644 --- a/test/sdp_test.go +++ b/test/sdp_test.go @@ -1,6 +1,7 @@ package test import ( + "github.com/duke-git/lancet/v2/formatter" "github.com/pion/sdp" "io" "regexp" @@ -50,4 +51,7 @@ f= t.Error(err) } t.Logf("%#v\n", session) + + pretty, _ := formatter.Pretty(session) + t.Logf("%s\n", pretty) }