Kurento KMS를 RTSP 멀티 캐스트 URI에 연결할 수 없습니다.

perezmlal

사용 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)

클라이언트 라이브러리

  1. 애플리케이션 서버 (백엔드)

    • 언어 : 자바
    • 버전 : 6.9.0
<dependency>
    <groupId>org.kurento</groupId>
    <artifactId>kurento-client</artifactId>
    <version>6.9.0</version>
</dependency>
  1. Kurento-utils (프론트 엔드)

    • 언어 : JavaScript (프런트 엔드)
    • 버전 : 6.9.0 "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 는 재생할 수 없습니다.

또한이 단계에 따라 네트워크 문제가 아닌지 확인합니다.

  • 다음 명령을 사용하여 GStreamer 에서 MULTICAST 스트림 을 재생 해보십시오 .

gst-launch-1.0 rtspsrc location = "rtsp : // xxxxx : [email protected]? multicast = 1"! 디코드 빈! autovideosink

  • GStreamer와 Kurento를 사용하여 Wireshark 프레임을 비교합니다. GStreamer는 문제가 없지만 Kurento를 사용하면 카메라가 MULTICAST 주소로 데이터를 보내기 시작하는 것처럼 보이지만 Kurento는 흐름을 시각화하지 않고 " invalid uri "오류를 발생시키고 TEARDOWN을 실행합니다.

Wireshark 패키지의 결과는 다음과 같습니다.

프로토콜 IGMPv2를 사용하는 Wireshark 추적에주의하십시오. Kurento가이 프로토콜을 사용하지 않는 것을 알았습니다.

perezmlal

이 문서에 따라 :

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, 특히 네트워크 구성에서 오류가 발생했는지 확인할 수 있습니다.

이 문제에 대한 해결책은 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] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Kurento를 통해 RTSP 스트림을 전달할 수 있습니까? WebRTC에서 RTSP로

vlc를 통해 rtsp 스트림에 연결할 수 없습니다.

UDP를 사용하여 양방향 멀티캐스트 연결을 수행할 수 없습니다.

프로그램에서 멀티 캐스트 데이터를 수신 할 수 없습니다.

네이티브 Android 기기를 kurento 미디어 서버에 연결할 수 없습니다.

redis 서버에 연결할 수 없습니다. 연결이 끊긴 멀티플렉서를 만들려면

멀티 피어 연결을 통해 Bluetooth를 연결할 수 없습니다.

멀티 스레딩에서 QNetworkAccessManager :: finised 신호를 처리 할 수 없습니다.

'연결'속성이 'Observable <any>'유형에 없습니다. | RXJS 멀티 캐스트

MSMQ 메시지 멀티 캐스트 : 다른 컴퓨터에서 메시지를받을 수 없습니다.

Qt는 지정된 networkInterface의 멀티캐스트 그룹에 참여할 수 없습니다.

Linux의 Win7 VM에서 멀티 캐스트를 어떻게 사용할 수 있습니까?

크로스 케이블을 통해 연결된 2개의 서버 간에 멀티캐스트 UDP를 어떻게 보낼 수 있습니까?

redis 서버에 연결할 수 없습니다. 연결이 끊어진 멀티플렉서를 만들려면 AbortOnConnectFail을 비활성화합니다. PING의 SocketFailure

Live555를 사용하여 기록 된 RTSP 세션 (pcap)에서 멀티 캐스트 RTP 스트림 (여러 서브 세션 포함) 수신

반응에서 멀티파트를 사용하여 이미지를 업로드할 수 없습니다.

socket.io에서 사용자 연결 해제를 브로드 캐스트 할 수 없습니다.

Ubuntu에서 Dell 1600n 스캐너를 연결할 수 없습니다.

libvlcsharp-rtsp 스트림 카메라에서 멀티 캐스트를 강제하는 방법

Android에서 RTSP 서버를 구현할 수 없습니다.

TCPdump / Wireshark를 사용하여 멀티 캐스트 패킷을 볼 수 있지만 응용 프로그램에서받을 수 없습니다.

멀티 피어 연결-서비스에 연결할 수있는 장치의 수?

str에 바이트를 연결할 수 없습니다.

TypeError : str에 바이트를 연결할 수 없습니다.

포트 9200에서 CentOS를 연결할 수 없습니다.

Vuetify를 프로젝트에 연결할 수 없습니다.

노드를 클러스터에 연결할 수 없습니다.

소품에 디스패치를 연결할 수 없습니다

Tkinter 스크롤바를 Listbox에 연결할 수 없습니다