createEncodedStreams in adapter.js

210 views
Skip to first unread message

Prabindh Sundareson

unread,
Apr 5, 2021, 5:21:53 AM4/5/21
to discuss-webrtc
Browser /OS: Desktop Google Chrome - 89.0.4389.90, Windows 10
Adapter.js version - 7.6.3 via node

When using the webrtc samples for Insertable Streams (for ex, https://github.com/webrtc/samples/blob/gh-pages/src/content/insertable-streams/video-analyzer/js/main.js), the functionality works fine on Chrome, ie, without adapter.js.

However, when adapter.js is used, in the "track" event listener after RTCPeerConnection, the event.receiver.createEncodedStreams() call fails - with below error:

Uncaught TypeError: $event$jscomp$11_frameStreams_streamInArray$$.receiver.$a$ is not a function

- Does adapter.js support this functionality, or is there some extra step to be done, compared to using this without adapter.js ?

Thanks, regards, Prabindh


Philipp Hancke

unread,
Apr 5, 2021, 6:01:43 AM4/5/21
to discuss...@googlegroups.com
the video-analyzer sample uses adapter.js so you might want to check what your receiver object is.

--

---
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/1b04f2b1-04e3-4d01-b762-7e806abeb027n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages