Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording issue, deskshare and webcam not recorded (playing only blank screen). #275

Open
capitalfuse opened this issue May 31, 2023 · 1 comment

Comments

@capitalfuse
Copy link

capitalfuse commented May 31, 2023

Docker BBB version2.6.0.6
Changed the endpoint like version 2, but keep the issue.
On my case, addition to the above issue, deskshare recordings have been blank (play continue with the white blank screen).
But the recordings for the slides, chat, audio, whiteboard events, shared notes is no problem.

Screenshot
https://ficus-forum.myvnc.com/uploads/default/original/2X/8/800af1a3caa78be97cea3ca84171d6a1f4019c1a.png

$ docker compose logs kurento | grep ERROR
bbb2602-docker-kurento-1  | 0:04:14.087963671     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 13: Could not get/set settings from/on resource., source: multiudpsink0, element: kmsrtpendpoint0, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstMultiUDPSink:multiudpsink0:
bbb2602-docker-kurento-1  | 0:04:14.088127015     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 13: Could not get/set settings from/on resource., source: multiudpsink1, element: kmsrtpendpoint0, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstMultiUDPSink:multiudpsink1:
bbb2602-docker-kurento-1  | 0:04:14.089914400     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 9: Could not read from resource., source: udpsrc0, element: kmsrtpendpoint0, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc0:
bbb2602-docker-kurento-1  | 0:04:14.090225819     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 1: Internal data flow error., source: udpsrc0, element: kmsrtpendpoint0, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc0:
bbb2602-docker-kurento-1  | 0:04:14.098896743     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 9: Could not read from resource., source: udpsrc1, element: kmsrtpendpoint0, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc1:
bbb2602-docker-kurento-1  | 0:04:14.098974647     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 1: Internal data flow error., source: udpsrc1, element: kmsrtpendpoint0, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc1:
bbb2602-docker-kurento-1  | 0:04:33.604637280     1 0x7f1e140038a0 ERROR   KurentoUriEndpointImpl UriEndpointImpl.cpp:157:stop:<kmsrecorderendpoint0> Error: Already in state stop
bbb2602-docker-kurento-1  | 0:16:56.460145370     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 13: Could not get/set settings from/on resource., source: multiudpsink2, element: kmsrtpendpoint1, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstMultiUDPSink:multiudpsink2:
bbb2602-docker-kurento-1  | 0:16:56.461141392     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 13: Could not get/set settings from/on resource., source: multiudpsink3, element: kmsrtpendpoint1, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstMultiUDPSink:multiudpsink3:
bbb2602-docker-kurento-1  | 0:16:56.472479353     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 9: Could not read from resource., source: udpsrc2, element: kmsrtpendpoint1, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstUDPSrc:udpsrc2:
bbb2602-docker-kurento-1  | 0:16:56.472701949     1 0x55c83f66b700 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 1: Internal data flow error., source: udpsrc2, element: kmsrtpendpoint1, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstUDPSrc:udpsrc2:
bbb2602-docker-kurento-1  | 0:00:25.098437365     1 0x564a7cd9e460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 13: Could not get/set settings from/on resource., source: multiudpsink0, element: kmsrtpendpoint0, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstMultiUDPSink:multiudpsink0:
bbb2602-docker-kurento-1  | 0:00:25.098685917     1 0x564a7cd9e460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 13: Could not get/set settings from/on resource., source: multiudpsink1, element: kmsrtpendpoint0, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstMultiUDPSink:multiudpsink1:
bbb2602-docker-kurento-1  | 0:00:25.114602612     1 0x564a7cd9e460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 9: Could not read from resource., source: udpsrc1, element: kmsrtpendpoint0, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc1:
bbb2602-docker-kurento-1  | 0:00:25.114686624     1 0x564a7cd9e460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 1: Internal data flow error., source: udpsrc1, element: kmsrtpendpoint0, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc1:
bbb2602-docker-kurento-1  | 0:06:32.090365387     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 13: Could not get/set settings from/on resource., source: multiudpsink0, element: kmsrtpendpoint0, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstMultiUDPSink:multiudpsink0:
bbb2602-docker-kurento-1  | 0:06:32.090600723     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 13: Could not get/set settings from/on resource., source: multiudpsink1, element: kmsrtpendpoint0, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstMultiUDPSink:multiudpsink1:
bbb2602-docker-kurento-1  | 0:06:32.092732719     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 9: Could not read from resource., source: udpsrc0, element: kmsrtpendpoint0, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc0:
bbb2602-docker-kurento-1  | 0:06:32.092968700     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 1: Internal data flow error., source: udpsrc0, element: kmsrtpendpoint0, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc0:
bbb2602-docker-kurento-1  | 0:06:32.096058118     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 9: Could not read from resource., source: udpsrc1, element: kmsrtpendpoint0, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc1:
bbb2602-docker-kurento-1  | 0:06:32.096230968     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint0> Error code 1: Internal data flow error., source: udpsrc1, element: kmsrtpendpoint0, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/KmsRtpEndpoint:kmsrtpendpoint0/KmsRtpSession:kmsrtpsession0/GstUDPSrc:udpsrc1:
bbb2602-docker-kurento-1  | 0:07:14.711383704     1 0x7f0e7c003a90 ERROR   KurentoUriEndpointImpl UriEndpointImpl.cpp:157:stop:<kmsrecorderendpoint0> Error: Already in state stop
bbb2602-docker-kurento-1  | 0:07:32.294586015     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 13: Could not get/set settings from/on resource., source: multiudpsink2, element: kmsrtpendpoint1, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstMultiUDPSink:multiudpsink2:
bbb2602-docker-kurento-1  | 0:07:32.295333833     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 13: Could not get/set settings from/on resource., source: multiudpsink3, element: kmsrtpendpoint1, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstMultiUDPSink:multiudpsink3:
bbb2602-docker-kurento-1  | 0:07:32.297852504     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 9: Could not read from resource., source: udpsrc2, element: kmsrtpendpoint1, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstUDPSrc:udpsrc2:
bbb2602-docker-kurento-1  | 0:07:32.298109374     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 1: Internal data flow error., source: udpsrc2, element: kmsrtpendpoint1, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstUDPSrc:udpsrc2:
bbb2602-docker-kurento-1  | 0:07:32.298382668     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 9: Could not read from resource., source: udpsrc3, element: kmsrtpendpoint1, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstUDPSrc:udpsrc3:
bbb2602-docker-kurento-1  | 0:07:32.298591033     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint1> Error code 1: Internal data flow error., source: udpsrc3, element: kmsrtpendpoint1, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint1/KmsRtpSession:kmsrtpsession1/GstUDPSrc:udpsrc3:
bbb2602-docker-kurento-1  | 0:07:56.766238476     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint2> Error code 13: Could not get/set settings from/on resource., source: multiudpsink4, element: kmsrtpendpoint2, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint2/KmsRtpSession:kmsrtpsession2/GstMultiUDPSink:multiudpsink4:
bbb2602-docker-kurento-1  | 0:07:56.766598223     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint2> Error code 9: Could not read from resource., source: udpsrc4, element: kmsrtpendpoint2, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint2/KmsRtpSession:kmsrtpsession2/GstUDPSrc:udpsrc4:
bbb2602-docker-kurento-1  | 0:07:56.766919979     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint2> Error code 1: Internal data flow error., source: udpsrc4, element: kmsrtpendpoint2, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint2/KmsRtpSession:kmsrtpsession2/GstUDPSrc:udpsrc4:
bbb2602-docker-kurento-1  | 0:07:56.768762304     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint2> Error code 13: Could not get/set settings from/on resource., source: multiudpsink5, element: kmsrtpendpoint2, debug info: gstmultiudpsink.c(1284): gst_multiudpsink_configure_client (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint2/KmsRtpSession:kmsrtpsession2/GstMultiUDPSink:multiudpsink5:
bbb2602-docker-kurento-1  | 0:07:56.784563887     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint2> Error code 9: Could not read from resource., source: udpsrc5, element: kmsrtpendpoint2, debug info: gstudpsrc.c(641): gst_udpsrc_create (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint2/KmsRtpSession:kmsrtpsession2/GstUDPSrc:udpsrc5:
bbb2602-docker-kurento-1  | 0:07:56.784986921     1 0x56439cf78460 ERROR   KurentoMediaElementImpl MediaElementImpl.cpp:456:processBusMessage:<kmsrtpendpoint2> Error code 1: Internal data flow error., source: udpsrc5, element: kmsrtpendpoint2, debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline2/KmsRtpEndpoint:kmsrtpendpoint2/KmsRtpSession:kmsrtpsession2/GstUDPSrc:udpsrc5:
bbb2602-docker-kurento-1  | 0:08:02.105768912     1 0x7f0e90005c70 ERROR   KurentoUriEndpointImpl UriEndpointImpl.cpp:157:stop:<kmsrecorderendpoint2> Error: Already in state stop
bbb2602-docker-kurento-1  | 0:08:10.573612495     1 0x7f0e84004040 ERROR   KurentoUriEndpointImpl UriEndpointImpl.cpp:157:stop:<kmsrecorderendpoint1> Error: Already in state stop
@capitalfuse
Copy link
Author

capitalfuse commented Jun 7, 2023

webrtc-sfu and kurento settings in docker-compose.yml have been changed.

Fixed as below.

Upgrade kurento to v7.0.1
Upgrade webrtc-sfu to v2.9.12

docker-compose.yml

kurento:
    image: kurento/kurento-media-server:7.0.1
    restart: unless-stopped
    environment:
      KMS_EXTERNAL_IPV4: 10.7.7.1
      #KMS_EXTERNAL_IPV6: ${EXTERNAL_IPv6}
      KMS_MIN_PORT: 10000
      KMS_MAX_PORT: 10030
    network_mode: host
    volumes:
      - vol-kurento:/var/kurento

  webrtc-sfu:
    build: 
      context: mod/webrtc-sfu
      args:
        BBB_BUILD_TAG: v2022-12-29-grails-524
    image: alangecker/bbb-docker-webrtc-sfu:v2.9.12
    restart: unless-stopped
    depends_on:
      - redis
      - freeswitch
    environment:
      CLIENT_HOST: 10.7.7.1
      REDIS_HOST: 10.7.7.5
      # changed from default in default.example.yml
      MCS_HOST: 10.7.7.1
      MCS_ADDRESS: 10.7.7.1

      FREESWITCH_IP: 10.7.7.1
      FREESWITCH_SIP_IP: ${EXTERNAL_IPv6}
      ESL_IP: 10.7.7.1
      ESL_PASSWORD: ${FSESL_PASSWORD:-ClueCon}
      #KURENTO: '[{"ip": "::", "url": "ws://[::1]:8888/kurento"}]'
      KURENTO: '[{"ip": "0.0.0.0", "url": "ws://10.7.7.1:8888/kurento"}]'
      MS_RTC_MIN: 25000 
      MS_RTC_MAX: 25050
      # TODO: add mediasoup IPv6
      # TODO: can listen to 0.0.0.0 for nat support? https://github.com/versatica/mediasoup/issues/487
      MS_WEBRTC_LISTEN_IPS: '[{"ip":"0.0.0.0", "announcedIp":"10.7.7.1"}, {"ip":"${EXTERNAL_IPv6}"}]'
      MS_RTP_LISTEN_IP: '{"ip":"0.0.0.0", "announcedIp":"10.7.7.1"}'
    volumes:
      - vol-mediasoup:/var/mediasoup
    tmpfs:
      - /var/log/bbb-webrtc-sfu
    network_mode: host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant