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?