--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/2691d45d-f5ae-4633-af41-35527cc61448%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/79fb5f63-c0b1-4479-9f82-eea86f40d5c8%40googlegroups.com.
It seems to me that a way to track frames from the sender by looking at a sequence number on the receiving side would be very useful in many scenarios. This would enable syncing messages over a datachannel with frames.Is this something you are considering implementing?
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/59feb473-91c6-4720-b2c3-c412cf025e55%40googlegroups.com.
Thanks for the suggestion Eric. Yes this is something we are thinking about as it seems to be the best solution to the problem right now. I did not know that people have used this for audio syncing however. That is good to know!
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/444a661d-346e-418d-af67-36598d740ae4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This could take the form of the sender assigning the frame a unique ID that is accessible by the receiver, or it could even be done through a read-only value that may be already present and accessible by both ends of the link that could be used as a key (such as a consistent timestamp).
I'm getting the picture from this thread that it may not be possible, which is a surprising answer!
It sounds like there is no such timestamp or other value usable as a key that is already accessible both to the sender and to a (javascript) receiver?
If I had control over the native code at both ends, it looks like I could try the custom RTP header strategy that Cao Phong created, or the custom codec strategy that Alexandre Gouaillard mentioned, however in my case I need to use a receiver running in a stock browser.
Alexandre, it looks like the custom codec you described is in the chromium repository, is there a chance this strategy is destined to make it into the stock chrome browser?
Or does anyone know of any other plans in the works that would make this synchronization possible in the future?
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/b29766d7-2875-41b5-a1b7-0e1b8fcd39d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Unless you generate the frames yourself (from a canveat), and you have a synchronized clock across, this is not possible. Specifically, today the output of a capturer is a video track which is opaque. Correspondingly on the receiving side, unless you bypass the <video> element completely (not recommended by any mean), you do not control the rendering speed nor time, so you cannot re-sync data and frame.
Harald has done some preliminary work to study things at the frame level and the document is shared here: https://alvestrand.github.io/webrtc-framelog/
Unless you generate the frames yourself (from a canveat), and you have a synchronized clock across, this is not possible. Specifically, today the output of a capturer is a video track which is opaque. Correspondingly on the receiving side, unless you bypass the <video> element completely (not recommended by any mean), you do not control the rendering speed nor time, so you cannot re-sync data and frame.You mentioned that it might be possible (but not recommended) to bypass the <video> element on the receiving end; is that possible in pure javascript in the browser?
All the ways I've found to get data out of the MediaStreamTrack (via javascript) involve going through a <video> element. If there is a way to bypass the <video> element in the receiver,
it could be an interesting option, although perhaps it comes with a huge performance hit, or isn't possible from javascript? (I have a bit more flexibility on the sending side: in my case it happens that on the sending side I will have native-level access, it is the receiving end that must run in-browser.)
Harald has done some preliminary work to study things at the frame level and the document is shared here: https://alvestrand.github.io/webrtc-framelog/Thank you for the link to this document on frame level logging, it looks like this extension would make available a number of interesting time-stamps to the receiver, some of which would also have been available to the sender, so they could function as a unique id "key" for the frame. That is what I was initially hoping for, but as you say they couldn't actually be used to synchronize metadata display with image frame rendering while the <video> element is opaquely handling the render timing!Thanks very much!Jesse
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/992554FF-18CE-424A-8F33-1BE3FB81FC76%40oatbit.com.
For more options, visit https://groups.google.com/d/optout.