MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / setStreamMeta

Method setStreamMeta

framework/cacheModule/CacheModule.cpp:248–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void CacheModule::setStreamMeta(const vector<Stream_meta *> &streamMetas)
249{
250 clearStreamMetas();
251
252 if (streamMetas.empty()) {
253 return;
254 }
255
256 for (auto &item : streamMetas) {
257 mStreamMetas.push_back(item);
258 }
259}
260
261void CacheModule::clearStreamMetas()
262{

Callers 2

sendMediaFrameMethod · 0.45
startMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected