Exemplo n.º 1
0
	// redefined from QueueRTCPManager
	bool
	onGotSDESChunk(SyncSource& source, SDESChunk& chunk, size_t len)
	{ 
		bool result = RTPSession::onGotSDESChunk(source,chunk,len);
		cout << "I got a SDES chunk from "
		     << hex << (int)source.getID() << "@" 
		     << dec
		     << source.getNetworkAddress() << ":" 
		     << source.getControlTransportPort()
		     << " (" 
		     << source.getParticipant()->getSDESItem(SDESItemTypeCNAME)
		     << ") " << endl;
		return result;
	}
Exemplo n.º 2
0
Arquivo: rtp.cpp Projeto: dyfet/ccrtp
void RTPAudio::onGotHello(const SyncSource &src)
{
	RTPEvent *event = RTPEvent::first;

	slog(Slog::levelDebug) << "hello(" << src.getID() << ") ";
        Participant* p = src.getParticipant();
	slog() << p->getSDESItem(SDESItemTypeCNAME) << std::endl;

	while(event)
	{
		event->gotHello(src);
		event = event->next;
	}
}
Exemplo n.º 3
0
Arquivo: rtp.cpp Projeto: dyfet/ccrtp
void RTPAudio::onGotGoodbye(const SyncSource &src, const string& reason)
{
	RTPEvent *event = RTPEvent::first;

	slog(Slog::levelDebug) << "bye(" << src.getID() << ") ";
	Participant* p = src.getParticipant();
	slog() << p->getSDESItem(SDESItemTypeCNAME) << "; " << reason;
	slog() << std::endl;

	while(event)
	{
		event->gotGoodbye(src, reason);
		event = event->next;
	}
}