Giter VIP home page Giter VIP logo

Comments (7)

numberwolf avatar numberwolf commented on May 27, 2024

Fixed https://github.com/numberwolf/h265web.js/releases/tag/v20211123

from h265web.js.

paperman357 avatar paperman357 commented on May 27, 2024

Uncaught TypeError: Cannot read properties of null (reading 'search')
at Object.GetUriFormat (dist-play.js:110)
at new e (dist-play.js:110)
at t.new265webjs (dist-play.js:110)
at Function.createPlayer (dist-play.js:161)
at global.makeH265webjsRawLIVE (dist-play.js:789)

from h265web.js.

numberwolf avatar numberwolf commented on May 27, 2024

什么场景 url是啥 什么模式?

from h265web.js.

numberwolf avatar numberwolf commented on May 27, 2024

Uncaught TypeError: Cannot read properties of null (reading 'search') at Object.GetUriFormat (dist-play.js:110) at new e (dist-play.js:110) at t.new265webjs (dist-play.js:110) at Function.createPlayer (dist-play.js:161) at global.makeH265webjsRawLIVE (dist-play.js:789)

什么场景 url是啥 什么模式?

show me your URI, and play model and others info

from h265web.js.

paperman357 avatar paperman357 commented on May 27, 2024

URI: WS
model: makeH265webjsRawLIVE
error: var playerObj = _index["default"].createPlayer(null, config); (dist-play.js:789)

I use your example, and I also put my code in dist-play:938
var ws=null;
ws = new WebSocket(url265, "marssun");
ws.binaryType = "arraybuffer";
ws.onmessage = function (event) {
console.log("onmessage",event.data);
playerObj.append265NaluFrame(event.data);
};
ws.onerror = (e) => {
console.log("onerror",e);
ws.close();
};
ws.onclose = (e) => {
console.log("onclose",e)
};

from h265web.js.

paperman357 avatar paperman357 commented on May 27, 2024

I found a solution.
I forgot to add type:"raw265" in my config.

from h265web.js.

numberwolf avatar numberwolf commented on May 27, 2024

I found a solution. I forgot to add type:"raw265" in my config.

yep

from h265web.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.