If you want to publish rtmp, you must first set up a server, you can use nginx+nginx-rtmp-module under linux: you can see the tutorial for details windows: you can use this integrated environment. nginx-rtmp-win32 After the establishment is completed, you can use ffmpeg to push your video to the rtmp server. Then you can use a player or web page that supports rtmp to play it. I recommend an open source player vlc, which also supports push streaming.
Go to github and search nginx-rtmp. There are cases in the wiki.
If you want to publish rtmp, you must first set up a server, you can use nginx+nginx-rtmp-module
under linux: you can see the tutorial for details
windows: you can use this integrated environment. nginx-rtmp-win32
After the establishment is completed, you can use ffmpeg to push your video to the rtmp server. Then you can use a player or web page that supports rtmp to play it. I recommend an open source player vlc, which also supports push streaming.