Forum

Issue configuring CORS for HTTP and HTTPS streaming with HTML5 players

Josh 2017-05-26 15:04:37 UTC in Nimble Streamer

Hello!

I am currently trying to configure Nimble streamer to work properly with CORS on HTML5 players, but have not been able to get it working so far.

Currently, my nimble.conf file has the following entries for attempting to get it working:

access_control_allow_origin = *
crossdomain_xml_allow_access_from_domain = *
crossdomain_xml = /etc/nimble/crossdomain.xml
access_control_allow_credentials = true
access_control_allow_headers = Range

And additionally I have the following in the /etc/nimble/crossdomain.xml

<?xml version="1.0"?><cross-domain-policy><allow-access-from domain="*" secure="false"/></cross-domain-policy>

I do have SSL configured, with a port defined and recognized in WMSpanel. I am using the certificate for the TLD that I use nimble for.

But so far this has not gotten it working when I try to test HTTP streaming with Bitdash's test player, and HTTPS doesn't load in the preview for the stream within WMSPanel.

Any help I could get I would appreciate in this working! I'm kind of at a roadblock in figuring it out currently

Alex Pokotilo 2017-05-28 12:29:51 UTC 

To setup hls please follow http://blog.wmspanel.com/2014/12/ssl-hls-mpeg-dash-icecast-https-support.html

then open your browser developer tools and what's wrong with your Network tab. Check Console tab either

Josh 2017-05-28 13:40:10 UTC 

Thank you, I haven't tried combining the certificate into one file. I will do this to see if this helps solve the issue, and get back to this thread :)

Josh 2017-06-04 04:05:05 UTC 

Just wanted to let anyone who may wander to this thread know that I fixed my specific issue.

My issue was that I had not added our domain into WMSPanel, and once I did that, and was getting video source address via my TLD over HTTPS instead of my IP, everything worked just fine!

This does work with wss:// and secure SLDP deliver with the new protocol/player for it.

Cheers!

Alex Pokotilo 2017-06-04 05:33:58 UTC 

Hi Josh,
what is your impression of SLDP ?

Josh 2017-06-04 13:56:30 UTC 

I'm enjoying it quite a bit actually in testing it!

The only real issue I have is that sometimes the video gets... jittery. For lack of a better term. There gets to be a kind of flutter to the video quality that doesn't happen with RTMP or HLS. Been toying on my end when I can to see if there is anything on my end I can do. Currently using XSplit Pro to stream to Nimble.

Besides that, I am really enjoying where this is going! The HTML5 player is super small too, which is just fantastic.

Raj 2017-09-20 20:19:17 UTC 

We have the same problem. Where do you add the domain in WMSpanel?
Thanks.

Alex Pokotilo 2017-09-21 03:24:23 UTC 

Hi,
this thread is about stream preview problem and problem fixed when custom domain was added in server settings.
To do that:
- open server list https://wmspanel.com/server
- chose your server and open it's settings
- find "Manage custom IP/Ports" and click on it
- specify custom domain what wmspanel preview will use when you click stream preview.

If you actually face with different problem or answer is not clear please contact us via https://wmspanel.com/contact

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRRTMPhlsnimble streamerABRcachewmsauthNimbleAPIdvrSRTtranscoderffmpegapiVODfailoverrtmpsldpstreamingDASHwmspanelsrtvodudprtsppaywallsubtitlesDispersaRTSPvideoyoutubeabrlivelivestreamingmp4WMSAuthMPEG-DASHgeopay-per-viewdashedgeSLDPstreamerWMSPanelWindowsencryptionhttpsuser agentUDPwhite labelconfigsmilFFMPEGsslmulticastMPEG-TSCORSaudiore-streamingmpeg-dashchunksraspberry piandroidbandwidthperformancecorsadvertizervlcS3DRMrules.confplaylistadvertisingipv6MPEGTSFastSpringRAMthumbnailFMLEVATcrossdomainupdateRecordingSMILmpegtsaespushwowzaakamaiserversmobilem3u8TranscodeerrorbalanceSSLchromecastWowzaplaylist_dvrconfigurationIDreportingbugdomainnimblestreamerLarixIPrepublishingmpeg-tspublish controlcodecloopVidillionHttpschunkawsAWSdownloadorigincloudfrontraspianCDNwms panelroutesnimble webcam html5UIbitrateRegistration Issuedirect link32-bit Windowstwitchcache_controlitworkmelive abr support mpeg-dashwmspanelapiresumertmp abrbeirutWWDCdubaideep statsCentOS v6.4hls to multicast udplogWowza AgentRemote StoragecloudIIS Smooth StreamingmediaHot-linking protectionHTTPSAbrHDSvaddioalertsjwplayer websitebaselinewhmcsnginx rtmp nimbleAV BridgeVaddioAuthentication in HLSPI3 Ubuntuview timepricelimitOld logsscte-35screencastinterfacesDVRRecordingloadbalancingattaching domainsmod_rewritemetadataprofileID3 tagsgbpsAxiswmsauthsignhighhds streamdatmessageWMSCONFIG_HOMElocalciscorestreamcost.net hotlinkgentoo install server nimblehls restreamingPublic Iptranscoding using NvidiaPaywall AuthVLCofflinedocumentationNimble streamer upgradeniblerTrancoderconcurrent-connectionsfiledecodertransocding republishingVideo PlayerAliasServer-sidelost traffictasks-controllebanonlocationmanifeststoppedNimble Streamer versionmainMP4 not playedspaceipicecast urlseekingrulepay per viewhot linkingchangeamfPlayReadyamazon web servicelimuxplayoutdvr stream twicedvr_archivesmpeg dashobsTCOhot-linkAXVVGopensslblocknvencSteam stopped workingonExpression EncoderHLS vod7brandingtrialanalyticspaywalapplicationMP4microsoft streamerrorsHLS Playerrocksoftlog traffic statsDASH Playerdebianprogressive downloadABR DASHFFmpegmultiple originsnimblesessionidscreen freezecan't registerlive video on demandbandwithheaderprivate networkLarge DVR filesserverlog nimble analysertmp playbackvideojsno WMSPanellive videointerleavingmac osx installadaptiveAV1 codecsourceNGINX-RTMPJWPLAYERwotermarkSnapshotsvimeohelp errorload balancePullvideo stop4Kcrossdomain more then 1 domaincache expirycdnvsomlive streamattachmentAWS 3buttvod no soundconcurrent connectiondvr streamconnectivityUbuntu 20 ARM - AWSunique visitormpeg2tsDelayServer-Side-Task-Controldisk migrationfallbackamazonControl APIscreen capturestereo to monoLive streamingTranscoderWidevinesecuritydrmresourceaes encryptionsubscriptionnot foundCPU LoadpullABR HLS Bitrateslive pull settingsWMSPanel settingsAS3rtmp for YouTubeicecasttwitch larix broadcaster androidDVRSettingsinstall players setup ready to goDelete recordsAppleudp streamingoutratenimble streamer vod hls transmuxingloggingdvr streamslearnervideo loopautomationnimble streamer web server php script pageNimble Streamer APIlivestreaminsert logostarttime duration seekpointrebootNimble CapacityABR DVR problemmonitornimble.confrtmp republishing transcodeIIS Media ServicsLive SwitcherAVCaptureMovieFileOutputblock downloadapi accessDeep statsweb playernot to stealLive BroadcastPost processingadd_chunk failedfake extensionMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHcontent-dispositionstatus:errorFFMPEG;RTMP;I/O errortranscodinglarix broadcasterMPEG-DashNimble ServerbroadcasterOSXStreaming routeHotlinking ProtectionRTMP republishPIDpaymentstatshotlink protectionreloadpremium featureThumbnailsserver incorrect timeLiveLIVEdemandHow to do live stream with multiple audio trackprogressiveProgressivenimble aliasesrmtpno internetHLS Streamingthumbnail dvr-thumbnailLoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignstreamssoundHLS Meta Tag editing.delaympeg4reportsavoid refreshraspberrytranscoder nimbleSecureJetson NanoAndroiduser_agentdvr on wmspanelVideo cant be playedS3 AWSBroadcastvbv-maxratetranscodeRepublishinglivestream bitrateVR-360Failoverpublish streamStream Delaytraffichd25Larix BroadcasterAArch64PacketizingABR bitratesbuildcontentRTMP Republishdomain lockVOD HLS streaming on public IPoutputUsers limitcloudflareincoming streamno soundInvalid frame headerHTML5 playerGopNimbleStreamerav1 codecfastspringmp2 audioNimble streamerdata slicesaliasplayer sldpDVR Setting limitssaibuffer.movalias routestoragedistributionqataritworkscdnvideo.jsspeedup my videoiOScpuissuepricinggoogle cloud storageRAM Loadtransocderlivestreaminwebhookdvr to liveadjustsoftware versiondiskstorage space available3.6.1-1dissapointmentpay-per-minuteSO_RCVBUFbuffering videoadvp9gpunimble dvrdurationBandwidthPaywallvideo and audio not matchmanage_dvrhow-toError when installingrulesDVRStreamsaws amazoncompatibility protocolsa recordwirecasthttp serverSSL requestserver ip21UDP MulticastMax connectionMPEG2 Videologo in streamVP9sha265latencyscte35ubuntu 18Teradek Decoderanalisyssctenimble on cloudprerollTLSV 1.2 Certificatedynamic linksPORTDVR SettinganalyseStreamIDIOSrestartFallbackhelpcredentialsFairplayincomingViewer StatsNDICross DomainSRT protocolvideo audioabr fallbackNimble connectionsmd5CSSactionscript 3server ssl errorartifactsrtsp push androidtuningvideo streamingQuickTime

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.