Пример #1
0
STDMETHODIMP
BasicPacketFlow::RegisterStream(Transport* pTransport,
                              UINT16 uStreamGroupNumber,
			      UINT16 uStreamNumber,
                              ASMRuleBook* pRuleBook,
			      IHXValues* pHeader)
{
    return RegisterStream(pTransport, uStreamNumber, pRuleBook, pHeader);
}
Пример #2
0
/********************************
 * 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;
}
Пример #3
0
/********************************
 * 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;
}