Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BoxDialer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
BoxDialer
Commits
5f0c29a6
Commit
5f0c29a6
authored
Oct 09, 2023
by
Muhammadali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-
parent
7514ea4a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
index.jsx
src/components/CallHistoryInputDropdown/index.jsx
+1
-3
style.js
src/components/CallHistoryInputDropdown/style.js
+2
-2
boxDIaler.js
src/lib/boxDIaler.js
+15
-9
No files found.
src/components/CallHistoryInputDropdown/index.jsx
View file @
5f0c29a6
...
@@ -36,9 +36,7 @@ const CallHistoryInputDropdown = ({
...
@@ -36,9 +36,7 @@ const CallHistoryInputDropdown = ({
}
}
},
[
numberSelectHistory
]);
},
[
numberSelectHistory
]);
useEffect
(()
=>
{
},
[
useEffect
(()
=>
{},
[
document
.
getElementById
(
'
numbersDiv
'
)]);
])
return
(
return
(
<
Block
>
<
Block
>
...
...
src/components/CallHistoryInputDropdown/style.js
View file @
5f0c29a6
...
@@ -10,7 +10,7 @@ const Block = styled.div`
...
@@ -10,7 +10,7 @@ const Block = styled.div`
const
Input
=
styled
.
div
`
const
Input
=
styled
.
div
`
overflow-x: scroll;
overflow-x: scroll;
overflow-y: hidden;
overflow-y: hidden;
border: 1px solid red;
position: absolute;
position: absolute;
top: 0;
top: 0;
left: 0;
left: 0;
...
@@ -21,7 +21,7 @@ const Input = styled.div`
...
@@ -21,7 +21,7 @@ const Input = styled.div`
max-height: 45px;
max-height: 45px;
border-radius: 3px;
border-radius: 3px;
background-color: #fff;
background-color: #fff;
border: 0;
/* border: 0; */
padding: 0 0 0 10px;
padding: 0 0 0 10px;
font-size: 22px;
font-size: 22px;
color: #000;
color: #000;
...
...
src/lib/boxDIaler.js
View file @
5f0c29a6
...
@@ -413,15 +413,21 @@ export class BoxDialer {
...
@@ -413,15 +413,21 @@ export class BoxDialer {
callType
:
'
connected
'
,
callType
:
'
connected
'
,
},
},
});
});
// this.callSession?.connection?.onaddstream = (e) => {
if
(
this
.
callSession
.
connection
)
{
// console.log('--== UA Conn Added STREAM: ', e);
// let strmTrack = e.stream.getAudioTracks();
this
.
callSession
?.
connection
?.
onaddstream
=
(
e
)
=>
{
// if (strmTrack[0]) {
console
.
log
(
'
--== UA Conn Added STREAM:
'
,
e
);
// let rmMediaStream = new MediaStream([strmTrack[0]]);
let
strmTrack
=
e
.
stream
.
getAudioTracks
();
// this.remoteAudio.srcObject = rmMediaStream;
if
(
strmTrack
[
0
])
{
// this.remoteAudio.play();
let
rmMediaStream
=
new
MediaStream
([
strmTrack
[
0
]]);
// }
this
.
remoteAudio
.
srcObject
=
rmMediaStream
;
// };
this
.
remoteAudio
.
play
();
}
};
}
else
{
console
.
error
(
'
connection not found
'
)
}
// innerCallerModal;
// innerCallerModal;
this
.
onSipStateChange
.
innerCallerModal
({
this
.
onSipStateChange
.
innerCallerModal
({
bool
:
true
,
bool
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment