• Audio stream creation error. The event could be triggered by create_audio_stream or any error occurred during running stream. Note that in case of error stream is not deleted, you should do it explicitly
				
					{
    event = "audio_stream_error"
    streamId = "588b7eb528b12d03be86f36f"
    errorMessage = "..."
}				
			
Edit
Field Type Required Description
event string + type of an event
streamId string + an id of the stream
errorMessage string + an error message
user_data any User data which was passed to create_audio_stream
Edit
				
					local params = ...

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