Skip to content

Commit f5a52da

Browse files
committed
Test and fix ptz controls methods
1 parent cb3a091 commit f5a52da

File tree

7 files changed

+213
-87
lines changed

7 files changed

+213
-87
lines changed

.github/workflows/publish-snapshot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- run: npm run compile
2424
- run: npm test
2525
#Fix this versioning for the snapshots
26-
- run: npm version 2.8.3-SNAPSHOT"-`date +"%Y-%b-%d-%I-%M"`" --no-git-tag-version
26+
- run: npm version 2.9.1-SNAPSHOT"-`date +"%Y-%b-%d-%I-%M"`" --no-git-tag-version
2727
- run: npm publish --tag SNAPSHOT
2828
env:
2929
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package-lock.json

+76-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antmedia/web_player",
3-
"version": "2.8.2",
3+
"version": "2.9.1-SNAPSHOT",
44
"description": "Ant Media Server Player that can play WebRTC, HLS, DASH",
55
"main": "dist/index.js",
66
"module": "dist/es/index.js",
@@ -30,7 +30,7 @@
3030
"license": "ISC",
3131
"dependencies": {
3232
"@antmedia/videojs-webrtc-plugin": "^1.2.1",
33-
"@antmedia/webrtc_adaptor": "2.8.0-SNAPSHOT",
33+
"@antmedia/webrtc_adaptor": "2.9.1-SNAPSHOT-2024-May-17-12-21",
3434
"aframe": "1.2.0",
3535
"dashjs": "^4.5.2",
3636
"rimraf": "^5.0.5",
@@ -44,6 +44,7 @@
4444
"@microsoft/api-extractor": "^7.36.1",
4545
"@rollup/plugin-babel": "^6.0.3",
4646
"@rollup/plugin-commonjs": "^25.0.7",
47+
"@rollup/plugin-image": "^3.0.3",
4748
"@rollup/plugin-node-resolve": "^15.2.3",
4849
"@rollup/plugin-terser": "^0.4.4",
4950
"chai": "^4.3.7",

rollup.config.browser.cjs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
const babel = require('@rollup/plugin-babel').default;
3+
const image = require('@rollup/plugin-image').default;
34

45
const builds = {
56
input: [ 'src/index.js'],
@@ -9,7 +10,11 @@ const builds = {
910
format: 'umd'
1011
},
1112
],
12-
plugins: [babel({ babelHelpers: 'bundled' })]
13+
plugins: [babel({ babelHelpers: 'bundled' }),
14+
image({
15+
dom:true
16+
})
17+
]
1318

1419
};
1520

rollup.config.module.cjs

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ const commonjs = require('@rollup/plugin-commonjs').default;
55
const css = require("rollup-plugin-import-css");
66
const replace = require('rollup-plugin-replace');
77
const terser = require('@rollup/plugin-terser');
8+
const image = require('@rollup/plugin-image');
89

910
const builds = {
1011
input: [
1112
'src/index.js',
12-
'src/web_player.js'
13-
],
13+
'src/web_player.js'
14+
],
1415
output: [{
1516
dir: 'dist',
1617
format: 'cjs'
@@ -25,6 +26,9 @@ const builds = {
2526
nodeResolve(),
2627
commonjs(),
2728
css(),
29+
image({
30+
dom:true
31+
}),
2832
replace({
2933
ENV: JSON.stringify(process.env.NODE_ENV || 'development'),
3034
}),

src/icons/images.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import UpArrow from './up-arrow.png';
2+
3+
export { UpArrow };

0 commit comments

Comments
 (0)