sonysuqin/WasmVideoPlayer

How to process HEVC data received from camera's RTSP stream

gawadeavinash opened this issue · 1 comments

I am trying to send HEVC data received from camera to decoder using sendData API. But, avformat_open_input API failed with error code 8 i.e. "No error information".
Following are the logs printed on console,

Wasm loaded.
libffmpeg.js:1 decoder->isStream 1.
libffmpeg.js:1 Decoder initialized 0.
libffmpeg.js:90 initDecoder return 0.
libffmpeg.js:1 Opening decoder.
libffmpeg.js:1 avformat_open_input failed 8 No error information.
libffmpeg.js:105 openDecoder return 8

I have used the same decoder.js in my application.
Initdecoder returns successfully but openDecoder returns with code 8.
avformat_open_input failed