You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.js 415B

12345678910111213141516171819
  1. // @flow
  2. import { SET_LAST_N } from './actionTypes';
  3. /**
  4. * Sets the last-n, i.e., the number of remote videos to be requested from the bridge for the conference.
  5. *
  6. * @param {number} lastN - The number of remote videos to be requested.
  7. * @returns {{
  8. * type: SET_LAST_N,
  9. * lastN: number
  10. * }}
  11. */
  12. export function setLastN(lastN: number) {
  13. return {
  14. type: SET_LAST_N,
  15. lastN
  16. };
  17. }