Learn more about cloning repositories
You have read-only access
Replace RTMP_PUB_ALLOC with RTMP_LF_FTCU and RTMP_LF_FAPU This gets rid of the overlap between these two flags, shortening the code somewhat.