Add support RTMPT (flv over HTTP)

This commit is contained in:
Alexey Khit
2022-10-30 17:15:43 +03:00
parent 24082b1616
commit 0dacdea1c3
5 changed files with 123 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func (c *Client) MarshalJSON() ([]byte, error) {
v := map[string]interface{}{
streamer.JSONReceive: c.receive,
streamer.JSONType: "RTMP client producer",
streamer.JSONRemoteAddr: c.conn.NetConn().RemoteAddr().String(),
//streamer.JSONRemoteAddr: c.conn.NetConn().RemoteAddr().String(),
"url": c.URI,
}
for i, media := range c.medias {