MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / rawHandler

Method rawHandler

MonaCore/sources/FlashStream.cpp:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void FlashStream::rawHandler(UInt16 type, PacketReader& packet, FlashWriter& writer) {
247 if(type==0x0022) { // TODO Here we receive RTMFP flow sync signal, useless to support it!
248 //TRACE("Sync ",id," : ",data.read32(),"/",data.read32());
249 return;
250 }
251 ERROR("Raw message ",Format<UInt16>("%.4x",type)," unknown on stream ",id);
252}
253
254void FlashStream::audioHandler(UInt32 time,PacketReader& packet, double lostRate) {
255 if(!_pPublication) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected