For RTMP we don't support the HEVC protocol yet. We will eventually add the
enhanced RTMP spec, but currently there shouldn't be a method to send HEVC over RTMP. I would actually recommend using SRT, as it's another output available in OBS and that one does support HEVC as an input. Bandwidth wise that should be the same amount as well.
I'll try and clarify some points, obviously let me know if something is still unclear, happy to explain further or assist otherwise. This all does expect you're using MistServer 3.2 on Linux by the way.
How push works
Recommended for the first time setting up is actually going with just:
push://
That way MistServer will accept a push from any IP address.
You need to point OBS to the RTMP port of the server and the stream name. Using the addresses you provided it would be something like:
Then if that doesn't work we recommend setting the debug level to 4 in the general settings of MistServer and then reboot. That will have MistServer tell you in the logs whether it is rejecting the push. If you see a message about a push being rejected OBS is connecting to the server, but the configuration is wrong. If you see no message at all there is most likely a firewall in the way, or OBS is pushing to the wrong address.
SRT
SRT pushing is slightly easier, you can either set up an SRT port in the protocol panel (default settings enable one on 8889) or specify you want an SRT input while creating a stream.
SRT through protocol
If SRT is enabled in the protocol settings, you can use the same "push://" source, OBS needs to stream towards:
srt://ADDRESS:PORT?streamid=STREAMNAME
so:
SRT through source input
You can also specify SRT directly as the stream source, for receiving OBS SRT the easiest is to have a listener in MistServer, you can do that using the following syntax:
srt://:PORT
PORT needs to be a unique UDP port available on the machine. Other than that you want to go to the optional options and enable the always on box. This tells MistServer to keep the connection open & listen for incoming pushes all the time.
HLS output
HLS output can be done on the fly from MistServer, you do not need a folder to serve. You can just point towards the HLS links:
http://mistserveraddress:httpport/hls/streamname/index.m3u8 for TS-HLS
http://mistserveraddress:httpport/cmaf/streamname/index.m3u8 for MP4 based HLS
The default MistServer port is 8080 for HTTP (to avoid conflicts with web servers, if you're no longer running nginx you could set up MistServer to use 80, or you could put MistServer behind nginx using a
reverse proxy ) .
HLS recording
This is if you do want to have an HLS folder, you need to set up a push from the push panel.
What you need to do is a TS push and tell MistServer to both segment & index it. Which is kind of confusing the first time you're using it. The syntax goes as following:
/path/to/segmentslocation/$segmentCounter.ts?index=index.m3u8&split=6
This would record to a folder, put segments there counting up and an index in 1 folder higher. That index can then be used to serve an HLS stream or as an input. Though if simply HLS output is the goal and you are not interested in having a recording I would just recommend going with the HLS output.
Example:
/wwwroot/[servername]/srv/HLS/$basename/$segmentCounter.ts?index=index.m3u8&split=6
This would create a STREAMNAME folder, within that folder an index.m3u8 and all segments will be recorded. The index.m3u8 will update with each segment.
You could add other variables to the name to make sure it is unique every push, but you could also simply overwrite the previous one whenever you restart the recording.