1 Star 0 Fork 0

qengli/go-sip-ua

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
media.go 377 Bytes
一键复制 编辑 原始数据 按行查看 历史
package media
//Media interface
type Media interface {
CreateOffer() (*Description, error)
CreateAnswer() (*Description, error)
SetLocalDescription(desc *Description) error
SetRemoteDescription(desc *Description) error
Tracks() map[string]*Track
OnTrack(func(*Track))
}
//Description sdp
type Description struct {
Type string `json:"type"`
SDP string `json:"sdp"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/qengli/go-sip-ua.git
git@gitee.com:qengli/go-sip-ua.git
qengli
go-sip-ua
go-sip-ua
v1.1.8

搜索帮助