remove baresip for now, use ices2

This commit is contained in:
rdl technix 2021-09-03 19:08:48 +02:00
parent 3409fb8ab8
commit 333146a182
10 changed files with 123 additions and 20 deletions

View file

@ -17,7 +17,7 @@ export const INITIAL_STATE = {
pings: 0,
meter: {},
connectionState: { connected: false, error: null },
connectivity: { internet: false }
connectivity: { internet: false },
}
export function reducer (state, event) {
@ -32,14 +32,15 @@ export function reducer (state, event) {
}
}
if (action === STREAM_STATUS) {
const { id, status } = data
const { id, status, url } = data
return {
...state,
streams: {
...(state.streams || {}),
[id]: {
...state.streams[id],
status
status,
url
}
}
}