local params = ...

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