shiretu / crtmpserver Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
error: no member named 'GetFeedTime' in 'InNetTSStream'
_firstFeedTime = pStream->GetFeedTime();
class InNetTSStream not found the member GetFeedTime()
How to solve it?
[ 19%] Building CXX object common/CMakeFiles/common.dir/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp.o
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘bool DHWrapper::Initialize()’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:49:6: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->p = BN_new();
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:49:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->p = BN_new();
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:50:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->p == NULL) {
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:50:12: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->p == NULL) {
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:55:6: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->g = BN_new();
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:55:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->g = BN_new();
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:56:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->g == NULL) {
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:56:12: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->g == NULL) {
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:63:21: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (BN_hex2bn(&_pDH->p, P1024) == 0) {
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:63:23: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (BN_hex2bn(&_pDH->p, P1024) == 0) {
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:68:22: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (BN_set_word(_pDH->g, 2) != 1) {
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:68:24: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (BN_set_word(_pDH->g, 2) != 1) {
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:75:6: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->length = _bitsCount;
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:75:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->length = _bitsCount;
^~~~~~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘bool DHWrapper::CopyPublicKey(uint8_t*, int32_t)’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:93:21: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
return CopyKey(_pDH->pub_key, pDst, dstLength);
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:93:23: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
return CopyKey(_pDH->pub_key, pDst, dstLength);
^~~~~~~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘bool DHWrapper::CopyPrivateKey(uint8_t*, int32_t)’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:102:21: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
return CopyKey(_pDH->priv_key, pDst, dstLength);
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:102:23: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
return CopyKey(_pDH->priv_key, pDst, dstLength);
^~~~~~~~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘void DHWrapper::Cleanup()’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:156:11: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->p != NULL) {
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:156:13: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->p != NULL) {
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:157:16: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
BN_free(_pDH->p);
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:157:18: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
BN_free(_pDH->p);
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:158:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->p = NULL;
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:158:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->p = NULL;
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:160:11: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->g != NULL) {
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:160:13: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if (_pDH->g != NULL) {
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:161:16: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
BN_free(_pDH->g);
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:161:18: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
BN_free(_pDH->g);
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:162:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->g = NULL;
^~
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:162:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
_pDH->g = NULL;
^
In file included from /usr/include/openssl/bn.h:19:0,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘void InitRC4Encryption(uint8_t*, uint8_t*, uint8_t*, RC4_KEY*, RC4_KEY*)’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:200:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:201:2: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:201:2: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
HMAC_CTX_new
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:205:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:205:2: note: suggested alternative: ‘HMAC_CTX_get_md’
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘std::__cxx11::string md5(uint8_t*, uint32_t, bool)’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:223:13: error: aggregate ‘EVP_MD_CTX mdctx’ has incomplete type and cannot be defined
EVP_MD_CTX mdctx;
^~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:230:2: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
EVP_MD_CTX_cleanup(&mdctx);
^~~~~~~~~~~~~~~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:230:2: note: suggested alternative: ‘EVP_MD_CTX_create’
EVP_MD_CTX_cleanup(&mdctx);
^~~~~~~~~~~~~~~~~~
EVP_MD_CTX_create
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘void HMACsha256(const void*, uint32_t, const void*, uint32_t, void*)’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:262:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:263:2: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:263:2: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
HMAC_CTX_new
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:267:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:267:2: note: suggested alternative: ‘HMAC_CTX_get_md’
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘void CleanupSSL()’:
/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:401:20: error: ‘void ERR_remove_state(long unsigned int)’ is deprecated [-Werror=deprecated-declarations]
ERR_remove_state(0);
^
In file included from /usr/include/openssl/cterr.h:14:0,
from /usr/include/openssl/ct.h:19,
from /usr/include/openssl/ssl.h:31,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:28,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23,
from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25:
/usr/include/openssl/err.h:258:1: note: declared here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
cc1plus: all warnings being treated as errors
make[2]: *** [common/CMakeFiles/common.dir/build.make:591: common/CMakeFiles/common.dir/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:231: common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Dear Author,
I attempt to stream from OBS like:
rtmp://serverIP/live
streamkey: test
and attempted to open in vlc:
rtmp://serverIP/live/test
rtmp://serverIP/live/test/flvplayback
rtmp://serverIP/live/flvplayback/test
rtmp://serverIP/flvplayback/live/test
rtmp://serverIP/flvplayback/test
but not opening.
The OBS is connected and streaming, server receives traffic.
Can you make please a tutorial, how to make it work?
Installed on Debian 10 with apt-get install crtmpserver
Thank you!
Hello.
I would like to receive RTMP of Open Broadcaster Software with Crtmpserver.
Was Crtmpserver no longer supporting inboundRtmfp so it did not work?
Why did Crtmpserver stop supporting inboundRtmfp?
Thank you.
Bad
I am compile crtmpserver wiht gcc6.1.1 and i get error:
/crtmpserver/sources/common/src/platform/linux/linuxplatform.cpp:271:8: error:invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
please fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.