Firstly ... Sorry for my English
For more information, you can visit my repo
The main point in my code:
reader.go for reading files and sending av.Packet to channel
writer.go send packets to rtmp server.
On the first file, the server work correctly, but on the next file, the twitch (for example) show a spinner
I thought, this behavior because time in packets of next files is skipped, and I started to change time in packets (reader.go (53- ~ 70)), but this decision is incorrect.
Does somebody have some idea how can I do this?
P.S Also I can`t to work with nginx-rtmp-module. Seems like server close connection.
Nginx docker image
Firstly ... Sorry for my English For more information, you can visit my repo The main point in my code: reader.go for reading files and sending av.Packet to channel writer.go send packets to rtmp server. On the first file, the server work correctly, but on the next file, the twitch (for example) show a spinner I thought, this behavior because time in packets of next files is skipped, and I started to change time in packets (reader.go (53- ~ 70)), but this decision is incorrect. Does somebody have some idea how can I do this? P.S Also I can`t to work with nginx-rtmp-module. Seems like server close connection. Nginx docker image