int MRtmpSource::dispatch(MRtmpMessage &msg) { list<MRtmpPool *>::iterator iter; for (iter = m_pools.begin(); iter != m_pools.end(); ++iter) { MRtmpPool *rp = *iter; rp->onMessage(msg); } return E_SUCCESS; }