Giter Site home page Giter Site logo

janus-gateway-live's Introduction

janus-gateway-live's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar

janus-gateway-live's Issues

Build error: undefined reference to 'janus_sctp_init'

janus-janus.o: In function main': /home/li/janus/janus-gateway/janus.c:4195: undefined reference to janus_sctp_init'
/home/li/janus/janus-gateway/janus.c:4695: undefined reference to janus_sctp_deinit' janus-dtls.o: In function janus_dtls_srtp_create_sctp':
/home/li/janus/janus-gateway/dtls.c:602: undefined reference to janus_sctp_association_create' janus-dtls.o: In function janus_dtls_srtp_incoming_msg':
/home/li/janus/janus-gateway/dtls.c:683: undefined reference to janus_sctp_data_from_dtls' janus-dtls.o: In function janus_dtls_srtp_destroy':
/home/li/janus/janus-gateway/dtls.c:924: undefined reference to janus_sctp_association_destroy' janus-dtls.o: In function janus_dtls_wrap_sctp_data':
/home/li/janus/janus-gateway/dtls.c:971: undefined reference to `janus_sctp_send_data'
collect2: error: ld returned 1 exit status
Makefile:1618: recipe for target 'janus' failed
make[2]: *** [janus] Error 1
make[2]: Leaving directory '/home/li/janus/janus-gateway'
Makefile:2780: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/li/janus/janus-gateway'
Makefile:1268: recipe for target 'all' failed
make: *** [all] Error 2

It seems like an error of janus...

有声音,但是视频画面卡死

你好,我在研究janus的rtmp推流方案,找到了您的开源模块,非常开心,感谢您无私的分享。
我在使用测试的过程中发现,虽然流能正常推送出去,但是视频画面会卡在某一帧不动,只有声音是正常的。或许是我操作的有问题,请问您知道原因吗?

[live.c:janus_live_fdkaac_encoder_create:1429]

Hi,
I try to install and configure a solution like your application but after I finaly compile and install everything (janus-gateway with your patch and nginx with rtmp module) on localhost.
janus echo test works fine but when i try to record ... janus dies and :
Can you help please?

[Mon Dec 7 08:02:46 2020] Forwarding request to the core (0x7f7ff00012f0)
[Mon Dec 7 08:02:46 2020] Got a Janus API request from janus.transport.http (0x7f7ff00012f0)
[Mon Dec 7 08:02:46 2020] Transport task pool, serving request
[Mon Dec 7 08:02:46 2020] [5335964983708495] There's a message for JANUS Record&Play plugin
[Mon Dec 7 08:02:46 2020] [5335964983708495] Remote SDP:
v=0
o=- 564339947682900313 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:1OX3
a=ice-pwd:H8A9gdKAvWJresccn9Gmzwhc
a=ice-options:trickle
a=fingerprint:sha-256 21:18:60:C8:98:56:D2:16:64:2C:4F:5A:E2:E1:78:FD:8D:D8:97:DF:EF:F9:C6:30:80:9D:2E:07:73:1F:16:C0
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd e68bdf80-89cc-4658-9497-801a974470d7
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:2719604765 cname:a01bvnjFCNKk4ve8
a=ssrc:2719604765 msid:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd e68bdf80-89cc-4658-9497-801a974470d7
a=ssrc:2719604765 mslabel:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd
a=ssrc:2719604765 label:e68bdf80-89cc-4658-9497-801a974470d7
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 124 119 123
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:1OX3
a=ice-pwd:H8A9gdKAvWJresccn9Gmzwhc
a=ice-options:trickle
a=fingerprint:sha-256 21:18:60:C8:98:56:D2:16:64:2C:4F:5A:E2:E1:78:FD:8D:D8:97:DF:EF:F9:C6:30:80:9D:2E:07:73:1F:16:C0
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd b3b9d771-3d2d-4fa3-8a5b-c1e4afd0e2e0
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 VP9/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 profile-id=2
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:121 rtx/90000
a=fmtp:121 apt=102
a=rtpmap:127 H264/90000
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f
a=rtpmap:120 rtx/90000
a=fmtp:120 apt=127
a=rtpmap:125 H264/90000
a=rtcp-fb:125 goog-remb
a=rtcp-fb:125 transport-cc
a=rtcp-fb:125 ccm fir
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=125
a=rtpmap:108 H264/90000
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:124 red/90000
a=rtpmap:119 rtx/90000
a=fmtp:119 apt=124
a=rtpmap:123 ulpfec/90000
a=ssrc-group:FID 3469227685 4253301169
a=ssrc:3469227685 cname:a01bvnjFCNKk4ve8
a=ssrc:3469227685 msid:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd b3b9d771-3d2d-4fa3-8a5b-c1e4afd0e2e0
a=ssrc:3469227685 mslabel:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd
a=ssrc:3469227685 label:b3b9d771-3d2d-4fa3-8a5b-c1e4afd0e2e0
a=ssrc:4253301169 cname:a01bvnjFCNKk4ve8
a=ssrc:4253301169 msid:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd b3b9d771-3d2d-4fa3-8a5b-c1e4afd0e2e0
a=ssrc:4253301169 mslabel:P7nIwFGccVVDxoeiwYdMT1fVLvN0DFq0jMvd
a=ssrc:4253301169 label:b3b9d771-3d2d-4fa3-8a5b-c1e4afd0e2e0
[Mon Dec 7 08:02:46 2020] [5335964983708495] Audio mid: 0
[Mon Dec 7 08:02:46 2020] [5335964983708495] Video mid: 1
[Mon Dec 7 08:02:46 2020] [5335964983708495] Audio has been negotiated, Video has been negotiated, SCTP/DataChannels have NOT been negotiated
[Mon Dec 7 08:02:46 2020] [5335964983708495] Setting ICE locally: got OFFER (1 audios, 1 videos)
[Mon Dec 7 08:02:46 2020] [5335964983708495] Creating ICE agent (ICE Full mode, controlled)
[Mon Dec 7 08:02:46 2020] [5335964983708495] Adding 192.168.50.168 to the addresses to gather candidates for
[Mon Dec 7 08:02:46 2020] [5335964983708495] Gathering done for stream 1
[Mon Dec 7 08:02:46 2020] [5335964983708495] Parsing audio candidates (stream=1)...
[Mon Dec 7 08:02:46 2020] [5335964983708495] ICE ufrag (local): 1OX3
[Mon Dec 7 08:02:46 2020] [5335964983708495] ICE pwd (local): H8A9gdKAvWJresccn9Gmzwhc
[Mon Dec 7 08:02:46 2020] [5335964983708495] Fingerprint (local) : sha-256 21:18:60:C8:98:56:D2:16:64:2C:4F:5A:E2:E1:78:FD:8D:D8:97:DF:EF:F9:C6:30:80:9D:2E:07:73:1F:16:C0
[Mon Dec 7 08:02:46 2020] [5335964983708495] DTLS setup (local): actpass
[Mon Dec 7 08:02:46 2020] [5335964983708495] Setting connect state (DTLS client)
[Mon Dec 7 08:02:46 2020] [5335964983708495] Audio mid: 0
[Mon Dec 7 08:02:46 2020] [5335964983708495] Peer audio SSRC: 2719604765
[Mon Dec 7 08:02:46 2020] [5335964983708495] Parsing video candidates (stream=1)...
[Mon Dec 7 08:02:46 2020] [5335964983708495] ICE ufrag (local): 1OX3
[Mon Dec 7 08:02:46 2020] [5335964983708495] ICE pwd (local): H8A9gdKAvWJresccn9Gmzwhc
[Mon Dec 7 08:02:46 2020] [5335964983708495] Fingerprint (local) : sha-256 21:18:60:C8:98:56:D2:16:64:2C:4F:5A:E2:E1:78:FD:8D:D8:97:DF:EF:F9:C6:30:80:9D:2E:07:73:1F:16:C0
[Mon Dec 7 08:02:46 2020] [5335964983708495] DTLS setup (local): actpass
[Mon Dec 7 08:02:46 2020] [5335964983708495] Setting connect state (DTLS client)
[Mon Dec 7 08:02:46 2020] [5335964983708495] Video mid: 1
[Mon Dec 7 08:02:46 2020] [5335964983708495] Peer video SSRC: 3469227685
[Mon Dec 7 08:02:46 2020] [5335964983708495] Peer video SSRC (rtx): 4253301169
[Mon Dec 7 08:02:46 2020] Will remove payload type 97 (97 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 99 (99 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 101 (101 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 121 (121 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 120 (120 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 107 (107 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 109 (109 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 124 (124 red/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 119 (119 rtx/90000)
[Mon Dec 7 08:02:46 2020] Will remove payload type 123 (123 ulpfec/90000)
[Mon Dec 7 08:02:46 2020] -------------------------------------------
[Mon Dec 7 08:02:46 2020] >> Anonymized
[Mon Dec 7 08:02:46 2020] -------------------------------------------
[Mon Dec 7 08:02:46 2020] Creating plugin result...
[Mon Dec 7 08:02:46 2020] Sending Janus API response to janus.transport.http (0x7f7ff00012f0)
[Mon Dec 7 08:02:46 2020] Got a Janus API response to send (0x7f7ff00012f0)
[Mon Dec 7 08:02:46 2020] Destroying plugin result...
[Mon Dec 7 08:02:46 2020] Starting new recording with ID 4617670241733116
[Mon Dec 7 08:02:46 2020] Audio codec: opus
[Mon Dec 7 08:02:46 2020] Video codec: h264
[Mon Dec 7 08:02:46 2020] Directory exists: /usr/local/share/janus/recordings
[Mon Dec 7 08:02:46 2020] Directory exists: /usr/local/share/janus/recordings
[Mon Dec 7 08:02:46 2020] rtmp url:rtmp://localhost:1935/qixi/4617670241733116
[Mon Dec 7 08:02:46 2020] [ERR] [live.c:janus_live_fdkaac_encoder_create:1429] init audio encoder avcodec_find_encoder_by_name aac error

好像在最新的janus中不能用了

您好,我尝试在最新版的janus源码中加入patch,点击录制几秒种后就崩掉了,根据gdb调试是在liv.c的av_bitstream_filter_filter处出现了异常

janus version

Currently, it cannot be compiled on the high version of janus service. Is there any support for updating?

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.