Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with latest iosRTC #3

Open
wants to merge 1,041 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1041 commits
Select commit Hold shift + click to select a range
94a0b68
Merge pull request #593 from calebboyd/initial-orientation
hthetiot Oct 28, 2020
b01a23c
Merge pull request #586 from calebboyd/background
hthetiot Oct 28, 2020
a98e6ad
fix CanvasRenderingContext2D.prototype.drawImage SHIM
hthetiot Oct 28, 2020
9e44f03
prepare 6.0.16
hthetiot Oct 28, 2020
e787c3c
set up prettier
dgreif Oct 28, 2020
ea4712f
format js files using prettier
dgreif Oct 29, 2020
c116575
Merge pull request #598 from calebboyd/prettier
hthetiot Oct 29, 2020
f37c019
fix RTCIceCandidate typo
hthetiot Nov 6, 2020
c1b681b
merge master
hthetiot Nov 6, 2020
92b01ab
fix possible error on icecandidate event on RTCPeerConnection
hthetiot Nov 6, 2020
5dcd568
update www/cordova-plugin-iosrtc.js build
hthetiot Nov 6, 2020
b8528e8
fix Cannot read property '1' of null at getProjectName #597
hthetiot Nov 8, 2020
ffc7912
fix: PluginMediaStreamTrack.eventListener possible Fatal error: Unex…
hthetiot Nov 10, 2020
b8e40af
update 6.0.16 CHANGELOG.md
hthetiot Nov 10, 2020
baf12c3
prevent crash revert self.eventListenerForEnded call in PluginMediaSt…
hthetiot Nov 13, 2020
444c6e9
Merge pull request #602 from cordova-rtc/bugs/PluginMediaStreamTrack.…
hthetiot Nov 18, 2020
8fb2a98
Fixed MediaStreamTrack clone missing from sdp
samgabriel Nov 19, 2020
44eb393
Fixed the streamid regenerated with a provided id
samgabriel Nov 19, 2020
16f3329
logging optimization for the getStats
samgabriel Nov 19, 2020
3b0c1ac
added a check to ensure the track does not exist
samgabriel Nov 19, 2020
62b81de
Fixed error after stopping and starting video
samgabriel Nov 19, 2020
aa0bf50
added missing values function
samgabriel Nov 19, 2020
9dd71db
Fix lint issues
samgabriel Nov 19, 2020
557fa29
Merge pull request #605 from Brainfuse/fix/issue-592
hthetiot Nov 19, 2020
c16dd97
removed calling checkActive for connected streams
samgabriel Nov 19, 2020
6d5e081
Removed unused comment
samgabriel Nov 19, 2020
47419f1
Fixed lint issues
samgabriel Nov 19, 2020
bdcce33
Merge pull request #607 from Brainfuse/fix/issue-606
hthetiot Nov 20, 2020
cf2fac9
codestyle fixed
RSATom Nov 23, 2020
a6fbd38
Merge pull request #608 from RSATom/master
hthetiot Nov 23, 2020
efa6e80
build www/cordova-plugin-iosrtc.js with last merge
hthetiot Nov 23, 2020
55a2dc9
prepare 6.0.16 CHANGELOG.md
hthetiot Nov 23, 2020
4db305e
force early GC on Image loaded for Video to Canvas shim by retting sr…
hthetiot Nov 23, 2020
15d1f75
use pluginMediaStreamRenderer.save async via callback and remove NsLo…
hthetiot Nov 23, 2020
1b5f9cf
build www/cordova-plugin-iosrtc.js
hthetiot Nov 23, 2020
3e0fda1
use self.commandDelegate.run(inBackground for async pluginMediaStream…
hthetiot Nov 23, 2020
f226836
iosrtcPlugin#MediaStreamRenderer_save use DispatchQueue.global().asyn…
hthetiot Nov 23, 2020
1f1099c
Update CHANGELOG.md
hthetiot Nov 25, 2020
1ee941d
Update CHANGELOG.md
hthetiot Nov 25, 2020
ad5bbbb
Update CHANGELOG.md
hthetiot Nov 25, 2020
f958829
fix possible duplicate pluginMediaStream and pluginMediaTrack causing…
hthetiot Nov 27, 2020
59866a6
Merge pull request #609 from cordova-rtc/task/PluginMediaStreamRender…
hthetiot Nov 27, 2020
d6d1494
prepare 6.0.17
hthetiot Nov 27, 2020
c26d989
Merge branch 'master' of github.com:cordova-rtc/cordova-plugin-iosrtc…
hthetiot Nov 27, 2020
d3a608e
prepare 6.0.17
hthetiot Nov 27, 2020
108133d
Update README.md
hthetiot Nov 27, 2020
287bc07
fix iosrtcPlugin#dump()
hthetiot Nov 30, 2020
2e0a671
Merge branch 'master' of github.com:cordova-rtc/cordova-plugin-iosrtc…
hthetiot Nov 30, 2020
78dbb73
MediaStreamTrack: added getCapabilities().deviceId support
RSATom Dec 4, 2020
675c2b8
Bump ini from 1.3.5 to 1.3.7
dependabot[bot] Dec 11, 2020
198667d
Merge pull request #613 from cordova-rtc/dependabot/npm_and_yarn/ini-…
hthetiot Dec 14, 2020
bcf6d98
Fixed event dispatch in replace track in rtcrtpsender
mosatch Dec 17, 2020
3188c06
Merge pull request #619 from mosatch/FixMalformedEventNegNeeded
hthetiot Dec 17, 2020
190b697
Merge pull request #612 from RSATom/master
hthetiot Dec 17, 2020
cb2d012
merge master
hthetiot Jan 4, 2021
5f83945
merge master
hthetiot Jan 4, 2021
b7dbce0
Basic transceiver scaffolding.
axel-calmid Jan 8, 2021
2db54be
Add support for stop and direction.
axel-calmid Jan 11, 2021
4a463d5
Add string to direction utility function.
axel-calmid Jan 12, 2021
602d7f1
Fix gUM crash with invalid audio deviceId
jerry2013 Jan 13, 2021
214a4d5
Merge pull request #630 from jerry2013/patch-1
hthetiot Jan 13, 2021
6115210
Create native and js transceiver on pc event.
axel-calmid Jan 14, 2021
350aaf1
Add support for addTransceiver(of:)
axel-calmid Jan 14, 2021
8d45a81
fix navigator.mediaDevices.GetUserMedia webrtc-adapter causing overid…
hthetiot Jan 14, 2021
f2d7bf6
Merge branch 'master' of github.com:cordova-rtc/cordova-plugin-iosrtc…
hthetiot Jan 14, 2021
a127006
upate 6.0.17 CHANGELOG
hthetiot Jan 14, 2021
7058105
SHAM MediaStreamTrack.prototype.getConstraints and MediaStreamTrack.p…
hthetiot Jan 14, 2021
c91ae14
upate 6.0.17 CHANGELOG
hthetiot Jan 14, 2021
a2d3d0e
use Object.defineProperty writable: false on navigator.MediaDevices t…
hthetiot Jan 20, 2021
9a78663
Associate transceivers with sender/receiver/track.
axel-calmid Jan 20, 2021
24dbc8f
prepare 6.0.17
hthetiot Jan 21, 2021
fd5ae92
Merge branch 'master' into task/7.0.0
hthetiot Jan 21, 2021
1070603
merge master
hthetiot Jan 21, 2021
dc9802c
Transient ID's for native transceivers.
axel-calmid Jan 21, 2021
4c286a8
Fix issue with undefined init object.
axel-calmid Jan 21, 2021
db6cb80
Update README.md
hthetiot Jan 21, 2021
ecb782d
Update ISSUE_TEMPLATE.md
hthetiot Jan 21, 2021
e6a837d
Update sender parameters state and parse sendEncodings.
axel-calmid Jan 22, 2021
b4382a4
Update ISSUE_TEMPLATE.md
hthetiot Jan 24, 2021
9c0ea91
Update Building.md
hthetiot Jan 24, 2021
f35ea34
update ios_arch.js to generate WebRTC.xcframework
hthetiot Jan 24, 2021
a631aa1
fix: lint
hthetiot Jan 24, 2021
d727dbc
remove internal ios_arch.js usage from tests
hthetiot Jan 24, 2021
8c8752b
Merge pull request #635 from cordova-rtc/task/WebRTC.xcframework
hthetiot Jan 25, 2021
6fa57b5
Check if pluginMediaStream had already the new track, otherwise add n…
hthetiot Jan 31, 2021
7a535e3
ignore empty IceCandidate
hthetiot Feb 1, 2021
58eaf78
fix RTCPeerConnection_addIceCandidate pluginRTCPeerConnection argumen…
hthetiot Feb 1, 2021
3351f28
Merge pull request #637 from cordova-rtc/task/janus
hthetiot Feb 2, 2021
e60b330
allow registerGlobals to be called multiple time without error: Attem…
hthetiot Feb 8, 2021
c98dc91
Merge branch 'master' of github.com:cordova-rtc/cordova-plugin-iosrtc…
hthetiot Feb 8, 2021
a50f899
prepare 6.0.18
hthetiot Feb 8, 2021
75fe523
fix(extra/hooks/iosrtc-swift-support.js) Error: value.replace is not …
hthetiot Feb 18, 2021
165d78e
Add pluginVideoTrack to PluginMediaStreamRenderer
mosatch Feb 28, 2021
da32c98
Merge remote-tracking branch 'upstream/master'
mosatch Feb 28, 2021
42eb49a
Merge pull request #650 from mosatch/MediaStreamRendererUnregisteFix
hthetiot Mar 1, 2021
e6792ed
merge master
hthetiot Mar 1, 2021
2a278e3
merge 7.0.0
hthetiot Mar 1, 2021
7c63115
fix bad merge RTCRtpSender.h
hthetiot Mar 1, 2021
c7bd122
merge master
hthetiot Mar 1, 2021
0297b39
Merge pull request #625 from agelito/task/589/implement-addtransceiver
hthetiot Mar 1, 2021
3d05036
prepare 6.0.19
hthetiot Mar 1, 2021
54e8240
merge master
hthetiot Mar 1, 2021
9447435
Merge branch 'task/7.0.0' into task/8.0.0
hthetiot Mar 1, 2021
a557186
Merge branch 'task/8.0.0' of github.com:cordova-rtc/cordova-plugin-io…
hthetiot Mar 1, 2021
edb2e5a
Merge pull request #475 from cordova-rtc/task/7.0.0
hthetiot Mar 1, 2021
5442062
Merge pull request #545 from cordova-rtc/task/8.0.0
hthetiot Mar 1, 2021
8011305
update CHANGELOG.md
hthetiot Mar 1, 2021
93c9a65
update README.md
hthetiot Mar 1, 2021
f8d0549
fix: lint
hthetiot Mar 1, 2021
eb1f825
Bump elliptic from 6.5.3 to 6.5.4
dependabot[bot] Mar 9, 2021
a51f7a2
Merge pull request #653 from cordova-rtc/dependabot/npm_and_yarn/elli…
hthetiot Mar 9, 2021
b6cd033
Remove extmap-allow-mixed sdp header on RTCPeerConnection.prototype.s…
hthetiot Mar 18, 2021
5929462
update build
hthetiot Mar 18, 2021
3933c36
prepare 6.0.20
hthetiot Mar 18, 2021
321abe7
update build
hthetiot Mar 18, 2021
0d9298b
Fixes updateTransceiversState call
Mar 19, 2021
059ab26
Merge pull request #662 from ducile/updateTransceiversState
hthetiot Mar 19, 2021
91cccc5
extend transceiver/sender/receiver functionality
slavchev Mar 19, 2021
77d434c
fix lint
slavchev Mar 20, 2021
f66b6b5
Merge pull request #664 from smanuel/new
hthetiot Mar 22, 2021
7179dd5
Create FUNDING.yml
hthetiot Mar 23, 2021
c938b19
Bump y18n from 3.2.1 to 3.2.2
dependabot[bot] Mar 31, 2021
799bac5
Merge pull request #670 from cordova-rtc/dependabot/npm_and_yarn/y18n…
hthetiot Mar 31, 2021
c16a67d
Bump hosted-git-info from 2.8.8 to 2.8.9
dependabot[bot] May 11, 2021
0e4ebd9
Bump lodash from 4.17.20 to 4.17.21
dependabot[bot] May 11, 2021
7749f90
Merge pull request #678 from cordova-rtc/dependabot/npm_and_yarn/host…
hthetiot May 14, 2021
2278ee0
Merge pull request #679 from cordova-rtc/dependabot/npm_and_yarn/loda…
hthetiot May 14, 2021
f9c99cc
AutoLayout fix for #422
slavchev Mar 24, 2021
e036c93
revamp CanvasRenderingContext2D.drawImage monkey patch to use createO…
hthetiot May 14, 2021
4c55c8a
prepare 6.0.21
hthetiot May 14, 2021
e627e3b
set UseManualLayoutRenderer to true by default to prevent changing de…
hthetiot May 14, 2021
cb4a9bc
fix CanvasRenderingContext2D.prototype.drawImage
hthetiot May 14, 2021
6ee4821
éupdat build
hthetiot May 14, 2021
ea4a1e0
Merge pull request #682 from cordova-rtc/task/6.0.0-beta
hthetiot May 14, 2021
87192af
merge 6.0.0 branch
hthetiot May 14, 2021
b19c7c2
lint
hthetiot May 14, 2021
d9b8c44
update build
hthetiot May 14, 2021
9dffabf
Ãupdate to xcode@3+ to fix xmldom version
hthetiot May 14, 2021
32215f9
use node 12 for travis
hthetiot May 14, 2021
50a5767
Merge pull request #684 from cordova-rtc/task/update-xcode-npm
hthetiot May 14, 2021
069dc57
fixed crash on add same track second time
RSATom Jun 8, 2021
c8cf988
Merge pull request #691 from RSATom/master
hthetiot Jun 8, 2021
fce5f69
fix requestPermission returns true if AVAuthorizationStatus is notDet…
hthetiot Jun 9, 2021
910e107
fix npm audit
hthetiot Jun 29, 2021
e808d52
update link to travis-ci.com to try trigger build on migrated CI
hthetiot Jun 29, 2021
c4f0217
update link to travis-ci.com to try trigger build on migrated CI
hthetiot Jun 29, 2021
4aa4954
fix error: 'case' label in a 'switch' should have at least one execut…
hthetiot Jul 2, 2021
c473ca7
fix typo
hthetiot Jul 5, 2021
e86b8a4
Merge pull request #692 from cordova-rtc/bugs/RTCRequestPermissionnot…
hthetiot Jul 6, 2021
07b8a40
RTCRtpSender: fixed MediaStreamTrack replace
RSATom Jul 21, 2021
40e1a68
Merge pull request #699 from RSATom/master
hthetiot Jul 22, 2021
ec14d3a
fix travis 'No usable Android build tools found. Highest installed ve…
hthetiot Jul 22, 2021
6b83a31
fixed RtpSenders inconsistency after removeTrack call
RSATom Jul 26, 2021
d665efe
Merge pull request #702 from RSATom/master
hthetiot Jul 26, 2021
95f3c13
Bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Aug 11, 2021
758be83
Merge pull request #703 from cordova-rtc/dependabot/npm_and_yarn/path…
hthetiot Aug 11, 2021
1886880
Update README.md
hthetiot Aug 11, 2021
291384a
add support for local description rollback
slavchev Aug 26, 2021
d258ba2
fix linter
slavchev Aug 26, 2021
768aec6
fix linter
slavchev Aug 26, 2021
330df3b
Merge pull request #704 from smanuel/slavchev/rollback-support
hthetiot Aug 27, 2021
b876365
update CHANGELOG.md for 8.0.0
hthetiot Sep 27, 2021
16ed399
remove deprecated Strip Simulator Archs Usage doc
hthetiot Oct 26, 2021
20b6b37
Update BuildingLibWebRTC.md
hthetiot Oct 26, 2021
316fa2b
Update Building.md
hthetiot Oct 26, 2021
239b833
fix RTCPeerConnection.prototype.removeTrack to support Sender without…
hthetiot Dec 6, 2021
57776cb
update build
hthetiot Dec 6, 2021
923250e
Merge branch 'master' of github.com:cordova-rtc/cordova-plugin-iosrtc…
hthetiot Dec 6, 2021
b749fd4
update CHANGELOG.md for 8.0.1
hthetiot Dec 6, 2021
ed2b4ad
prepare 8.0.1
hthetiot Dec 6, 2021
642d62d
update build and apply npm audit fix
hthetiot Dec 6, 2021
3e775cc
add github action CI build
hthetiot Dec 6, 2021
bf9c8d6
fix github action CI build
hthetiot Dec 6, 2021
41afef0
Update main.yml
hthetiot Dec 6, 2021
574f0bc
fix github action CI build
hthetiot Dec 6, 2021
bbc548d
fix github action CI build
hthetiot Dec 6, 2021
9fdb965
fix github action CI build
hthetiot Dec 6, 2021
8fca7c1
Bump cached-path-relative from 1.0.2 to 1.1.0
dependabot[bot] Jan 27, 2022
9cfd1df
Merge pull request #736 from cordova-rtc/dependabot/npm_and_yarn/cach…
hthetiot Jan 28, 2022
abd87eb
Update README.md
hthetiot Mar 2, 2022
a8adfc8
Bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Mar 24, 2022
32ffa27
Merge pull request #741 from cordova-rtc/dependabot/npm_and_yarn/mini…
hthetiot Mar 26, 2022
d9f57db
Bump plist from 3.0.4 to 3.0.5
dependabot[bot] Mar 26, 2022
f03c20e
Merge pull request #742 from cordova-rtc/dependabot/npm_and_yarn/plis…
hthetiot Mar 26, 2022
790b4b0
RTCRtpSender not have DTMF properties
Apr 8, 2022
07a89df
Merge pull request #743 from buckun/RTCRtpSender-not-have-DTMF-proper…
hthetiot Apr 8, 2022
1a3eeac
Create codeql-analysis.yml
hthetiot Apr 29, 2022
0aceadc
Create SECURITY.md
hthetiot Apr 29, 2022
825b769
Update SECURITY.md
hthetiot Apr 29, 2022
318bf8a
fix lint
hthetiot May 12, 2022
dff7413
try to fix 'cordova: command not found' in github action
hthetiot May 12, 2022
f0b4882
Update codeql-analysis.yml
hthetiot May 12, 2022
21e069f
try to fix 'cordova: command not found' in github action
hthetiot May 12, 2022
b5b21a9
Merge branch 'master' of github.com:cordova-rtc/cordova-plugin-iosrtc…
hthetiot May 12, 2022
7649035
try to fix 'cordova: command not found' in github action
hthetiot May 12, 2022
1a74bdb
improve Github CI steps naming
hthetiot May 12, 2022
691a756
prepare 8.0.2
hthetiot May 12, 2022
e5bad3a
Update README.md CI badge from travis to github
hthetiot May 12, 2022
90c3575
Bump simple-plist from 1.1.1 to 1.3.1
dependabot[bot] Jun 2, 2022
ae4d0eb
Merge pull request #752 from cordova-rtc/dependabot/npm_and_yarn/simp…
hthetiot Jun 2, 2022
dc7bc90
PluginMediaStreamTrack: save original track id
RSATom Jan 20, 2022
9c10899
fixed track Id in transeivers description
RSATom Jan 20, 2022
990c18b
PluginRTCPeerConnection: cyclic reference leak fixed
RSATom Jun 16, 2022
19f7f69
Merge pull request #754 from RSATom/cyclic_leak_fix
hthetiot Jun 17, 2022
cdae44c
apply npm audit fix
hthetiot Jun 17, 2022
f8b4b3e
prepare 8.0.3
hthetiot Jun 17, 2022
9357701
Bump shell-quote from 1.7.2 to 1.7.3
dependabot[bot] Jun 22, 2022
7516347
Merge pull request #755 from cordova-rtc/dependabot/npm_and_yarn/shel…
hthetiot Jun 23, 2022
aa0efe5
Merge pull request #735 from RSATom/master
hthetiot Jun 30, 2022
afbf28e
PluginRTCPeerConnection: WebRTC >=m93 asserts on access to pc
RSATom Jun 24, 2022
eaa750f
Merge pull request #756 from RSATom/signalling_thread_assert
hthetiot Jul 20, 2022
de344e4
fix getProjectName() when config.xml:name has an attribute
Jul 20, 2022
b9fbf21
Merge pull request #757 from dcrousset/master
hthetiot Aug 31, 2022
5a9c3a2
Bump decode-uri-component from 0.2.0 to 0.2.2
dependabot[bot] Dec 4, 2022
1b9b184
Merge pull request #760 from cordova-rtc/dependabot/npm_and_yarn/deco…
hthetiot Dec 4, 2022
4791315
Bump minimatch from 3.0.4 to 3.0.8
dependabot[bot] Dec 4, 2022
a502fcc
Merge pull request #761 from cordova-rtc/dependabot/npm_and_yarn/mini…
hthetiot Dec 6, 2022
e218448
feat: MX002-8233 add method `setDefaultAudioOutput()`
Mar 23, 2023
b008af1
chore: clean logs
Mar 23, 2023
a1bef4f
Merge pull request #767 from tkhtechnology/MX002-8233
hthetiot Apr 2, 2023
dbdc92f
spec compliant RTCStatsReport
jerry2013 Apr 11, 2023
b85af13
lint
jerry2013 Apr 11, 2023
0be73f8
add setDefaultAudioOutput to source
jerry2013 Apr 11, 2023
db303fa
add compiled artifact
jerry2013 Apr 15, 2023
7e3bf8a
Merge pull request #768 from jerry2013/patch-2
hthetiot Apr 17, 2023
7559dcf
Merge pull request #769 from jerry2013/patch-3
hthetiot Apr 17, 2023
d914ec9
merge spec compliant RTCStatsReport #769
hthetiot Apr 17, 2023
b5a3bb0
expose MediaStreamTrackEvent alias to window.Event on registerGlobals
hthetiot Apr 17, 2023
0852429
fix PluginRTCDTMFSender insertDTMF when no senders is available
hthetiot Apr 17, 2023
88475be
prepare 8.0.4
hthetiot Apr 17, 2023
3de14db
use SAI to adjust the top/left corner from the client
jerry2013 May 11, 2023
69a162f
Merge pull request #771 from jerry2013/patch-2
hthetiot May 11, 2023
108d39f
actually request permission
jerry2013 May 12, 2023
24d2021
Merge pull request #772 from jerry2013/patch-3
hthetiot May 12, 2023
9038a8a
use the same MediaStreamTrack on RTCRtpSender
jerry2013 May 12, 2023
b6b5356
Merge pull request #773 from jerry2013/use-the-same-MediaStreamTrack-…
hthetiot Jun 6, 2023
e064d7f
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 18, 2023
62a3ee2
Bump debug from 4.1.1 to 4.3.1
dependabot[bot] Oct 2, 2023
210144b
Update main.yml
hthetiot Oct 4, 2023
fbd8c7a
Merge pull request #774 from cordova-rtc/dependabot/npm_and_yarn/word…
hthetiot Oct 4, 2023
78074bd
Merge pull request #777 from cordova-rtc/dependabot/npm_and_yarn/debu…
hthetiot Oct 4, 2023
87f871d
Bump browserify-sign from 4.2.1 to 4.2.2
dependabot[bot] Oct 27, 2023
fba0d64
Merge pull request #779 from cordova-rtc/dependabot/npm_and_yarn/brow…
hthetiot Oct 27, 2023
b89abb3
catch NPEs when calling replaceTrack
Nov 2, 2023
c8e1737
update version name
Nov 3, 2023
efb19d0
Update package.json
patrick-tresp Nov 3, 2023
96be63b
avoid nullpointer exceptions
Jan 4, 2024
a8a1c78
Merge pull request #780 from patrick-tresp/master
hthetiot Aug 14, 2024
a37d385
Merge pull request #770 from cordova-rtc/bug/insertDTMF
hthetiot Aug 14, 2024
bd2a738
Update main.yml
hthetiot Aug 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.{*rc,json}]
indent_style = space
indent_size = 2
19 changes: 19 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": [
"plugin:prettier/recommended"
],
"ignorePatterns": ["www/**/*.js"],
"env": {
"es6": true
},
"rules": {
"indent": [
2,
"tab",
{
"SwitchCase": 1
}
],
"no-with": 2
}
}
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [hthetiot]
custom: ["https://www.paypal.me/hthetiot", sylaps.biz]
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# YOU MUST read first!
Please use [Community Forum](https://github.com/cordova-rtc/cordova-plugin-iosrtc/discussions) for general technical discussions and questions.

- [ ] **I have used Google with the error message** or bug in association with the library and Cordova words to make sure the issue I'm reporting is only related to iOSRTC.
- [ ] **I have provided steps to reproduce** (e.g. using sample app code https://github.com/cordova-rtc/cordova-plugin-iosrtc-sample or updated `extra/renderer-and-libwebrtc-tests.js` file).
- [ ] **I have provided versions** of third party library name, ios, Xcode and plugin version and adapter.js version if used.

**Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed, removing this checkbox will result in automatic closed issue.**

#### Versions affected

* **Cordova version (e.g 7.1.0)**:
* **Cordova iOS version (e.g 5.1.0)**:
* **Plugin version (e.g 6.0.12)**:
* **iOS version (e.g 10.2)**:
* **Xcode version (e.g 11.1 - 11A1027)**:
* **WebRTC-adapter version (e.g. 7.4.0)**:
* **WebRTC Framework version (e.g. JSSip 3.1.2)**:

## Description


## Steps to reproduce


## Expected results


## Actual results
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '29 4 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
66 changes: 66 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# This is a basic workflow to help you get started with Actions

name: Cordova GitHub CI #

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
test:
# The type of runner that the job will run on
runs-on: macOS-12

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Cache Node.js modules
uses: actions/cache@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-

- name: Install Dependencies
run: npm ci

- name: Lint Plugin
run: npm run lint

- name: Build Plugin
run: npm run build

- name: Install Cordova CLI
run: |
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
npm install cordova@10 -g

- name: Create Cordova app, install plugin then build app
run: |
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
cd ..; cordova create myApp org.apache.cordova.myApp myApp; cd myApp;
cordova platform add ios@latest --verbose
cordova plugin add ../cordova-plugin-iosrtc --verbose
cordova build ios --verbose
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/node_modules/
/TODO
/NO_GIT/
.DS_Store
.idea
lib/WebRTC.framework/
7 changes: 0 additions & 7 deletions .jscsrc

This file was deleted.

58 changes: 30 additions & 28 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
{
"bitwise": false,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze": true,
"latedef": "function",
"noarg": true,
"nonbsp": true,
"nonew": true,
"plusplus": false,
"undef": true,
"unused": true,
"strict": false,
"maxparams": 6,
"maxdepth": 4,
"maxstatements": false,
"maxlen": 210,
"bitwise": false,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze": true,
"latedef": "function",
"noarg": true,
"nonbsp": true,
"nonew": true,
"plusplus": false,
"undef": true,
"unused": true,
"strict": false,
"maxparams": 6,
"maxdepth": 4,
"maxstatements": false,
"maxlen": 210,
"laxbreak": true,

"browser": true,
"browserify": true,
"devel": false,
"jquery": false,
"mocha": false,
"node": true,
"shelljs": false,
"worker": false,
"browser": true,
"browserify": true,
"devel": false,
"jquery": false,
"mocha": false,
"node": true,
"shelljs": false,
"worker": false,
"esversion": 6,

"globals": {
"Promise": false
}
"globals": {
"Promise": false
}
}
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100
}
Loading