MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / GetContentSupportType

Method GetContentSupportType

NetStream/source/utils.cpp:520–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520GenericPlayer::SupportType utils::GetContentSupportType(const char *path)
521{
522 GenericPlayer::SupportType supportType = AVPlayer::IsSupported(path);
523 if (supportType == GenericPlayer::SupportType_NotSupported)
524 {
525 supportType = BEAVPlayer::IsSupported(path);
526 if (supportType == GenericPlayer::SupportType_NotSupported)
527 {
528 supportType = FMODPlayer::IsSupported(path);
529 }
530 }
531
532 return supportType;
533}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected