Code Monkey home page Code Monkey logo

flvpusher's People

Contributors

dengxiayehu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flvpusher's Issues

Failed to build on ubuntu20.04 with gcc 12.3.0

/data/git/flvpusher/sources/hls/hls_segmenter.cpp:225:7: error: reference to ‘byte’ is ambiguous
  225 |       byte *pkt_data;
      |       ^~~~
In file included from /data/tools/gcc-12/include/c++/12.3.0/cmath:42,
                 from /data/tools/gcc-12/include/c++/12.3.0/math.h:36,
                 from /data/git/flvpusher/sources/hls/hls_segmenter.cpp:1:
/data/tools/gcc-12/include/c++/12.3.0/bits/cpp_type_traits.h:406:30: note: candidates are: ‘enum class std::byte’
  406 |   enum class byte : unsigned char;
      |                              ^~~~
In file included from /data/git/flvpusher/sources/xutil/xutil.h:7,
                 from /data/git/flvpusher/sources/xutil/xlog.h:22,
                 from /data/git/flvpusher/sources/hls/hls_segmenter.h:4,
                 from /data/git/flvpusher/sources/hls/hls_segmenter.cpp:8:
/data/git/flvpusher/sources/xutil/xtype.h:8:17: note:                 ‘typedef uint8_t byte’
    8 | typedef uint8_t byte;
      |                 ^~~~
/data/git/flvpusher/sources/hls/hls_segmenter.cpp:225:13: error: ‘pkt_data’ was not declared in this scope; did you mean ‘pkt_dts’?
  225 |       byte *pkt_data;
      |             ^~~~~~~~
      |             pkt_dts

Rtmp to Rtmp not work

Hi
i try this small test :

./flvpusher -i rtmp://1.1.1.1:1935/in2/test1 -L rtmp://2.2.2.2:1935/in2/test2
2020-03-07-01:14:39.546 4495 [rtmp_sink.cpp:96] [INFO] Connect to rtmp server with url "rtmp://2.2.2.2:1935/in2/test2" ok
2020-03-07-01:14:39.547 4495 [rtmp_module:-1] [ERROR] Problem accessing the DNS. (addr: )
2020-03-07-01:14:39.547 4495 [rtmp_source.cpp:86] [ERROR] RTMP_Connect failed for source: "rtmp://1.1.1.1:1935/in2/test1"
2020-03-07-01:14:39.547 4495 [rtmp_source.cpp:123] [ERROR] RtmpSource's prepare() failed
2020-03-07-01:14:39.547 4495 [rtmp_sink.cpp:110] [INFO] Disconnect from rtmp server (url: rtmp://2.2.2.2:1935/in2/test2)

Any help ?

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.