Add actions on media/stream change