STDMETHODIMP BasicPacketFlow::RegisterStream(Transport* pTransport, UINT16 uStreamGroupNumber, UINT16 uStreamNumber, ASMRuleBook* pRuleBook, IHXValues* pHeader) { return RegisterStream(pTransport, uStreamNumber, pRuleBook, pHeader); }
/******************************** * NetConnection **********************************/ RTMPNetStream* MediaBridgeSession::CreateStream(DWORD streamId,DWORD audioCaps,DWORD videoCaps,RTMPNetStream::Listener *listener) { //No stream for that url RTMPNetStream *stream = new NetStream(streamId,this,listener); //Register the sream RegisterStream(stream); //Create stream return stream; }
/******************************** * NetConnection **********************************/ RTMPNetStream* MultiConf::CreateStream(DWORD streamId,DWORD audioCaps,DWORD videoCaps,RTMPNetStream::Listener *listener) { //No stream for that url RTMPNetStream *stream = new NetStream(streamId,this,listener); //Set tag stream->SetTag(tag); //Register the sream RegisterStream(stream); //Create stream return stream; }