fix error on Media release function
integration for different functionnalities seems all works, record, send to server, play local record, play remote