RTMP object protected from multithread