Versions in this module Expand all Collapse all v0 v0.1.0 May 11, 2020 Changes in this version + var G_StaticPushMap = make(map[string](*StaticPush)) + var STATIC_RELAY_STOP_CTRL = "STATIC_RTMPRELAY_STOP" + var STOP_CTRL = "RTMPRELAY_STOP" + func GetStaticPushList(appname string) ([]string, error) + func ReleaseStaticPushObject(rtmpurl string) + type RtmpRelay struct + PlayUrl string + PublishUrl string + func NewRtmpRelay(playurl *string, publishurl *string) *RtmpRelay + func (self *RtmpRelay) Start() error + func (self *RtmpRelay) Stop() + type StaticPush struct + RtmpUrl string + func GetAndCreateStaticPushObject(rtmpurl string) *StaticPush + func GetStaticPushObject(rtmpurl string) (*StaticPush, error) + func NewStaticPush(rtmpurl string) *StaticPush + func (self *StaticPush) HandleAvPacket() + func (self *StaticPush) IsStart() bool + func (self *StaticPush) Start() error + func (self *StaticPush) Stop() + func (self *StaticPush) WriteAvPacket(packet *av.Packet)