Here you can define what actions should be performed when a user is connected or disconnected from a streaming server .