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 StreamerFAQHLSDVRnimble streamerRTMPhlsSRTABRrtmpcacheNimbleAPItranscodersrtdvrwmsauthapiffmpegudpVODsldpRTSPfailoverDASHwmspanelUDPvodrtspstreamingSLDPaudioyoutubemp4paywallabrDispersaandroidsslmulticastsubtitlesLarixlivevideolivestreamingplaylistWMSAuthMPEG-DASHpay-per-viewerrorgeoMPEG-TSre-streamingdashcorsstreamerWMSPaneledgebandwidththumbnaillarix broadcasterNDIWindowshttpswhite labelconfigsmilFFMPEGencryptionCORSperformancechunksraspberry pimpeg-dashpublish controlcloudfrontDRMRepublishingvlcAWSS3advertisinguser agentadvertizerristrepublishingrules.confipv6MPEGTSFastSpringRecordingRAMwms panelfileFMLEVATcrossdomainSMILmpegtsaespushakamaimobilewowzaPullserverscodecmanifestSSLchromecastbalancedrmTranscodem3u8TranscoderbugIDWowzareportingconfigurationsnapshotdownloadAndroidnimblestreamerdomainawstranscoderaspianloopscte35streamroutesamazonupdateipVidillionHttpsmpeg-tsVLCsecurityplaylist_dvrCDNBroadcasterrorsPIDEncoderoriginissuechunkscte-35Larix BroadcasterIPUIRegistration Issuedirect link32-bit Windowstwitchcache_controlitworkmecudalive abr support mpeg-dashwmspanelapibeirutreloadWWDCdubaideep statsCentOS v6.4logIIS Smooth StreamingcloudmediaIPTVprofilelarix abrTSReaderAbrHTTPSHot-linking protectionHDSvaddioalertsMuxjwplayer websitewhmcsbaselinetimelineVaddioAV BridgePI3 Ubuntuview timeNimble Streamer APIAuthentication in HLSinterfacesPi4streamsencrytpionHLS Meta Tag editing.loadbalancingmetadatamod_rewritewmsattachmentHEVCwmsauthsignhighhds streampriceresourcelimitciscolocalOld logsscreencastID3 tagsgbpsAxis.net hotlinkRTMP republishno internetInterlaceattaching domainssdpshoutcastdocumentationofflineNimble streamer upgradeMulticastcontainerconcurrent-connectionsTrancoder*recordingrtmp abranalisysresumeniblerhls restreamingServer-siderestreamstoppedMPEG2TSNimble Streamer versionopensslexportmainWMSCONFIG_HOMEdatmessagedissapointmentgentoo install server nimblePublic Iptranscoding using NvidiaPaywall AuthVideo Playertransocding republishingdecoderno WMSPanelAliaslost trafficpay per viewdvr_archivesmpeg dashnginx rtmp nimbleicecast urlwildcardTCOobsRaspian Busterchangelimuxamazon web servicenginxPlayReadyLarix Groveamfdvr stream twiceIOSExpression EncoderAXVVGhot-linkonSteam stopped workingblocknvencHLS PlayerDASH PlayerHLS vodadaptiveAV1 codecJWPLAYERNGINX-RTMPdvr export to mp4analyticsapplicationpaywal7brandingtrialCablemicrosoft streamMP4jpegscreen freezecan't registerrocksoftlog traffic statslive videodebianLarge DVR filesprivate networkaccuracyinterleavingSLDP PLayerTelegrammac osx installseekingwotermarklive video on demandbandwithvimeohelp errorservernimblesessionidFFmpegmultiple originsload balancezabbixcache expiryheadercdnvsomlive streamsourceViewer Statslog nimble analysertmp playbackLive StreamingAdsvideojsServer-Side-Task-Controlbitrate#restreamvideo stopMP4 not playedspaceaes encryptionsubscriptionvod no soundconcurrent connectiondvr streamconnectivityUbuntu 20 ARM - AWSunique visitorlebanonlocationlive pull settingsWMSPanel settingsABR HLS Bitratesstereo to monoscreen capturertmp for YouTubeWidevineFairplay4Kcrossdomain more then 1 domainnot foundCPU LoadpullcpuAS3loggingnimble streamer vod hls transmuxingCross Domaininsert logoinstall players setup ready to goDVRSettingstwitch larix broadcaster androidbuttAWS 3DVRStreamsAppleDelete recordspremium featureicecast metadataProgressivenimble streamer web server php script pageautomationControl APIvideo loopLive streamingUbuntu artful 17.10Transcoder MPEG DASHinvalidMPEG DASHstarttime duration seekpointstatus:errorrebootadd_chunk failedPost processingfake extensiondroppingmobile app live streamingmonitorapi accessDeep statsMPEG-Dashloadbalanceroutrateudp streamingweb playericecastcontent-dispositionpaymentstatsNimble Serverrestartavoid refreshAVCaptureMovieFileOutputblock downloadHotlinking ProtectionStreaming routefacebookdvr streamsSecuritylivestreamcontentRTMP RepublishABR DVR problemNimble CapacitydemandLive Switchernot to stealLive BroadcastMultiple Audio trackswmsAuthSignnimble streamer mpeg-ts multiple inputsLoad-Balancingsecure streaminglow_bandwidthsoundvp9addisk migrationThumbnailsserver incorrect timeLIVELivelearnernimble webcam html5pauseHow to do live stream with multiple audio trackssaiDVR Setting limittranscoder nimblereportsdvr on wmspanelfpsVideo cant be playedS3 AWSrmtplivestreamintransocderraspberrydvr to livewebhookautomateuser_agentPaywallstorage space availablediskdomain lockUsers limitoutputcloudflareVOD HLS streaming on public IPcredentialslarixsctevbv-maxrateInvalid frame headerno soundincoming streamSubtitleslivestream bitratedockerDVRRecordingAuthGopDVR SettingPORTartifactsrtsp push androidRAM Loaddelaympeg4VP9http serverLatencywirecasta recordstoragealias route.movserver ip21Nimble connectionsabr fallbackno audiolatencyruleshow-tomanage_dvrError when installingsoftware versionadjustSO_RCVBUFbuffering videobuffermultiplexcompatibility protocolsaliasdata slicesplayer sldpNimble streamermp2 audiofastspringdistributionqataritworkscdnvideo.jsTeradek Decoderubuntu 183.6.1-1incomingmulti-viewerUDP MulticastMax connectionCentos 8pay-per-minutemultiple audio udphotlink protectionRaspberryPi4ultra low latencyaws amazonFallbackhelphls to multicast udpnoobSSL requestprerollnimble on cloudrtmp sldp nimblepluginfallbacksha265tasks-controlRaspberrybroadcasterOSXmd5LinuxRTMP to SRTanalyseStreamIDgpu{stream}RIST Bondingplayoutsrt-live-transmitNimble_Crushwebrtc4GAmazonTVfireOBSvideo and audio not matchLarix broadcasterNetworkspeedup my videoiOSPerformancethumbnailsmultipointruleSRT RTMPre-publishingSnapshotsletsencryptLL-HLSHTML5 playerAddendaTonydowntranscodingFFMPEG;RTMP;I/O errorABR DASHprogressive downloadeventnimble aliasesNimble StreamLL-HLS DVRav1 codecconnectionsNimbleStreamermultiple audioOBS StudioWMSAUTHIVSDelaympeg2tsJetson NanoSecureLarix PlayerramfairplayNginxbindprogressivebroadcast videoIIS Media Servicsrtmp republishing transcodenimble.confinterfacetrackdvbduplicatingpcvideo audioSRT protocolMPEG2 VideoPCRlogo in streamrepublishwordpressrtpnimble dvrBandwidthdurationYadifportsRokuContinuitybuildABR bitratesPacketizingcountrist set fecurlGoogle DriveHLS Streamingdynamic linksTLSV 1.2 Certificatesubfolderbrowsercostnimble abr hlsgoogle cloud storagepricingoverlayhot linkingTRANSCODEVR-360Failoverthumbnail dvr-thumbnailaudio languagetuningWowza AgentRemote StorageSSAIvideo streamingQuickTimeCloud Storagepublish streamStream Delayhd25trafficAArch64multistreamingmultipleRistserver ssl erroractionscript 3dropped framesCSS

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.