사용 Kurento 미디어 서버 (KMS)를 버전을 6.6.0 kurento / kurento 미디어 서버 : 6.6.0 도커 허브에서 다음 이미지를 사용하여 부두 노동자와 함께 배포
튜토리얼 따라 : 문서»Kurento 튜토리얼»자바-플레이어
KMS 버전 : 6.6.0
Version: 6.6.0
Found modules:
Module: 'core' version '6.6.0'
Module: 'elements' version '6.6.0'
Module: 'filters' version '6.6.0'
기타 라이브러리 버전 :
ii gstreamer1.5-libav:amd64 1.8.2.1~20160909143244.96.g493eee4.trusty amd64 libav plugin for GStreamer
ii gstreamer1.5-nice:amd64 0.1.13.1~20160909144510.80.gd9ef50e.trusty amd64 ICE library (GStreamer plugin)
ii gstreamer1.5-plugins-bad:amd64 1.8.1.1~20160909144557.99.gf836e53.trusty amd64 GStreamer plugins from the "bad" set
ii gstreamer1.5-plugins-base:amd64 1.8.1.1~20160909142623.55.g7b19cfd.trusty amd64 GStreamer plugins from the "base" set
ii gstreamer1.5-plugins-good:amd64 1.8.1.1~20160909143047.112.g9ee4248.trusty amd64 GStreamer plugins from the "good" set
ii gstreamer1.5-plugins-ugly:amd64 1.8.1.1~20160909192513.89.g2685b0f.trusty amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.5-pulseaudio:amd64 1.8.1.1~20160909143047.112.g9ee4248.trusty amd64 GStreamer plugin for PulseAudio
ii gstreamer1.5-x:amd64 1.8.1.1~20160909142623.55.g7b19cfd.trusty amd64 GStreamer plugins for X11 and Pango
ii kms-core-6.0 6.6.0.20160909201132.trusty amd64 Kurento core module
ii kms-elements-6.0 6.6.0.20160912112100.trusty amd64 Kurento elements module
ii kms-filters-6.0 6.6.0.20160912114031.trusty amd64 Kurento filters module
ii kms-jsonrpc-1.0 1.1.1.trusty amd64 Kurento jsonrpc library
ii kmsjsoncpp 1.6.3~20160909143252.40.gd78deb7.trusty amd64 Kurento jsoncpp library
ii kurento-media-server-6.0 6.6.0.20160912115811.trusty amd64 Kurento Media Server
ii libgstreamer-plugins-bad1.5-0:amd64 1.8.1.1~20160909144557.99.gf836e53.trusty amd64 GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-base1.5-0:amd64 1.8.1.1~20160909142623.55.g7b19cfd.trusty amd64 GStreamer libraries from the "base" set
ii libgstreamer1.5-0:amd64 1.8.1.1~20160909144007.170.g0d6031b.trusty amd64 Core GStreamer libraries and elements
ii libnice10:amd64 0.1.13.1~20160909144510.80.gd9ef50e.trusty amd64 ICE library (shared library)
클라이언트 라이브러리
애플리케이션 서버 (백엔드)
<dependency>
<groupId>org.kurento</groupId>
<artifactId>kurento-client</artifactId>
<version>6.9.0</version>
</dependency>
Kurento-utils (프론트 엔드)
"kurento-utils": "^6.9.0"
RTSP MULTICAST 로 " PlayerEndpoint "를 IP 카메라에 연결하려고 할 때 , 예 : rtsp : // xxxxx : [email protected]? multicast = 1
KMS는 다음 오류를 반환합니다.
Log KMS v6.6.0 연결 Kurento IP 카메라 멀티 캐스트
라인에 특히주의하십시오.
kms2 | 0:04:34.165887894 1 0x7fe214002230 DEBUG rtspsrc gstrtspsrc.c:7553:gst_rtspsrc_handle_message:<source> timeout on UDP port
RTSP UNICAST 스트림을 재생할 수 있지만 MULTICAST 는 재생할 수 없습니다.
또한이 단계에 따라 네트워크 문제가 아닌지 확인합니다.
gst-launch-1.0 rtspsrc location = "rtsp : // xxxxx : [email protected]? multicast = 1"! 디코드 빈! autovideosink
Wireshark 패키지의 결과는 다음과 같습니다.
프로토콜 IGMPv2를 사용하는 Wireshark 추적에주의하십시오. Kurento가이 프로토콜을 사용하지 않는 것을 알았습니다.
이 문서에 따라 :
https://doc-kurento.readthedocs.io/en/6.9.0/dev/dev_guide.html#add-kurento-repository
다음과 같은 방법으로 gst-launch-1.5 명령을 실행할 수있었습니다.
gst-launch-1.5 rtspsrc location =" rtsp://xxxxx:[email protected]/?multicast=1"! Decodebin! autovideosink
결과는 예상대로 MULTICAST에서 문제없이 재생할 수있었습니다.
그 후 다음 게시물을 찾았습니다.
그런 다음 Docker, 특히 네트워크 구성에서 오류가 발생했는지 확인할 수 있습니다.
이 문제에 대한 해결책은 Docker Compose에서 다음과 같은 방식으로 KMS 서비스를 노출하는 것입니다.
network_mode: host
version: "3.7"
services:
kms:
image: kurento/kurento-media-server:6.9.0
container_name: kms
restart: always
network_mode: host
environment:
- GST_DEBUG=2,Kurento*:5
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다