remove baresip for now, use ices2
This commit is contained in:
parent
3409fb8ab8
commit
333146a182
10 changed files with 123 additions and 20 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue