ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.

Home Page:https://antmedia.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a stream start time field for the streams/broadcasts

mekya opened this issue · comments

  • Create a new field in Broadcast object with name startTime
  • Update the startTime with unix timestamp when stream is started.
  • It should work both RTMP, WebRTC Ingest and Stream Sources
  • Implement simple unit tests for RTMP, WebRTC Ingest and Stream Sources

@mekya has this been impliemented?
We are moving from https://www.npmjs.com/package/webrtc-adapter to Ant media WebRTCAdaptor and having issues calculating the watch time for clients

webrtc-adapter returned: statTime, lastTime which allowed us to calculate the watch time.

How can we calculate watch time using WebRTCAdaptor?

Hi @samidalati
Sorry I've missed responding your message.

Yes, it's implemented.

AFA I understand, your requirement is different. You want to have the watch time of every viewer?