How can use the webRTC Javascript API to access the outgoing audio RTP timestamp at the sender and the incoming audio RTP timestamp at the receiver?

荒凉一梦 提交于 2019-12-11 12:56:19

问题


For instance, for the incoming audio stream at the receiver, this webRTC internal function gives me the RTP timestamp!

http://www.webrtc.org/reference/webrtc-internals/voevideosync#TOC-GetPlayoutTimeStamp

You could sniff all this information using WireShark. But I am looking to access this via a javascript function request?


回答1:


As you can see in the url you shared, that documentation is under "webrtc-internals" and describes how browsers should implement WebRTC inside the browser. Those low level functions are not available via Javascript.

You can find what's available (now or in the future) via Javascript here.



来源:https://stackoverflow.com/questions/15009887/how-can-use-the-webrtc-javascript-api-to-access-the-outgoing-audio-rtp-timestamp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!