Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerSessionPacket ¶
type ServerSessionPacket struct {
// contains filtered or unexported fields
}
func NewServerSessionPacket ¶
func NewServerSessionPacket(mediaPath string, mux streammuxer.StreamMuxer, writer track.RtpRtcpWriter) *ServerSessionPacket
func (*ServerSessionPacket) Close ¶
func (tis *ServerSessionPacket) Close(cause error)
func (*ServerSessionPacket) OnOffer ¶
func (tis *ServerSessionPacket) OnOffer(offer *rtcsdp.Session)
type ServerSessionRTP ¶
type ServerSessionRTP struct {
// contains filtered or unexported fields
}
ServerSessionRTP 绑定一个客户端连接(拉流/推流/双向流)
func NewServerSessionRTP ¶
func NewServerSessionRTP(mediaPath string, mux streammuxer.StreamMuxer, writer track.RtpRtcpWriter) *ServerSessionRTP
func (*ServerSessionRTP) Close ¶
func (tis *ServerSessionRTP) Close(cause error)
func (*ServerSessionRTP) OnOffer ¶
func (tis *ServerSessionRTP) OnOffer(offer *rtcsdp.Session)
func (*ServerSessionRTP) SetRemoteAddr ¶
func (tis *ServerSessionRTP) SetRemoteAddr(addr net.Addr)
Click to show internal directories.
Click to hide internal directories.