Coder Social home page Coder Social logo

[BUG] 关于断言 about zlmediakit HOT 4 CLOSED

xuandu avatar xuandu commented on July 18, 2024
[BUG] 关于断言

from zlmediakit.

Comments (4)

xiongguangjie avatar xiongguangjie commented on July 18, 2024

你可以修改,改成debug就抛出异常,当时这么做好像就是因为media-server 库断言导致崩溃(win下面),现在又出现了跳过断言导致崩溃,你还好权衡下怎么改吧。

from zlmediakit.

xia-chu avatar xia-chu commented on July 18, 2024

这个是老陈库的问题, 后面我改下asser.h文件吧 release编译不再忽略断言 或者 @xuandu 你来个pr? 我们快速合并下,否则我只能周末改了

from zlmediakit.

xuandu avatar xuandu commented on July 18, 2024

你可以修改,改成debug就抛出异常,当时这么做好像就是因为media-server 库断言导致崩溃(win下面),现在又出现了跳过断言导致崩溃,你还好权衡下怎么改吧。

WIN下走断言,抛出异常,没有捕获吗?“因为media-server 库断言导致崩溃(win下面)”
那我直接把这个判断宏的地方给删除会不会有影响?
123456

我不急,定位到位置,知道原因就行了;只是看很多地方的断言都是release不实现的;就不知道咋好了;

from zlmediakit.

xiongguangjie avatar xiongguangjie commented on July 18, 2024

你可以修改,改成debug就抛出异常,当时这么做好像就是因为media-server 库断言导致崩溃(win下面),现在又出现了跳过断言导致崩溃,你还好权衡下怎么改吧。

WIN下走断言,抛出异常,没有捕获吗?“因为media-server 库断言导致崩溃(win下面)” 那我直接把这个判断宏的地方给删除会不会有影响? 123456

我不急,定位到位置,知道原因就行了;只是看很多地方的断言都是release不实现的;就不知道咋好了;

你重新编译一下吧,测试一下吧,应该没有问题,这个应该会覆盖默认的实现

from zlmediakit.

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.