Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
MediaBackendWasm.h File Reference
#include "DVDCodecs/Audio/DVDAudioCodec.h"
#include "DVDStreamInfo.h"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>

Classes

class  IMediaBackendWasm
 A media player of the browser or the device that CMediaPipelineWasm feeds: it decodes, keeps audio and video in sync and shows the video in a <video> element under the GUI canvas. More...
 
struct  IMediaBackendWasm::Packet
 

Namespaces

namespace  WASM_MEDIA
 

Functions

std::string WASM_MEDIA::VideoCodecString (const CDVDStreamInfo &hint)
 The RFC 6381 codec string of an H.264, HEVC, VP9 or AV1 stream, such as "avc1.640028".
 
bool WASM_MEDIA::IsKeyFrame (AVCodecID codec, const uint8_t *data, size_t size, int nalLengthSize)
 

Variables

constexpr double WASM_MEDIA::MAX_FEED_AHEAD = 2.5