Forum

HLS Stream stops abruptly when RTMP streaming stops

Omar 2019-05-29 16:29:46 UTC in Nimble Streamer

I am using ffmpeg to livestream my screen with nimble RTMP for public HLS players.
Tere is a delay between 10 & 15 seconds, that's fine.

The problem is : When i stop ffmpeg, it stops feeding the rtmp protocol, the nimble HLS play stops after few seconds and doesn't stream all the received packets.

I don't think that's a normal behaviour, am i missing some configuration ?

---
I have tried with nginx-rtmp and it works fine. I looking for a solution with nimble.

---

Streaming command :

ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1280x720 -thread_queue_size 4096 -i :0.0+0,0 -f pulse -thread_queue_size 4096 -i default -acodec aac -strict -2 -ar 44100 -c:v libx264 -preset veryfast -maxrate 2976k -bufsize 5952k -pix_fmt yuv420p -r 30 -crf 17 -g 60 -tune zerolatency -f tee -flags +global_header -map 0:v -map 1:a [f=flv]rtmp://nimble.my.domain:1935/live/test

Denis Slobodskoy 2019-05-30 00:32:00 UTC 

Probably you can setup DVR for your stream with minimal loop duration (1-2 minutes) and use playlist_dvr.m3u8 URL for playback - in this case last minutes will be available for playback after end of streaming. Please read more about DVR features here: https://wmspanel.com/nimble/dvr

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRRTMPnimble streamerhlsABRwmsauthcacheNimbleffmpegdvrAPIapitranscoderfailoverrtmpVODstreamingDASHwmspanelvodrtspudppaywallsubtitlesDispersaRTSPyoutubelivelivestreamingmp4MPEG-DASHWMSAuthpay-per-viewgeosldpdashstreamervideoabrWindowsencryptionUDPhttpswhite labeluser agentconfigsmilmulticastFFMPEGsslaudioMPEG-TSedgeCORSchunksraspberry pire-streamingandroidbandwidthmpeg-dashadvertizercorsDRMvlcS3rules.confadvertisingipv6FastSpringRAMwms panelthumbnailFMLEVATcrossdomainupdatempegtsRecordingplaylistSMILakamaiaespushwowzaserversSRTSSLerrorm3u8Transcodebalanceplaylist_dvrchromecastWowzaIDreportingconfigurationsrtbugdownloadnimblestreamerdomainraspianVidillionHttpsloopIPWMSPanelmobilerepublishingawspublish controlcodecmpeg-tsAWSperformancechunknimble webcam html5UIRegistration Issuedirect link32-bit Windowstwitchanalysecache_controlitworkmelive abr support mpeg-dashrtmp abrbeirutWWDCdubaideep statshls to multicast udplogIIS Smooth StreamingcloudmediaCDNHTTPSAbrHot-linking protectionHDSvaddioMPEGTSalertsNDIViewer Statsjwplayer websiteAuthentication in HLSwhmcsbaselineCentOS v6.4pricenginx rtmp nimblelimitOld logsAV BridgescreencastVaddioPI3 Ubuntuview timeattaching domainswmspanelapiWMSCONFIG_HOMEmessageinterfacesrestreamcostoriginDVRRecordingloadbalancingmetadatamod_rewriteprofileAxisgbpsID3 tagshls restreamingwmsauthsignhighhds streamVLCresumeniblerciscolocalVideo Playertransocding republishingdecoder.net hotlinkAliaslost trafficgentoo install server nimbletranscoding using NvidiaPublic IpPaywall Authdocumentationofflineipconcurrent-connectionsTrancoderfileicecast urlrulehot linkinglebanonlocationmanifestchangeamfMP4 not playedspaceServer-sidetasks-controlplayoutstoppedseekingmainondvr streamconnectivityunique visitoraliasdata slicesPlayReadylimuxamazon web serviceHLS voddvr stream twicepay per viewanalyticsapplicationpaywalAXVVGhot-linkblockmpeg dashdvr_archivesTCO7opensslbrandingtrialMP4microsoft streamdebianerrorsrocksoftlog traffic statsExpression Encoderlive video on demandbandwithHLS PlayerABR DASHprogressive downloadDASH Playermultiple originsFFmpegnimblesessionidserverheadersourcelog nimble analysertmp playbackSnapshotsvideojsbitrateprivate networkPullvideo stopadaptiveAV1 codecJWPLAYERNGINX-RTMPno WMSPanellive videosoundHLS Meta Tag editing.streamsattachmentmac osx installcrossdomain more then 1 domain4Kwotermarkconcurrent connectionvod no soundhelp errorvimeoload balanceFairplayAWS 3buttRemote StorageWowza Agentcdnvsomnot foundlive streampullWidevineAS3fallbackamazonControl APITranscoderLive streamingsecuritympeg2tsServer-Side-Task-Controldisk migrationinstall players setup ready to goDVRSettingstwitch larix broadcaster androidAppleDelete recordsstereo to monoscreen capturedrmresourceaes encryptionvideo loopicecastsubscriptionstarttime duration seekpointrebootlive pull settingsABR HLS Bitratesmonitorrtmp for YouTubeDeep statsapi accessIIS Media Servicsrtmp republishing transcodenimble.confinterleavingweb playeroutratedvr streamsnimble streamer web server php script pageautomationNimble Streamer APIlivestreamscreen freezecan't registercontent-dispositionnimble streamer vod hls transmuxingloggingactionscript 3ABR DVR problemNimble CapacitylearnerCross DomainLive Switcherinsert logoNimble ServerDVRStreamsnot to stealLive BroadcastRTMP republishblock downloadAVCaptureMovieFileOutputPIDfake extensionadd_chunk failedPost processingMPEG DASHTranscoder MPEG DASHUbuntu artful 17.10broadcastertranscodingFFMPEG;RTMP;I/O errorstatus:errorStreaming routeHotlinking ProtectionMPEG-Dashlarix broadcasterpremium featureThumbnailsserver incorrect timeLIVELivenimble on cloudroutesprerollpaymentHow to do live stream with multiple audio tracknimble aliasesProgressivestatsreloadvp9adrmtpno internetdemandSecureAndroiduser_agentdvr on wmspanelS3 AWSVideo cant be playedprogressiveBroadcastLarixreportsraspberryavoid refreshthumbnail dvr-thumbnailwmsAuthSignnimble streamer mpeg-ts multiple inputsLoad-BalancinglatencyDVR SettingPORTadjustcredentialstranscodeRepublishingdelaympeg4transcoder nimbleVR-360Failoverav1 codechttp servera record21server ipbuildABR bitratesPacketizingNimble connectionsabr fallbackubuntu 18Teradek DecoderSLDPspeedup my videoiOSwebhookdvr to livefastspringmp2 audiooutputUsers limitVOD HLS streaming on public IPcloudflaredomain lockRTMP Republishcontentdistributionstoragealias route.movanalisysscterulesError when installingvideo and audio not matchcloudfrontPaywallCSSartifactsrtsp push androidcache expiryQuickTimevideo streamingincoming streamInvalid frame headerno soundtraffichd25publish streamAArch643.6.1-1diskstorage space availablessaiDVR Setting limitbufferGopHTML5 playerlogo in streamMPEG2 Videolivestream bitrateMax connectionUDP Multicastbuffering videoSO_RCVBUFdissapointmentpay-per-minuteHLS StreaminghelprestartIOSnimble dvrdurationBandwidthlivestreamintransocderqataritworkscdnvideo.jsgoogle cloud storageissuepricing

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.