Forum

How to setup cloudfront for SLDP CDN delivery

Joerg 2020-10-01 09:05:14 UTC in Nimble Streamer

Hello everyone,
I'm trying to get Nimble Streamer and Cloudfront work together with the SLDP protocol. I followed the instructions (blog.wmspanel.com/2018/11/using-amazon-cloudfront-sldp-delivery.html) and managed to get HLS delivered via Cloudfront. I also managed to get SLDP played, but only if I use the URL from the origin server, not via Cloudfront.

My setup:
- FFMPEG as SRT source, single video, singel audio stream
- Nimble Streamer on local server (private network) receiving SRT and converring into HLS and SLDP.
- D-DNS setup and port forwarding to my local Nimble server (ports 8081 HTTP, 8082 management port, 443 HTTPS, 80 alternative HTTP, 5000 for SRT delivery) (D-DNS: origin.example.com)
- Setup cloudfront and point to origin.example.com
- setup Nimble Server "Nimble HTTP Origin" called CLOUDFRONT and also Nimble alias (application live, aliases "cloudfront", protocols HTTP)
- setup Nimble Streamer "Cross domain" allowance to *.cloudfront.com

Testing:
- acces HLS stream directly works (either origin.example.com/live/stream/playlist.m3u8)
- access HLS teststream (VLC, Flowplayer) via cloudfront, works (edgeID.cloudfront.net/CLOUDFRONT/stream/playlist.m3u8)

- WMSpanel testplayer can access SLDP stream directly from Nimble Streamer (ws://origin.example.com/live/stream)

- WMSpanel testplayer can not access SLDP stream via Cloudfront edgeID.cloudfront.net/CLOUDFRONT/stream)

Any ideas what I'm doing wrong?
Thx

Sergei 2020-10-01 10:01:44 UTC 

Hello, Joerg.

I would suggest launching a ticket at wmspanel.com/help as we may request some sensitive information (IPs, Cloudfront setup details,etc), that you probably won't like to share in a publicly available forum.

Thank you.

Joerg 2020-10-13 18:41:25 UTC 

Dear Readers,
I found the solution myself. If you setup cloudfront, then you need to adjust it's "behaviour". Goto your cloudfront setup and edit the "distribution settings". Goto the tab "Behaviours" and create or edit the existing one. Look for the option "Query String Forwarding and Caching" and set it to "Forward all"!
That's it

Sergei 2020-10-14 02:38:03 UTC 

Thank you for sharing, Joerg!

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRnimble streamerRTMPhlsSRTABRcacheAPIwmsauthNimbletranscoderrtmpsrtapidvrffmpegVODudpRTSPsldpfailoverDASHstreamingrtspwmspanelSLDPliveyoutubevodUDPmp4paywallabrsubtitlesDispersavideoLarixmulticastandroidaudiolivestreamingWMSAuthMPEG-DASHpay-per-viewgeoMPEG-TSdashstreameredgebandwidthWMSPanelsslthumbnailWindowsencryptionhttpsplaylistwhite labelconfigsmilFFMPEGperformanceCORSchunksraspberry pire-streamingmpeg-dashpublish controlcorsadvertizercloudfrontDRMRepublishingrepublishingvlcS3user agentNDIristrules.confadvertisingipv6MPEGTSFastSpringRAMwms panelRecordingFMLEfileVATcrossdomainSMILmpegtsaespushakamaiPullserverswowzamobilecodecerrorSSLbalanceTranscodem3u8TranscoderchromecastWowzaIDreportingbugconfigurationdownloadsnapshotAndroidnimblestreamerdomainawsLarix BroadcasterraspianloopAWSoriginscte35CDNamazonupdateiproutesVidillionHttpslarix broadcasterplaylist_dvrsecuritychunkmpeg-tsIPUInimble webcam html5Registration Issuedirect link32-bit Windowstwitchcache_controlitworkmecudalive abr support mpeg-dashwmspanelapibeirutWWDCdubaideep statsCentOS v6.4hls to multicast udpnooblogIIS Smooth StreamingcloudmediaAbrHTTPSHot-linking protectionHDSvaddioeventalertsjwplayer websitewhmcsbaselinetimelineVaddioAV BridgePI3 UbuntuAuthentication in HLSPi4view timepriceNimble Streamer APIresourcelimitOld logsCloud Storagescte-35interfacesscreencastencrytpionloadbalancingmetadatamod_rewriteprofileattaching domainslarix abrgbpsAxisID3 tagscontainerwmsauthsign*highsdpshoutcasthds streamciscolocalWMSCONFIG_HOMEdatmessage.net hotlinkcostrestreamRTMP republishrtmp abrgentoo install server nimblehls restreamingPublic Iptranscoding using NvidiaPaywall AuthVLCofflinedocumentationNimble streamer upgraderesumeniblerTrancoderconcurrent-connectionsVideo Playertransocding republishingdecoderServer-sideAliaslost trafficstoppedNimble Streamer versionicecast urlpay per viewhot linkingchangedvr_archivesmpeg dashamfLarix Grovenginx rtmp nimbleTCOobswildcardRaspian BusterlebanonlocationmanifestexportopensslMP4 not playedspaceonSteam stopped workingseekingHLS vodExpression Encoderanalyticsapplicationpaywallimuxamazon web servicenginxPlayReadydvr stream twiceHLS PlayerrepublishDASH PlayerAXVVGhot-linkjpegblocknvencdebian7brandingtriallive video on demandscreen freezecan't registerbandwithmicrosoft streamMP4errorsserverrocksoftlog traffic statsLarge DVR filesprivate networkTelegramno WMSPanellive videosourceinterleavingSLDP PLayernimblesessionidFFmpegmultiple originsmac osx installABR DASHprogressive downloadLive Streamingwotermarkvimeohelp errorheadervideo stopload balancezabbixstreamslog nimble analysertmp playbackcache expiryAdsvideojscdnvsomattachmentHEVClive streambitrate#restreamViewer Statsvod no soundconcurrent connectionadaptiveAV1 codecdvr streamconnectivityUbuntu 20 ARM - AWSunique visitorJWPLAYERNGINX-RTMPDelaympeg2tsServer-Side-Task-Controldisk migrationdvr on wmspanelWidevinescreen capturestereo to mono4Kcrossdomain more then 1 domainFairplayaes encryptioncpusubscriptionnot foundCPU LoadpullAS3WMSPanel settingslive pull settingsABR HLS Bitratesrtmp for YouTubebuttAWS 3install players setup ready to goDVRSettingstwitch larix broadcaster androiddrmAppleDelete recordsControl APInimble streamer web server php script pageautomationLive streamingvideo loopstarttime duration seekpointadd_chunk failedPost processingfake extensionloggingnimble streamer vod hls transmuxingrebootlearnerCross Domainmonitormobile app live streaminginsert logooutrateudp streamingDVRStreamsapi accessDeep statsicecastpremium featureloadbalancerweb playercontent-dispositionUbuntu artful 17.10Transcoder MPEG DASHinvalidMPEG DASHblock downloadAVCaptureMovieFileOutputdvr streamsNimble ServerlivestreamNimble CapacityABR DVR problemStreaming routeHotlinking ProtectionfacebookSecurityLive Switchernot to stealLive Broadcastpaymentsecure streamingstatsreloadadvp9Thumbnailsserver incorrect timecontentRTMP RepublishLiveLIVEdemandIOSHow to do live stream with multiple audio trackssaiDVR Setting limitProgressivenimble aliasesLoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignthumbnail dvr-thumbnailrmtpInterlaceno internetreportssoundHLS Meta Tag editing.Video cant be playedS3 AWStranscoder nimbleavoid refreshraspberrySecureJetson NanoPaywalllivestreamintransocdercredentialsautomateuser_agentstorage space availabledisktranscodevbv-maxrateFailoverVR-360publish streamStream Delayhd25trafficAArch64webhookdvr to livelivestream bitratedockerDVRRecordingAuthbuildrist set fecABR bitratesPacketizingdomain lockUsers limitoutputcloudflareVOD HLS streaming on public IPDVR SettingPORTlarixanalisyssctedelaympeg4storagealias route.movInvalid frame headerno soundincoming streamSubtitlesLL-HLS DVRav1 codecNimbleStreamerhttp servera recordwirecastfastspringNimble streamermp2 audioaliasdata slicesplayer sldpbuffering videoSO_RCVBUFdistributionVP9bufferqataritworkscdnvideo.jsQuickTimevideo streaminglatencyno audioCentos 8dissapointmentpay-per-minute3.6.1-1compatibility protocolsmultiplexMax connectionUDP MulticastCSSactionscript 3server ssl errorTeradek Decoderubuntu 18restarthelpFallbackrulesError when installinghow-tomanage_dvraws amazonserver ip21SSL requestMPEG2 Videologo in streamincomingmulti-viewersha265RIST Bondingplayoutmultiple audio udphotlink protectionRaspberryPi4ultra low latencyvideo audioSRT protocolanalyseStreamIDprogressivebroadcast videofallbackRaspberrytasks-control4GNimble_CrushwebrtcRTMP to SRTrtsp push androidartifactstuningWowza AgentRemote StorageSSAIprerollstreamrtmp sldp nimblenimble on cloudLinuxgpu{stream}OBSBroadcastvideo and audio not matchLarix broadcasterGoogle DriveHLS StreamingPIDurlSnapshotsspeedup my videoiOSMPEG-DashsubfolderTLSV 1.2 Certificatedynamic linksAmazonTVfirenimble.confrtmp republishing transcodeIIS Media ServicstrackfairplayNginxbroadcasterOSXmd5Nimble connectionsabr fallbackletsencryptmultipointrulethumbnailsEncoderdvbNetworkRAM Loadstatus:errortranscodingdownTonyFFMPEG;RTMP;I/O errorissuepricinggoogle cloud storageLL-HLSGopHTML5 playerAddendartpnimble dvrBandwidthdurationYadifportsRokumultiplemainmultistreamingRistmultiple 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.