-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Error: already publishing #1756
Comments
@DattatrayHinge Hi, This problem refers when you are streaming twice or more streams with same stream key, for example. Camera 1: rtmp://my-server.com/live/streamkey1 In this case, the cameras 1 and 2 it will conflict, each camera must have a unique stream key configured. Search to use a custom RTMP address, this way you can to inform a unique stream key in each camera avoiding the See this video in how to configure a custom RTMP address into a Dahua device: https://youtu.be/7bl1_94ZwEU?si=74TYqOR4Disbqa_h&t=80 Best regards |
Hi Luis,
Thank you for clarifying, I noted this and will test it.
…On Tue, 23 Apr 2024 at 04:27, Luis Felipe Covelo ***@***.***> wrote:
@DattatrayHinge <https://github.com/DattatrayHinge> Hi,
This problem refers when you are streaming twice or more streams with same
stream key, for example.
Camera 1: rtmp://my-server.com/live/streamkey1
Camera 2: rtmp://my-server.com/live/streamkey1
Camera 3: rtmp://my-server.com/live/streamkey2
In this case, the cameras 1 and 2 it will conflict, each camera must have
a unique stream key configured.
Search to use a custom RTMP address, this way you can to inform a unique
stream key in each camera avoiding the already publishing error.
See this video in how to configure a custom RTMP address into a Dahua
device: https://youtu.be/7bl1_94ZwEU?si=74TYqOR4Disbqa_h&t=80
Best regards
—
Reply to this email directly, view it on GitHub
<#1756 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE24TINU34TPFDWL7WNE4ULY6WIVFAVCNFSM6AAAAABD2ANHSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGA4DQMJXGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Best Regards,
Dattatray Hinge
+919987658128
|
I'm experiencing this error too, on a server that has been running without issue for several years, but recently has started stopping streaming/recording randomly. When the stream/recording experiences problems, I find these errors in the logs (most of the time). |
Adding more info. So when there's an interruption I get these lines in the error log, and rtmp.log respectively
The relevant lines in my rtmp/nginx config are.
Nginx version is standard 1.18 from ubuntu repos. Considering upgrading to 1.26 if that will help. |
Hi
I am getting below error with 4G cameras streaming on rtmp
2023/09/28 14:48:46 [error] 13#13: *849 live: already publishing, client: xx.xx.xx.xx, server: 0.0.0.0:1935
Note: There are a few 4G cameras streaming to this rtmp server at the same time, I am not sure if this is due to the 4G network or something wrong in my nginx config. I am using the latest tiangolo/nginx-rtmp image
My Nginx File
The text was updated successfully, but these errors were encountered: