Giter VIP home page Giter VIP logo

Comments (7)

mpromonet avatar mpromonet commented on June 1, 2024

Hi,

You could try to set cricket::VideoCodec::H264()->keyFrameInterval given to webrtc::VideoEncoder::InitEncode

Best Regards,
Michel.

from webrtc-streamer.

zhuya1996 avatar zhuya1996 commented on June 1, 2024

May I ask how to set up H264 decoding? I think the default VP8 is currently used, right?

from webrtc-streamer.

mpromonet avatar mpromonet commented on June 1, 2024

Hi,

codec is negociate between codec supported by client and supported by server. It could be VP8 or H264 or VP9. You could use setCodecPreferences to set preferences.

Best Regards,
Michel.

from webrtc-streamer.

zhuya1996 avatar zhuya1996 commented on June 1, 2024

In which code is setCodecPreferences set? Can you provide more details? Also, I found that when sharing the screen or reading rtsp, if it is local opencv playback, there will be no lag. If it is web playback, it will lag. Do you know why this is?

from webrtc-streamer.

zhuya1996 avatar zhuya1996 commented on June 1, 2024
virtual bool onData(const char *id, unsigned char *buffer, ssize_t size, struct timeval presentationTime)

Is the buffer here live555 data or encoded data???

from webrtc-streamer.

mpromonet avatar mpromonet commented on June 1, 2024

Hi,

This callback receive encoded data.

Best Regards,
Michel.

from webrtc-streamer.

zhuya1996 avatar zhuya1996 commented on June 1, 2024

Hello, why do I lose frames when I play RTSP during the day but play smoothly at night? How can I make RTSP playback smooth during the day?

from webrtc-streamer.

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.