diff --git a/src/MeetingsAdapter.js b/src/MeetingsAdapter.js index 184bcab..90d3987 100644 --- a/src/MeetingsAdapter.js +++ b/src/MeetingsAdapter.js @@ -146,18 +146,4 @@ export default class MeetingsAdapter extends WebexAdapter { leaveMeeting(ID) { throw new Error('leaveMeeting(ID) must be defined in MeetingsAdapter'); } - - /** - * Retrieves the local device media (video/audio) and adds them to the meeting - * with the some default media settings. - * Adding local media is performed as a side-effect and this method does not - * return a value. Instead, adding local media to a meeting should trigger - * getMeeting to emit a new updated Meeting object. - * - * @param {string} ID ID of the meeting to add the local media to. - * @memberof MeetingsAdapter - */ - addLocalMedia(ID) { - throw new Error('addMediaLocal(ID) must be defined in MeetingsAdapter'); - } } diff --git a/src/MeetingsAdapter.test.js b/src/MeetingsAdapter.test.js index f9ee432..d749294 100644 --- a/src/MeetingsAdapter.test.js +++ b/src/MeetingsAdapter.test.js @@ -64,18 +64,4 @@ describe('Meetings Adapter Interface', () => { } }); }); - - describe('addLocalMedia()', () => { - test('errors because it needs to be defined', () => { - try { - meetingsAdapter.addLocalMedia('meetingID'); - } catch (error) { - expect(error.message).toBe('addMediaLocal(ID) must be defined in MeetingsAdapter'); - } - }); - }); - - test('meetingControls property exists', () => { - expect(meetingsAdapter).toHaveProperty('meetingControls'); - }); });