Hi,
First problem (the publish/play)
Looks like the publisher and player can’t catch each other while they are alive. That means the publisher dies/disconnects before the player can connect and try to play. This is most likely because of the client-side action script code. Check out the life time of your action script objects and make sure they are not going out of scope and get garbage collected (make sure they are referenced and kept alive).
Second problem (the record)
This might be a real problem on EMS side. I will investigate what is going on with that. In the mean time, you can leverage the record CLI command as a simple work around. Look for it inside the documentation.
Best regards,
Andrei