Skip to content

Instantly share code, notes, and snippets.

MacBook-Pro:build tracer$ OPENSSL_ROOT_DIR=/usr/local/opt/openssl/ PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig cmake -DLWS_MAX_SMP=1 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_FLAGS="-fpic" ..
-- CMAKE_TOOLCHAIN_FILE=''
Git commit hash: v2.0.0-879-ga2210d1b
Compiling with SSL support
-- Found OpenSSL: /usr/lib/libcrypto.dylib (found version "1.0.2o")
OpenSSL include dir: /usr/local/opt/openssl/include
OpenSSL libraries: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Looking for openssl/ecdh.h
-- Looking for openssl/ecdh.h - found
-- Looking for SSL_CTX_set1_param
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.26/live latency=0 ! decodebin ! autovideosink
gst-launch-1.0.exe -e -v rtspsrc location=rtsp://192.168.1.26/live ! rtph264depay ! h264parse ! mp4mux ! filesink location=record/video.h264
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.1.26/live ! rtph264depay ! h264parse ! decodebin ! videoconvert ! autovideosink
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.1.26/live ! rtph264depay ! avdec_h264 ! x264enc key-int-max=30 ! video/x-h264, profile=baseline ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.1.29 port=8004
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.1.31/live ! rtph264depay ! avdec_h264 ! x264enc key-int-max=30 ! video/x-h264, profile=baseline ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.1.29 port=8008
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.1.26/live ! rtph264depay ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.1.29 port=8004
type: answer, sdp: v=0
o=- 6742105276771064841 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE video data
a=msid-semantic: WMS
m=video 9 UDP/TLS/RTP/SAVPF 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:yV2g
type: offer, sdp: v=0
o=- 1522763813195978 1522763813195978 IN IP4 192.168.1.22
s=Mountpoint 1
t=0 0
a=group:BUNDLE video data
a=msid-semantic: WMS janus
m=video 9 UDP/TLS/RTP/SAVPF 126
c=IN IP4 192.168.1.22
a=sendonly
a=mid:video
Got an H264 key frame
[1662690896598636] Keyframe sent, cleaning retransmit buffer
[1662690896598636] Got an RTCP packet
[1662690896598636] Incoming RTCP, bundling: this is video (no audio has been negotiated)
Parsing compound packet (total of 68 bytes)
#1 RR (201)
jitter=926.000000, fraction=0, loss=0
RTCP PT 201, length: 32 bytes
#2 PLI -- PSFB (206)
RTCP PT 206, length: 12 bytes
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0: stats = application/x-rtp-session-stats, rtx-drop-count=(uint)0, sent-nack-count=(uint)0, recv-nack-count=(uint)0, source-stats=(GValueArray)< "application/x-rtp-source-stats\,\ ssrc\=\(uint\)2591197073\,\ internal\=\(boolean\)true\,\ validated\=\(boolean\)true\,\ received-bye\=\(boolean\)false\,\ is-csrc\=\(boolean\)false\,\ is-sender\=\(boolean\)false\,\ seqnum-base\=\(int\)-1\,\ clock-rate\=\(int\)-1\,\ octets-sent\=\(guint64\)0\,\ packets-sent\=\(guint64\)0\,\ octets-received\=\(guint64\)0\,\ packets-received\=\(guint64\)0\,\ bitrate\=\(guint64\)0\,\ packets-lost\=\(int\)0\,\ jitter\=\(uint\)0\,\ sent-pli-count\=\(uint\)0\,\ recv-pli-count\=\(uint\)0\,\ sent-fir-count\=\(uint\)0\,\ recv-fir-count\=\(uint\)0\,\ sent-nack-count\=\(uint\)0\,\ recv-nack-count\=\(uint\)0\,\ have-sr\=\(boolean\)false\,\ sr-ntptime\=\(guint64\)0\,\ sr-rtptime\=\(uint\)0\,\ sr-octet-count\=\(uint\)0\,\ sr-packet-count\=\(uint\)0\;", "applicati
@Triuman
Triuman / RtspLog.txt
Created March 30, 2018 20:57
Rtsp Log Yi 4k Plus Camera Live
* Trying 192.168.1.26...
* Connected to 192.168.1.26 (192.168.1.26) port 554 (#0)
> DESCRIBE rtsp://192.168.1.26/live RTSP/1.0
CSeq: 1
Accept: application/sdp
< RTSP/1.0 200 OK
< CSeq: 1
< Date: Fri, Jan 17 2014 02:03:17 GMT
< Content-Base: rtsp://192.168.1.26/live/
[2018-02-10 11:37:49 0138][install]<DEBUG> [Loger::install] Success.
[2018-02-10 11:37:49 0140][install]<DEBUG> [IPCSender::install] Success.
[2018-02-10 11:37:49 0140][install]<DEBUG> [IPCRecver::install] success.
[2018-02-10 11:37:49 0140][install]<DEBUG> [IPC::install] Success.
[2018-02-10 11:37:49 0140][install]<DEBUG> [AudioStream::install] success.
[2018-02-10 11:37:49 0141][install]<DEBUG> [VideoStream::install] success.
[2018-02-10 11:37:49 0141][install]<DEBUG> [StreamManager::install] success.
[2018-02-10 11:37:49 0141][install]<DEBUG> [RTMPManager::install] success.
[2018-02-10 11:37:49 0141][install]<DEBUG> [QRScanner::install] success.
[2018-02-10 11:37:49 0142][install]<DEBUG> [WiFiManager::install] success.