Forum

Use sessionid to sum all durations from PPV

rainbow 2020-12-16 08:06:00 UTC in Nimble Streamer

I'm using sessionid to sum all durations of each client from PPV,
but I found that the sum duration number is not actual client play time.

Once video is played, PPV controller will receive a request which include sessionid and delta time, so far is OK.

The problem is after that requests send to PPV controller are always
{"ID":"30d48f63-a0b7-8756-fa9b-b296b84abcf8","Signature":"0FZqZm389LnKjM9uyQuu9g==","Puzzle":"e3343111-c512-5050-3744-0f8c41b641fe","PayPerViewInfo":{}}

No player information, but the video is actually still playing. Even I waited 10 minutes. So the duration I got was only from the first request, which is around 30sec.
I want to know why the requests (after the first one) send to PPV controller are without player information.
Is the duration means the progressive download time of a video, not the playing timeļ¼Ÿ

Thank you in advance.

Alex Pokotilo 2020-12-16 09:07:43 UTC 

If you apply PPV for vod content and particularly for progressive download server is working with client only during client is downloading content from the server. So yes server count duration as download time in this case.
If you need more accurate duration for vod content please consider hls/dash for vod. this way player will not download all file at once so your will get more accurate session duration. If you need to see exact session time for given client with very high precision the only way to do that is to use DRM. This way DRM provider should have duration in seconds resolution as it approve playback.

rainbow 2020-12-17 02:14:22 UTC 

Thank you. I tried audio-only HLS from MP3, refer URL: https://blog.wmspanel.com/2014/05/streaming-mp3-via-hls.html

The player don't download file at once but it still finished download almost around 30sec even the play will last for 10 minutes. And in the Daily stats , the "Connections" field is still categorized into "PD" --progressive download.
I don't know whether I'm done it right or "hls/dash for vod" is still kind of progressive download and server only record the download time.

If the latter is true DRM will be the last way I can take.

Alex Pokotilo 2020-12-17 03:57:53 UTC 

Hi if you add /playlist.m3u8 at the end of your vod URL you should see "HLS" in your daily stats report. If you see "PD" this means you still request "raw" progressive download.
If you cannot use hls please file a new ticket via httsp://wmspanel.com/help and provide hls url you have problem with

rainbow 2020-12-17 04:23:39 UTC 

Thank you so much.
Now I can see "HLS" in my daily stats report, but it's still very short around 30sec. It seems to be the download time, but kind of solve my problem.
Thank you for the answers.

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerHLSFAQDVRnimble streamerhlsRTMPSRTABRrtmpcacheNimbleAPItranscoderdvrwmsauthsrtapiffmpegVODsldpudpRTSPUDPfailoverDASHwmspanelyoutubevodstreamingrtspSLDPmp4paywallabrDispersavideoaudiosslmulticastandroidLarixlivesubtitleslivestreamingplaylistWMSAuthMPEG-DASHpay-per-viewerrorgeoMPEG-TSre-streamingdashcorsstreameredgebandwidthWMSPanelthumbnailWindowsencryptionhttpswhite labelconfigsmilFFMPEGCORSperformancechunksraspberry pimpeg-dashpublish controlrepublishingcloudfrontDRMRepublishingvlcAWSS3advertisinguser agentNDIadvertizerristrules.confipv6MPEGTSFastSpringRecordingRAMwms panelfileFMLEVATcrossdomainSMILmpegtsaespushakamaimobilewowzaPullserverscodecSSLbalancedrmchromecastTranscodem3u8TranscoderbugWowzaIDreportingconfigurationdownloadsnapshotLarix BroadcasterawsAndroidnimblestreamerdomainraspianloopscte35originstreamroutesamazonupdateipplaylist_dvrPIDVidillionHttpslarix broadcasterEncodersecurityIPissuechunkBroadcastscte-35mpeg-tsCDNVLCUInimble webcam html5Registration Issuedirect link32-bit Windowstwitchcache_controlitworkmecudalive abr support mpeg-dashwmspanelapibeirutreloadWWDCdubaideep statsCentOS v6.4TSReaderlogIIS Smooth StreamingcloudmediaAbrHTTPSHot-linking protectionHDSvaddioeventalertsMuxjwplayer websitewhmcsbaselinetimelineVaddioAV BridgePI3 Ubuntuview timeNimble Streamer APIAuthentication in HLSPi4interfacesstreamsHLS Meta Tag editing.encrytpionloadbalancingHEVCattachmentwmsmetadatamod_rewritepriceresourceIPTVlimitprofilelarix abrOld logsCloud Storagewmsauthsignscreencasthighhds streamID3 tagsgbpsAxisciscolocalattaching domainssdpshoutcast.net hotlinkRTMP republishcontainerresume*rtmp abrgentoo install server nimbleWMSCONFIG_HOMEtranscoding using NvidiaPublic IpdatmessagePaywall AuthcostrestreamdocumentationofflineMPEG2TSNimble streamer upgradeMulticastconcurrent-connectionsTrancoderanalisyshls restreamingServer-sideniblerstoppedNimble Streamer versionVideo Playertransocding republishingdecoderAliaspay per viewlost trafficdvr_archivesmpeg dashnginx rtmp nimbleTCOobswildcardRaspian Busterexportopensslicecast urllebanonlocationmanifestchangesrt-live-transmitMP4 not playedspaceExpression EncoderamfLarix GroveseekingHLS PlayerDASH PlayeronSteam stopped workinglimuxamazon web servicenginxPlayReadyHLS voddvr stream twicerepublishAXVVGhot-linkanalyticsapplicationpaywalblocknvencdvr export to mp4screen freezecan't register7jpegbrandingtrialCablemicrosoft streamMP4debianerrorsno WMSPanelrocksoftlog traffic statslive videointerleavingSLDP PLayerLarge DVR filesprivate networkaccuracymac osx installlive video on demandbandwithTelegramwotermarkservervimeohelp errornimblesessionidFFmpegmultiple originsABR DASHprogressive downloadload balancezabbixcache expirysourceheadercdnvsomlive streamViewer StatsLive Streaminglog nimble analysertmp playbackAdsvideojsvideo stopServer-Side-Task-Controlbitrate#restreamdisk migrationdvr on wmspanelrecordingadaptiveAV1 codecscreen capturestereo to monovod no soundconcurrent connectionJWPLAYERNGINX-RTMPdvr streamconnectivityUbuntu 20 ARM - AWSunique visitoraes encryptionsubscriptionWidevine4Kcrossdomain more then 1 domainWMSPanel settingslive pull settingsABR HLS Bitratesrtmp for YouTubeFairplaycpunot foundCPU LoadpullAS3buttAWS 3install players setup ready to goDVRSettingstwitch larix broadcaster androidAppleDelete recordsicecast metadataloggingnimble streamer vod hls transmuxinglearnerControl APICross Domainnimble streamer web server php script pageautomationinsert logoLive streamingDVRStreamsvideo looppremium featurestarttime duration seekpointrebootadd_chunk failedPost processingfake extensionProgressivemonitordroppingmobile app live streaminginvalidMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHoutrateudp streamingstatus:errorapi accessDeep statsicecastloadbalancerweb playercontent-dispositionAVCaptureMovieFileOutputblock downloaddvr streamsNimble ServerlivestreampaymentNimble CapacityABR DVR problemstatsStreaming routeHotlinking ProtectionfacebookSecurityLive Switchernot to stealLive BroadcastMultiple Audio trackscontentRTMP Republishlow_bandwidthsecure streamingdemandIOSvp9adwmsAuthSignnimble streamer mpeg-ts multiple inputsLoad-BalancingThumbnailsserver incorrect timesoundLiveLIVEtranscoder nimbleHow to do live stream with multiple audio trackssaiDVR Setting limitthumbnail dvr-thumbnailrmtpInterlaceno internetreportsVideo cant be playedS3 AWSavoid refreshraspberrypublish streamStream Delayhd25trafficAArch64Paywalldvr to livewebhooklivestreamintransocderstorage space availablediskcredentialsdomain lockUsers limitoutputcloudflareVOD HLS streaming on public IPautomateuser_agentlarixsctetranscodevbv-maxrateInvalid frame headerno soundincoming streamSubtitlesFailoverVR-360Goplivestream bitratedockerDVRRecordingAuthDVR SettingPORTdelaympeg4storagealias route.movRAM LoadVP9http serverLatencya recordwirecastlatencyno audiofastspringNimble streamermp2 audioaliasdata slicesplayer sldpbuffering videoSO_RCVBUFdistributioncompatibility protocolsmultiplexbufferqataritworkscdnvideo.jsvideo streamingQuickTimeTeradek Decoderubuntu 18actionscript 3server ssl errorCSSCentos 8dissapointmentpay-per-minuteincomingmulti-viewer3.6.1-1Max connectionUDP MulticastRIST Bondingplayoutmultiple audio udphotlink protectionRaspberryPi4ultra low latencyprogressivebroadcast videorestartFallbackhelprulesError when installinghow-tomanage_dvraws amazonserver ip21hls to multicast udpnoobSSL requestprerollnimble on cloudrtmp sldp nimblesha265video audioSRT protocolanalyseStreamIDLinuxfallbackRaspberrytasks-controlRTMP to SRT4GNimble_Crushwebrtcvideo and audio not matchLarix broadcastergpu{stream}Networkartifactsrtsp push androidtuningWowza AgentRemote StorageSSAInimble.confrtmp republishing transcodeIIS Media ServicstrackOBSfairplayNginxthumbnailsmultipointruleGoogle DriveHLS Streamingurlspeedup my videoiOSSnapshotsnimble aliasesNimble StreamAmazonTVfiresubfolderTLSV 1.2 Certificatedynamic linksMPEG-DashWMSAUTHbroadcasterOSXmd5Nimble connectionsabr fallbackletsencryptTonydowntranscodingFFMPEG;RTMP;I/O errorSecureJetson NanoLarix PlayerrammainmultistreamingmultipleRisthot linkingTRANSCODEoverlaygoogle cloud storagepricingContinuityrtpnimble dvrBandwidthdurationYadifportsRokubuildABR bitratesPacketizingcountrist set fecadjustsoftware versionSRT RTMPre-publishingmultiple audioHTML5 playerAddendaLL-HLSPCRMPEG2 Videologo in streamdvbduplicatingIVSDelaympeg2tsLL-HLS DVRav1 codecconnectionsNimbleStreamer

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.