@akkadu/agora-rtc-mock

This module is a mock implementation of the agora-rtc-sdk methods and also implements a sub stream class that is returned in the client events. The module is a work-in-progress and only implements the needed functionalities.

Usage no npm install needed!

<script type="module">
  import akkaduAgoraRtcMock from 'https://cdn.skypack.dev/@akkadu/agora-rtc-mock';
</script>

README

Description

This module is a mock implementation of the agora-rtc-sdk methods and also implements a sub stream class that is returned in the client events. The module is a work-in-progress and only implements the needed functionalities.

In addition it hosts mock data that is based on returns from the stream api that can be, and is currently, used for tests in other modules.

  • stream-data-audience (for audience members)
  • stream-data-host (for hosts, i.e interpreters and eventorganizers)