Forum

Issue connecting to the docker rtmp endpoint in nimble streamer

ali 2020-11-11 05:32:33 UTC in Nimble Streamer

I had this working but altered some settings and am now stuck...

I have nimble streamer running in docker on my Mac and am able to connect via RTSP both for pushing and pulling without issue using ffmpeg & ffplay but when I try to connect to RTMP it fails.

For RTMP I get failures:
> ffmpeg -v debug -f avfoundation -framerate 30 -i "0:0" -vcodec libx264 -tune zerolatency -s 500:500 -f flv "rtmp://localhost:1935/app/test flashver=FMLE/3.0\20(compatible;\20FMSc/1.0) live=true pubUser=user pubPasswd=pwd"

> ffplay -v debug rtmp://localhost:1935/app/test

The following works for RTSP:
> ffmpeg -f avfoundation -framerate 30 -i "0:0" -pix_fmt uyvy422 -vcodec libx264 -tune zerolatency -s 500:500 -f rtsp -rtsp_transport tcp rtsp://user:pwd@localhost:554/dev/test

> ffplay rtsp://localhost:554/dev/test

In WMSPanel I have the app setup with the username/password & allows rtmp & rtsp. I've also setup the interfaces for both with Any/1935 for RTMP & Any/554 for RTSP.

ali 2020-11-11 05:40:32 UTC 

I should have clarified - I'm getting failures when i try to "ffplay -v debug rtmp://localhost:1935/app/test".
I get:
"RTMP_ReadPacket, failed to read RTMP packet header
rtmp://localhost:1935/app/test: Unknown error occurred"

Viewing the debug output of ffplay, it looks like it connects to the Nimble Streamer server and handshakes but then dies and errors.

Sergei 2020-11-11 07:56:02 UTC 

Hello, Ali.

Could you please clarify, what exact command are you using to run a container?

Thank you

ali 2020-11-11 18:47:57 UTC 

I'm using docker-compose and opened up ports for what I listed - 1935, 554.
The nimble streamer server is running in the container appropriately and is synchronizing with wmspanel.
The /var/log/nimble/nimble.log in the container and it's connecting to nimble.wmspanel.com successfully.
The server & incoming/outgoing streams show up correctly for the RTSP streams in wmspanel, also.

Further update, I added Live pull settings for rtmp://localhost:1935/app/test and see incoming/outgoing streams when I run now but I can only ffplay the rtsp url still. Trying to play the rtmp url still fails with the same error but I can publish to the rtmp url now instead of needing to publish to the rtsp url.

Sergei 2020-11-11 23:18:55 UTC 

Ali, please launch a ticker at wmspanel.com/help to continue conversation.
Thank you.

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRnimble streamerRTMPhlsABRcacheSRTrtmpwmsauthNimbleAPIapitranscoderdvrsrtffmpegVODfailoverudpDASHsldpstreamingrtspwmspanellivevodmp4paywallsubtitlesDispersaRTSPSLDPmulticastvideoyoutubeabrlivestreamingUDPWMSAuthMPEG-DASHpay-per-viewgeoaudiodashstreamerWMSPaneledgebandwidththumbnailWindowsencryptionhttpswhite labelconfigsmilFFMPEGsslMPEG-TSCORSre-streamingmpeg-dashchunksraspberry piperformancecorscloudfrontDRMadvertizerrepublishingvlcS3NDILarixuser agentandroidrules.confplaylistadvertisingipv6MPEGTSFastSpringRAMFMLEVATcrossdomainSMILRecordingmpegtsaespushakamaiwowzaserversPullmobilecodecbalanceerrorTranscodem3u8SSLchromecastplaylist_dvrWowzaconfigurationIDreportingbugdownloadsnapshotpublish controlRepublishingLarix Broadcasternimblestreamerdomainmpeg-tsloopraspianwms panelchunkAWSoriginVidillionHttpsawsCDNroutesipupdatescte35IPamazonUInimble webcam html5Registration Issuedirect link32-bit Windowstwitchcache_controlitworkmelive abr support mpeg-dashwmspanelapiresumertmp abrbeirutreloadWWDCdubaideep statsCentOS v6.4hls to multicast udpnooblogWowza AgentRemote StorageIIS Smooth StreamingcloudmediaAbrHTTPSHot-linking protectionHDSvaddioalertsjwplayer websitewhmcsbaselinetimelinenginx rtmp nimbledurationAV BridgeVaddioAuthentication in HLSPI3 UbuntuPi4view timepricelimitOld logsscte-35screencastinterfacesDVRRecordingloadbalancingmod_rewritemetadataattaching domainsprofileID3 tagsgbpsAxiscontainerwmsauthsignhighhds streamlocalciscodatmessageWMSCONFIG_HOMErestreamcost.net hotlinkgentoo install server nimblePublic Iptranscoding using NvidiaPaywall Authhls restreamingofflinedocumentationNimble streamer upgradeVLCTrancoderconcurrent-connectionsniblerfileVideo Playertransocding republishingdecoderServer-sideAliaslost trafficstoppedNimble Streamer versionmainlebanonlocationmanifestMP4 not playedspacepay per viewicecast urlruleseekinghot linkingchangedvr_archivesmpeg dashobsTCORaspian BusterLarix GroveamfnginxPlayReadyamazon web servicelimuxexportopenssldvr stream twicesdpshoutcasthot-linkAXVVGonSteam stopped workingblocknvencExpression EncoderHLS vod7brandinganalyticspaywalapplicationtrialHLS PlayerDASH Playermicrosoft streamMP4errorsrocksoftlog traffic statsjpegdebiannimblesessionidFFmpegmultiple originsscreen freezecan't registerprogressive downloadABR DASHlive video on demandprivate networkLarge DVR filesbandwithheaderserverno WMSPanellive videolog nimble analysertmp playbackvideojsinterleavingSLDP PLayermac osx installbitrate#restreamwotermarksourceadaptiveAV1 codecvimeohelp errorJWPLAYERNGINX-RTMPload balancecache expiryvideo stopcdnvsom4Kcrossdomain more then 1 domainlive streamstreamsViewer StatsattachmentcpuDelaympeg2tsvod no soundconcurrent connectionServer-Side-Task-Controldvr streamconnectivityUbuntu 20 ARM - AWSunique visitordisk migrationbuttAWS 3dvr on wmspanelscreen capturestereo to monoWidevineControl APIdrmresourceaes encryptionFairplayTranscoderLive streamingsubscriptionsecuritynot foundCPU LoadABR HLS Bitrateslive pull settingsWMSPanel settingspullAS3icecastudp streamingoutrateinstall players setup ready to goDVRSettingstwitch larix broadcaster androidAppleDelete recordsnimble streamer vod hls transmuxinglogginglearnervideo loopinsert logostarttime duration seekpointrebootdvr streamsmonitorautomationnimble streamer web server php script pageNimble Streamer APIlivestreamAVCaptureMovieFileOutputblock downloadnimble.confrtmp republishing transcodeIIS Media ServicstrackNimble CapacityABR DVR problemapi accessDeep statsloadbalancerweb playerLive SwitcherPost processingadd_chunk failedfake extensioninvalidMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHnot to stealLive Broadcastcontent-dispositionstatus:errortranscodingdownFFMPEG;RTMP;I/O errorNimble ServerMPEG-Dashlarix broadcasterfacebookStreaming routeHotlinking ProtectionbroadcasterOSXRTMP republishpaymentstatsadvp9contentRTMP RepublishssaiDVR Setting limitdemandpremium featureserver incorrect timeThumbnailsrmtpno internetIOSLiveLIVEHLS StreamingLoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignHow to do live stream with multiple audio trackavoid refreshraspberrysoundHLS Meta Tag editing.Progressivenimble aliasesPaywallthumbnail dvr-thumbnailreportstranscodevbv-maxrateVR-360FailoverSecureJetson NanoABR bitratesPacketizingbuildpublish streamStream Delaytraffichd25AArch64Video cant be playedS3 AWSuser_agentautomateAndroiddelaympeg4.movalias routestoragedomain lockVOD HLS streaming on public IPoutputUsers limitcloudflaredockerlivestream bitrateanalisysscteInvalid frame headerno soundincoming streamHTML5 playerGopNimbleStreamerav1 codecdistributionfastspringNimble streamermp2 audiodata slicesaliasplayer sldpqataritworkscdnvideo.jswirecasta recordhttp serverRAM LoadVP9abr fallbackNimble connectionsissuepricinggoogle cloud storagedissapointmentpay-per-minutelivestreamintransocderSO_RCVBUFbuffering videospeedup my videoiOSgpumultiplexcompatibility protocolsserver ip21SSL requestvideo and audio not matchsha265diskstorage space available3.6.1-1md5Max connectionUDP MulticastDVR SettingPORTanalyseStreamIDcredentialsmulti-viewerincomingrulesError when installinghow-tomanage_dvrDVRStreamsaws amazonnimble dvrrtpBandwidthMPEG2 Videologo in streamQuickTimevideo streamingartifactsrtsp push androidtuningbufferRIST Bondingplayoutnimble on cloudprerollwebhookdvr to liveprogressivebroadcast videoCross DomainSRT protocolvideo audiofairplaylatencyNimble_CrushTeradek Decoderubuntu 18restarthelpFallbackPIDurlmultiple audio udphotlink protectionRaspberryPi4ultra low latencyBroadcastRaspberrytasks-controlSnapshotsLinuxRTMP to SRTtranscoder nimbledvbdynamic linksTLSV 1.2 Certificatertmp for YouTubeactionscript 3server ssl errorCSSRistmultiplethumbnailsfallbackmultiple audioadjustsoftware versionre-publishingSRT RTMP

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.