gb28181 sdp 解析
This commit is contained in:
parent
d997352b66
commit
322568c7a2
@ -1,6 +1,7 @@
|
|||||||
package test
|
package test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/duke-git/lancet/v2/formatter"
|
||||||
"github.com/pion/sdp"
|
"github.com/pion/sdp"
|
||||||
"io"
|
"io"
|
||||||
"regexp"
|
"regexp"
|
||||||
@ -50,4 +51,7 @@ f=
|
|||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
t.Logf("%#v\n", session)
|
t.Logf("%#v\n", session)
|
||||||
|
|
||||||
|
pretty, _ := formatter.Pretty(session)
|
||||||
|
t.Logf("%s\n", pretty)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user