local params = ...

if params.event == "audio_stream_error" then
    local cameras = require("cameras")
    cameras.delete_audio_stream( params.streamId )
end