Replies: 1 comment
-
From the logs, it looks like the camera is not responding to DESCRIBE requests. Please send the RTSP camera address to [email protected] for a more accurate analysis. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Unable to stream RTSP over ip camera
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Called llhls using this url
http://localhost:3333/app/cam01/llhls.m3u8
Logs
[2025-02-06 16:31:24.175] W [OvenMediaEngine:1] RTMPProvider | rtmp_provider.cpp:87 | RTMPProvider is disabled by configuration
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] RTMPProvider | rtmp_provider.cpp:71 | Terminated Rtmp Provider module.
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] OvenMediaEngine | main.cpp:145 | Trying to create OVT Provider...
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] Provider | provider.cpp:37 | OVTProvider has been started.
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] OvenMediaEngine | main.cpp:146 | Trying to create RTSPC Provider...
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] Provider | provider.cpp:37 | RTSPCProvider has been started.
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] OvenMediaEngine | main.cpp:147 | Trying to create File Provider...
[2025-02-06 16:31:24.175] I [OvenMediaEngine:1] Provider | provider.cpp:37 | FileProvider has been started.
[2025-02-06 16:31:24.176] I [OvenMediaEngine:1] OvenMediaEngine | main.cpp:148 | Trying to create Scheduled Provider...
[2025-02-06 16:31:24.176] I [OvenMediaEngine:1] Provider | provider.cpp:37 | ScheduledProvider has been started.
[2025-02-06 16:31:24.176] I [OvenMediaEngine:1] OvenMediaEngine | main.cpp:149 | Trying to create Multiplex Provider...
[2025-02-06 16:31:24.176] I [OvenMediaEngine:1] Provider | provider.cpp:37 | MultiplexProvider has been started.
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] OvenMediaEngine | main.cpp:156 | All modules are initialized successfully
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] Monitor | monitoring.cpp:75 | OvenMediaEngine(845ac103-5a36-4dfc-9260-e2796bd2ea84) ServerMetric has been started for monitoring - 2025-02-06T16:31:24.177+00:00
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] Monitor | server_metrics.cpp:61 | Create HostMetrics(default/845ac103-5a36-4dfc-9260-e2796bd2ea84/default) for monitoring
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] Orchestrator | orchestrator.cpp:1302 | Trying to create an application: [#default#app]
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] Monitor | host_metrics.cpp:58 | Create ApplicationMetrics(#default#app/845ac103-5a36-4dfc-9260-e2796bd2ea84/default/#default#app) for monitoring
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] MediaRouter | mediarouter_application.cpp:52 | [#default#app(0)] Created Mediarouter application. Worker(1) DelayBufferTime(0)
[2025-02-06 16:31:24.177] I [OvenMediaEngine:1] MediaRouter | mediarouter.cpp:83 | Created Mediarouter. app(#default#app)
[2025-02-06 16:31:24.178] I [OvenMediaEngine:1] Publisher | application.cpp:226 | WebRTC Publisher Application has created [#default#app] application
[2025-02-06 16:31:24.178] I [OvenMediaEngine:1] Publisher | application.cpp:226 | LLHLS Publisher Application has created [#default#app] application
[2025-02-06 16:31:24.178] I [OvenMediaEngine:1] Publisher | application.cpp:226 | OVTPublisher Application has created [#default#app] application
[2025-02-06 16:31:24.178] W [OvenMediaEngine:1] Publisher | publisher.cpp:68 | File publisher is disabled in #default#app application, so it was not created
[2025-02-06 16:31:24.178] I [OvenMediaEngine:1] Transcoder | transcoder_application.cpp:34 | Created transcoder application. [#default#app]
[2025-02-06 16:31:24.178] W [OvenMediaEngine:1] Publisher | publisher.cpp:68 | Push publisher is disabled in #default#app application, so it was not created
[2025-02-06 16:31:24.178] I [OvenMediaEngine:1] Transcoder | transcoder.cpp:97 | Transcoder has created [config][#default#app] application
[2025-02-06 16:31:24.178] W [OvenMediaEngine:1] Provider | provider.cpp:91 | OVT provider is disabled in #default#app application, so it was not created
[2025-02-06 16:31:24.178] I [OvenMediaEngine:1] Provider | application.cpp:46 | RTSPCProvider has created [#default#app] application
[2025-02-06 16:31:24.178] W [OvenMediaEngine:1] Provider | provider.cpp:91 | Scheduled provider is disabled in #default#app application, so it was not created
[2025-02-06 16:31:24.178] W [OvenMediaEngine:1] Provider | provider.cpp:91 | Multiplex provider is disabled in #default#app application, so it was not created
[2025-02-06 16:31:24.179] I [OvenMediaEngine:1] HTTP.Server | http_server_manager.cpp:319 | API Server is listening on *:8081...
[2025-02-06 16:31:26.335] I [SPRtcSig-t3333:10] HTTP.Server | http_server.cpp:149 | Client(<ClientSocket: 0x7f261ebfd010, #25, Connected, TCP, Nonblocking, 172.18.0.1:37260>) is connected on *:3333
[2025-02-06 16:31:26.335] I [SPRtcSig-t3333:10] Publisher | publisher.cpp:179 | Try to pull stream from local origin map: [#default#app/cam01]
[2025-02-06 16:31:26.335] I [SPRtcSig-t3333:10] Orchestrator | orchestrator.cpp:623 | Trying to pull stream [#default#app/cam01] from provider using origin map: PullProvider
[2025-02-06 16:31:26.345] I [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:243 | Request Describe : Request: DESCRIBE rtsp://userid:[email protected]:554/stream2 1.0
Accept: application/sdp
CSeq: 0
User-Agent: OvenMediaEngine
[2025-02-06 16:31:29.353] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:890 | [#default#app/cam01] An error occurred while receiving packet: [Socket] Receive timed out: Resource temporarily unavailable (11)
[2025-02-06 16:31:29.354] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:259 | No response(CSeq : 0) was received from the rtsp server(rtsp://userid:[email protected]:554/stream2)
[2025-02-06 16:31:29.369] I [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:243 | Request Describe : Request: DESCRIBE rtsp://userid:[email protected]:554/stream2 1.0
Accept: application/sdp
CSeq: 1
User-Agent: OvenMediaEngine
[2025-02-06 16:31:32.393] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:890 | [#default#app/cam01] An error occurred while receiving packet: [Socket] Receive timed out: Resource temporarily unavailable (11)
[2025-02-06 16:31:32.394] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:259 | No response(CSeq : 1) was received from the rtsp server(rtsp://userid:[email protected]:554/stream2)
[2025-02-06 16:31:32.400] I [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:243 | Request Describe : Request: DESCRIBE rtsp://userid:[email protected]:554/stream2 1.0
Accept: application/sdp
CSeq: 2
User-Agent: OvenMediaEngine
[2025-02-06 16:31:35.433] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:890 | [#default#app/cam01] An error occurred while receiving packet: [Socket] Receive timed out: Resource temporarily unavailable (11)
[2025-02-06 16:31:35.434] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:259 | No response(CSeq : 2) was received from the rtsp server(rtsp://userid:[email protected]:554/stream2)
[2025-02-06 16:31:35.434] I [SPRtcSig-t3333:10] Provider | stream.cpp:65 | #default#app/cam01(100) has been stopped playing stream
[2025-02-06 16:31:35.434] E [SPRtcSig-t3333:10] Provider | provider.cpp:154 | RTSPCProvider Application could not create [cam01] stream.
[2025-02-06 16:31:35.434] E [SPRtcSig-t3333:10] Orchestrator | orchestrator.cpp:641 | Could not pull stream [#default#app/cam01] from provider: PullProvider
[2025-02-06 16:31:35.434] E [SPRtcSig-t3333:10] LLHLS Publisher | llhls_publisher.cpp:387 | Cannot find stream (#default#app/cam01)
[2025-02-06 16:31:35.434] I [SPRtcSig-t3333:10] Publisher | publisher.cpp:183 | Try to pull stream from origin map store: [#default#app/cam01]
[2025-02-06 16:31:35.434] E [SPRtcSig-t3333:10] HTTP.Server | http_exchange.cpp:42 |
[Client] HttpConnection(0x7f2622c40c10) : HTTP/1.1 <ClientSocket: 0x7f261ebfd010, #25, Connected, TCP, Nonblocking, 172.18.0.1:37260> TLS(Disabled) (Elapsed: 9099)
[Request] GET http://localhost:3333/app/cam01/llhls.m3u8 (HTTP/1.1, Request Time: 2025-02-06T16:31:26.335+00:00)
[Response] 404 Not Found (95 bytes sent, Response Time: 2025-02-06T16:31:35.434+00:00)
[2025-02-06 16:31:35.434] I [SPRtcSig-t3333:10] HTTP.Server | http_server.cpp:149 | Client(<ClientSocket: 0x7f261ebfd210, #27, Connected, TCP, Nonblocking, 172.18.0.1:37264>) is connected on *:3333
[2025-02-06 16:31:43.708] I [SPRtcSig-t3333:10] Publisher | publisher.cpp:179 | Try to pull stream from local origin map: [#default#app/cam01]
[2025-02-06 16:31:43.708] I [SPRtcSig-t3333:10] Orchestrator | orchestrator.cpp:623 | Trying to pull stream [#default#app/cam01] from provider using origin map: PullProvider
[2025-02-06 16:31:43.717] I [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:243 | Request Describe : Request: DESCRIBE rtsp://userid:[email protected]:554/stream2 1.0
Accept: application/sdp
CSeq: 0
User-Agent: OvenMediaEngine
[2025-02-06 16:31:46.793] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:890 | [#default#app/cam01] An error occurred while receiving packet: [Socket] Receive timed out: Resource temporarily unavailable (11)
[2025-02-06 16:31:46.793] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:259 | No response(CSeq : 0) was received from the rtsp server(rtsp://userid:[email protected]:554/stream2)
[2025-02-06 16:31:46.802] I [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:243 | Request Describe : Request: DESCRIBE rtsp://userid:[email protected]:554/stream2 1.0
Accept: application/sdp
CSeq: 1
User-Agent: OvenMediaEngine
[2025-02-06 16:31:49.833] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:890 | [#default#app/cam01] An error occurred while receiving packet: [Socket] Receive timed out: Resource temporarily unavailable (11)
[2025-02-06 16:31:49.834] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:259 | No response(CSeq : 1) was received from the rtsp server(rtsp://userid:[email protected]:554/stream2)
[2025-02-06 16:31:49.844] I [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:243 | Request Describe : Request: DESCRIBE rtsp://userid:[email protected]:554/stream2 1.0
Accept: application/sdp
CSeq: 2
User-Agent: OvenMediaEngine
[2025-02-06 16:31:52.874] I [SPRtcSig-t3333:10] Provider | stream.cpp:65 | #default#app/cam01(101) has been stopped playing stream
[2025-02-06 16:31:52.873] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:890 | [#default#app/cam01] An error occurred while receiving packet: [Socket] Receive timed out: Resource temporarily unavailable (11)
[2025-02-06 16:31:52.873] E [SPRtcSig-t3333:10] RtspcStream | rtspc_stream.cpp:259 | No response(CSeq : 2) was received from the rtsp server(rtsp://userid:[email protected]:554/stream2)
[2025-02-06 16:31:52.874] E [SPRtcSig-t3333:10] Provider | provider.cpp:154 | RTSPCProvider Application could not create [cam01] stream.
[2025-02-06 16:31:52.874] E [SPRtcSig-t3333:10] Orchestrator | orchestrator.cpp:641 | Could not pull stream [#default#app/cam01] from provider: PullProvider
[2025-02-06 16:31:52.874] I [SPRtcSig-t3333:10] Publisher | publisher.cpp:183 | Try to pull stream from origin map store: [#default#app/cam01]
[2025-02-06 16:31:52.874] E [SPRtcSig-t3333:10] LLHLS Publisher | llhls_publisher.cpp:387 | Cannot find stream (#default#app/cam01)
[2025-02-06 16:31:52.874] E [SPRtcSig-t3333:10] HTTP.Server | http_exchange.cpp:42 |
[Client] HttpConnection(0x7f2622c40c10) : HTTP/1.1 <ClientSocket: 0x7f261ebfd010, #25, Connected, TCP, Nonblocking, 172.18.0.1:37260> TLS(Disabled) (Elapsed: 9165)
[Request] GET http://localhost:3333/app/cam01/llhls.m3u8 (HTTP/1.1, Request Time: 2025-02-06T16:31:43.708+00:00)
[Response] 404 Not Found (95 bytes sent, Response Time: 2025-02-06T16:31:52.874+00:00)
[2025-02-06 16:32:26.941] I [SPRtcSig-t3333:10] HTTP.Server | http_server.cpp:223 | Client(<ClientSocket: 0x7f261ebfd210, #27, Disconnected, TCP, Nonblocking, 172.18.0.1:37264>) has disconnected from *:3333
[2025-02-06 16:32:54.159] I [DQHTTPTimer:11] HTTP.Server | http_connection.cpp:100 | Client(HTTP/1.1 - <ClientSocket: 0x7f261ebfd010, #25, Connected, TCP, Nonblocking, 172.18.0.1:37260>) has timed out
[2025-02-06 16:32:54.182] I [SPRtcSig-t3333:10] HTTP.Server | http_server.cpp:216 | Client(<ClientSocket: 0x7f261ebfd010, #25, Closed, TCP, Nonblocking, 172.18.0.1:37260>) has been disconnected by *:3333
Server (please complete the following information):
Player (please complete the following information):
Additional context
able to view RTSP in VLC (codec is h264 )
able to telnet to camera port 554 using busybox (busybox in the same docker network as ovenmediaengine)
tried stream1 and stream2 (both working in VLC but not ovenmediaengine)
please help, thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions