Skip to content

Commit

Permalink
v2.5.00 - Change domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
oddengine committed Mar 7, 2023
1 parent 13973fa commit 23ac69a
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Alternatively, this acknowledgement may appear in the software itself,
if and wherever such third-party acknowledgements normally appear.

The logo and context menu must not be removed, hidden or modified, and
the names "oddcancer" and "odd.js" must not be used to endorse or
the names "oddengine" and "odd.js" must not be used to endorse or
promote products derived from this software without specific prior
written permission. For written permission, please contact
spencerlau@qq.com.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# odd.js

> [[domain] https://www.oddcancer.com](https://www.oddcancer.com/product/rtc.html)
> [[source] https://github.com/oddcancer/odd.js](https://github.com/oddcancer/odd.js)
> [[domain] <https://oddengine.com>](https://oddengine.com/product/rtc.html)
> [[source] <https://github.com/oddengine/odd.js>](https://github.com/oddengine/odd.js)
> QQ群:528109813
> Skype: live:670292548
> Email: 670292548@qq.com
This project includes 3 featured SDK, which are an [HTML5 FLV Player](https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.md), a WebSocket based [IM](https://github.com/oddcancer/odd.js/blob/master/doc/odd.im.md), and a [WebRTC SDK](https://github.com/oddcancer/odd.js/blob/master/doc/odd.rtc.md).
This project includes 3 featured SDK, which are an [HTML5 FLV Player](https://github.com/oddengine/odd.js/blob/master/doc/odd.player.md), a WebSocket based [IM](https://github.com/oddengine/odd.js/blob/master/doc/odd.im.md), and a [WebRTC SDK](https://github.com/oddengine/odd.js/blob/master/doc/odd.rtc.md).

## License

BSD 3-Clause License ([NOTICE](https://github.com/oddcancer/odd.js/blob/master/NOTICE))
BSD 3-Clause License ([NOTICE](https://github.com/oddengine/odd.js/blob/master/NOTICE))
8 changes: 4 additions & 4 deletions doc/odd.im.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# odd.im.js

> [[domain] <https://www.oddcancer.com>](https://www.oddcancer.com/product/im.html)
> [[source] <https://github.com/oddcancer/odd.js>](https://github.com/oddcancer/odd.js)
> [[domain] <https://oddengine.com>](https://oddengine.com/product/im.html)
> [[source] <https://github.com/oddengine/odd.js>](https://github.com/oddengine/odd.js)
> QQ群:528109813
> Skype: live:670292548
> Email: 670292548@qq.com
Expand All @@ -23,7 +23,7 @@

## Solutions

- [x] [IM](https://www.oddcancer.com/solution/im.html)
- [x] [IM](https://oddengine.com/solution/im.html)

## Example

Expand Down Expand Up @@ -292,4 +292,4 @@ The API supports Event and NetStatusEvent. All of the API events will be forward

## License

BSD 3-Clause License ([NOTICE](https://github.com/oddcancer/odd.js/blob/master/NOTICE))
BSD 3-Clause License ([NOTICE](https://github.com/oddengine/odd.js/blob/master/NOTICE))
20 changes: 10 additions & 10 deletions doc/odd.player.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# odd.player.js

> [[domain] <https://www.oddcancer.com>](https://www.oddcancer.com/product/player.html)
> [[source] <https://github.com/oddcancer/odd.js>](https://github.com/oddcancer/odd.js)
> [[中文] <https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.zh.md>](https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.zh.md)
> [[domain] <https://oddengine.com>](https://oddengine.com/product/player.html)
> [[source] <https://github.com/oddengine/odd.js>](https://github.com/oddengine/odd.js)
> [[中文] <https://github.com/oddengine/odd.js/blob/master/doc/odd.player.zh.md>](https://github.com/oddengine/odd.js/blob/master/doc/odd.player.zh.md)
> [[CSDN] <https://blog.csdn.net/icysky1989/article/details/75094205>](https://blog.csdn.net/icysky1989/article/details/75094205)
> QQ群:528109813
> Skype: live:670292548
> Email: 670292548@qq.com
This is not only an [HTML5 FLV Player](https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.md#roadmap), which supports HTTP/WS-FLV live streaming, but also supports HTTP/WS-fMP4, MPEG-DASH, HLS and other Original HTML5 Media Resources (eg. Ogg, Mpeg4, WebM), with an independent UI framework.
This is not only an [HTML5 FLV Player](https://github.com/oddengine/odd.js/blob/master/doc/odd.player.md#roadmap), which supports HTTP/WS-FLV live streaming, but also supports HTTP/WS-fMP4, MPEG-DASH, HLS and other Original HTML5 Media Resources (eg. Ogg, Mpeg4, WebM), with an independent UI framework.

Note:

Expand Down Expand Up @@ -78,8 +78,8 @@ If you are interested in this player, and or solutions about live media streamin

## Solutions

- [x] [Live Broadcast](https://www.oddcancer.com/solution/live.html)
- [x] [VoD](https://www.oddcancer.com/solution/vod.html)
- [x] [Live Broadcast](https://oddengine.com/solution/live.html)
- [x] [VoD](https://oddengine.com/solution/vod.html)

## Example

Expand Down Expand Up @@ -284,8 +284,8 @@ function onReady(e) {
visibility: true,
}, {
kind: 'Logo',
file: 'https://www.oddcancer.com/image/odd-player-logo.png',
link: 'https://www.oddcancer.com/product/player.html',
file: 'https://oddengine.com/image/odd-player-logo.png',
link: 'https://oddengine.com/product/player.html',
cors: 'anonymous', // anonymous, use-credentials
target: '_blank',
style: 'margin: 3% 5%; width: 36px; height: 36px; top: 0px; right: 0px;',
Expand All @@ -303,7 +303,7 @@ function onReady(e) {
icon: 'image/github.png',
text: 'github.com',
shortcut: '',
handler: function () { window.open('https://www.oddcancer.com/product/player.html'); },
handler: function () { window.open('https://oddengine.com/product/player.html'); },
}],
}]
};
Expand Down Expand Up @@ -462,4 +462,4 @@ The API supports Event and IOEvent. All of the API events will be forward to UI.

## License

BSD 3-Clause License ([NOTICE](https://github.com/oddcancer/odd.js/blob/master/NOTICE))
BSD 3-Clause License ([NOTICE](https://github.com/oddengine/odd.js/blob/master/NOTICE))
20 changes: 10 additions & 10 deletions doc/odd.player.zh.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# odd.player.js

> [[官网] <https://www.oddcancer.com>](https://www.oddcancer.com/product/player.html)
> [[源码] <https://github.com/oddcancer/odd.js>](https://github.com/oddcancer/odd.js)
> [[English] <https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.md>](https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.md)
> [[官网] <https://oddengine.com>](https://oddengine.com/product/player.html)
> [[源码] <https://github.com/oddengine/odd.js>](https://github.com/oddengine/odd.js)
> [[English] <https://github.com/oddengine/odd.js/blob/master/doc/odd.player.md>](https://github.com/oddengine/odd.js/blob/master/doc/odd.player.md)
> [[CSDN] <https://blog.csdn.net/icysky1989/article/details/75094205>](https://blog.csdn.net/icysky1989/article/details/75094205)
> QQ群:528109813
> Skype: live:670292548
> 邮箱: 670292548@qq.com
这不仅只是一个支持 HTTP/WS-FLV 直播流的 [HTML5 FLV Player](https://github.com/oddcancer/odd.js/blob/master/doc/odd.player.md#roadmap),同时也支持 HTTP/WS-fMP4、MPEG-DASH、HLS,以及其它 HTML5 原生支持的媒体资源(如 Ogg、Mpeg4、WebM),并拥有一套独立的 UI 框架。
这不仅只是一个支持 HTTP/WS-FLV 直播流的 [HTML5 FLV Player](https://github.com/oddengine/odd.js/blob/master/doc/odd.player.md#roadmap),同时也支持 HTTP/WS-fMP4、MPEG-DASH、HLS,以及其它 HTML5 原生支持的媒体资源(如 Ogg、Mpeg4、WebM),并拥有一套独立的 UI 框架。

注:

Expand Down Expand Up @@ -78,8 +78,8 @@ UI 框架采用事件驱动和独立的构建方式,设计为可扩展的多

## 解决方案

- [x] [直播](https://www.oddcancer.com/solution/live.html)
- [x] [点播](https://www.oddcancer.com/solution/vod.html)
- [x] [直播](https://oddengine.com/solution/live.html)
- [x] [点播](https://oddengine.com/solution/vod.html)

## 示例

Expand Down Expand Up @@ -284,8 +284,8 @@ function onReady(e) {
visibility: true,
}, {
kind: 'Logo',
file: 'https://www.oddcancer.com/image/odd-player-logo.png',
link: 'https://www.oddcancer.com/product/player.html',
file: 'https://oddengine.com/image/odd-player-logo.png',
link: 'https://oddengine.com/product/player.html',
cors: 'anonymous', // anonymous, use-credentials
target: '_blank',
style: 'margin: 3% 5%; width: 36px; height: 36px; top: 0px; right: 0px;',
Expand All @@ -303,7 +303,7 @@ function onReady(e) {
icon: 'image/github.png',
text: 'github.com',
shortcut: '',
handler: function () { window.open('https://www.oddcancer.com/product/player.html'); },
handler: function () { window.open('https://oddengine.com/product/player.html'); },
}],
}]
};
Expand Down Expand Up @@ -462,4 +462,4 @@ API 实例支持 Event 和 IOEvent 事件。所有 API 事件都会投递给对

## License

BSD 3-Clause License ([NOTICE](https://github.com/oddcancer/odd.js/blob/master/NOTICE))
BSD 3-Clause License ([NOTICE](https://github.com/oddengine/odd.js/blob/master/NOTICE))
10 changes: 5 additions & 5 deletions doc/odd.rtc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# odd.rtc.js

> [[domain] <https://www.oddcancer.com>](https://www.oddcancer.com/product/rtc.html)
> [[source] <https://github.com/oddcancer/odd.js>](https://github.com/oddcancer/odd.js)
> [[domain] <https://oddengine.com>](https://oddengine.com/product/rtc.html)
> [[source] <https://github.com/oddengine/odd.js>](https://github.com/oddengine/odd.js)
> QQ群:528109813
> Skype: live:670292548
> Email: 670292548@qq.com
Expand All @@ -27,8 +27,8 @@

## Solutions

- [x] [WebRTC Demo](https://www.oddcancer.com/solution/interactive.html)
- [x] [Video Conference](https://www.oddcancer.com/solution/conference.html)
- [x] [WebRTC Demo](https://oddengine.com/solution/interactive.html)
- [x] [Video Conference](https://oddengine.com/solution/conference.html)

## Configuration

Expand Down Expand Up @@ -142,4 +142,4 @@ The API supports Event and NetStatusEvent.

## License

BSD 3-Clause License ([NOTICE](https://github.com/oddcancer/odd.js/blob/master/NOTICE))
BSD 3-Clause License ([NOTICE](https://github.com/oddengine/odd.js/blob/master/NOTICE))
2 changes: 1 addition & 1 deletion example/im/css/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Domain: oddcancer.com
* Domain: oddengine.com
* Author: Spencer Lau
*/

Expand Down
2 changes: 1 addition & 1 deletion example/player/css/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Domain: oddcancer.com
* Domain: oddengine.com
* Author: Spencer Lau
*/

Expand Down
6 changes: 3 additions & 3 deletions example/player/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<div class='pe-ad'></div>
<div class='pe-share'></div>
<div class='pe-logo' style='margin: 3% 5%; top: 0px; right: 0px; width: 36px; height: 36px; visibility: visible;'>
<a href="https://www.oddcancer.com/product/player.html" target="_blank" style="background: url(image/logo.png);"></a>
<a href="https://oddengine.com/product/player.html" target="_blank" style="background: url(image/logo.png);"></a>
</div>
<div class='pe-controlbar' style='display: block;'>
<div>
Expand Down Expand Up @@ -236,7 +236,7 @@
<tr class='pe-contextmenu-item featured'>
<td>
<span class='pe-contextmenu-item-icon'>
<a style='background-image: url(https://www.oddcancer.com/image/odd-player-logo.png);'></a>
<a style='background-image: url(https://oddengine.com/image/odd-player-logo.png);'></a>
</span>
</td>
<td><span class='pe-contextmenu-item-text'>odd.js/2.0.00</span></td>
Expand All @@ -248,7 +248,7 @@
</div>
<div class='input-container' style='width: 100%; max-width: 640px;'>
<span>
<input id='url' autocapitalize='off' value='https://www.oddcancer.com/vod/sample.flv'>
<input id='url' autocapitalize='off' value='https://oddengine.com/vod/sample.flv'>
</span>
<a class='btn red' onclick='onPlayClick();'>Play</a>
</div>
Expand Down
10 changes: 5 additions & 5 deletions example/player/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ui.setup(player, {
// file: 'ws://192.168.0.117/live/_definst_/abc.flv',
// file: 'http://192.168.0.117/live/_definst_/abc/index.m3u8',
// file: 'http://stream.xthktech.cn:8081/live/_definst_/abc.flv',
// file: 'https://www.oddcancer.com/live/_definst_/abc.flv',
// file: 'https://oddengine.com/live/_definst_/abc.flv',
lowlatency: true, // ll-dash, ll-hls, ll-flv/fmp4 (auto reduce latency due to cumulative ack of tcp)
maxBufferLength: 1.5, // sec.
maxRetries: 0, // maximum number of retries while some types of error occurs. -1 means always
Expand All @@ -68,20 +68,20 @@ ui.setup(player, {
enable: true,
},
sources: [{
file: 'https://www.oddcancer.com/live/_definst_/abc.flv',
file: 'https://oddengine.com/live/_definst_/abc.flv',
module: 'FLV',
label: 'http-flv',
default: true,
}, {
file: 'wss://www.oddcancer.com/live/_definst_/abc',
file: 'wss://oddengine.com/live/_definst_/abc',
module: 'FMP4',
label: 'ws-fmp4',
}, {
file: 'rtc://www.oddcancer.com/im?name=abc',
file: 'rtc://oddengine.com/im?name=abc',
module: 'RTC',
label: 'rtc',
}, {
file: 'https://www.oddcancer.com/live/_definst_/abc/index.m3u8',
file: 'https://oddengine.com/live/_definst_/abc/index.m3u8',
module: 'SRC',
label: 'hls',
}],
Expand Down
2 changes: 1 addition & 1 deletion example/rtc/css/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Domain: oddcancer.com
* Domain: oddengine.com
* Author: Spencer Lau
*/

Expand Down
2 changes: 1 addition & 1 deletion example/rtc/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function onLeaveClick(e) {
im.leave(in_room.value);
}

var rtc = odd.rtc.create(im.client(), { mode: 'feedback', url: 'https://fc.oddcancer.com/rtc/log', interval: 60 });
var rtc = odd.rtc.create(im.client(), { mode: 'feedback', url: 'https://fc.oddengine.com/rtc/log', interval: 60 });
rtc.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
rtc.addEventListener(Event.CLOSE, onClose);
rtc.setup({
Expand Down
2 changes: 1 addition & 1 deletion src/odd.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
odd = function () {
return {
version: '2.4.32',
version: '2.5.00',
};
};

2 changes: 1 addition & 1 deletion src/player/module/module.rtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

_this.setup = function () {
if (_ready === false) {
_rtc = odd.rtc.create(_this.config.client, { mode: 'feedback', url: 'https://fc.oddcancer.com/rtc/log', interval: 60 });
_rtc = odd.rtc.create(_this.config.client, { mode: 'feedback', url: 'https://fc.oddengine.com/rtc/log', interval: 60 });
_rtc.addEventListener(NetStatusEvent.NET_STATUS, _onStatus);
_rtc.addEventListener(Event.CLOSE, _onClose);
_rtc.setup(_this.config.rtc).then(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/player/ui/ui.chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
_this.config = config;
_this.constraints = utils.extendz({}, Constraints[_this.config.profile || '180P_1']);

_this.rtc = odd.rtc.create(_this.config.client, { mode: 'feedback', url: 'https://fc.oddcancer.com/rtc/log', interval: 60 });
_this.rtc = odd.rtc.create(_this.config.client, { mode: 'feedback', url: 'https://fc.oddengine.com/rtc/log', interval: 60 });
_this.rtc.addEventListener(NetStatusEvent.NET_STATUS, _onStatus);
_this.rtc.addEventListener(Event.CLOSE, _onClose);
_this.rtc.setup(_this.config.rtc);
Expand Down
2 changes: 1 addition & 1 deletion src/player/ui/ui.contextmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA2UExURebm5ubm5ubm5ubm5ubm5ubm5ubm5kxpcebm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5rnvS8UAAAASdFJOU/9GGpAEVa0AOw0vovB5tnDaudiwhIIAAACiSURBVBjTXZHbAsQQDERDkQS97P//7GaibLfzgJxgIoiHVHIWvQPysRZylbpg2mhpSwOmgx46kkPf10KMoflewGqLLsNBugXVIDxuZhRuTGrJZmHIXhBuUEIuMC7pJ3I4R9nGyHzCY2eONmWHesMyoQyI3BXncRgZ1M+16zJCSbMRqyT4LriKt2calP9nWkMM7q+GcEo/OFvnGrDIo/Ov7/gCDPoHpWEsixcAAAAASUVORK5CYII=',
text: 'odd.js/' + odd().version,
shortcut: '',
handler: function () { window.open('https://www.oddcancer.com/product/player.html'); },
handler: function () { window.open('https://oddengine.com/product/player.html'); },
}].concat(utils.typeOf(config.items) === 'array' ? config.items : []);

if (Browser.flash) {
Expand Down
4 changes: 2 additions & 2 deletions src/player/ui/ui.logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

_default = {
kind: 'Logo',
file: 'https://www.oddcancer.com/image/odd-player-logo.png',
link: 'https://www.oddcancer.com/product/player.html',
file: 'https://oddengine.com/image/odd-player-logo.png',
link: 'https://oddengine.com/product/player.html',
cors: 'anonymous', // anonymous, use-credentials
target: '_blank',
style: 'margin: 3% 5%; width: 36px; height: 36px; top: 0px; right: 0px;',
Expand Down

0 comments on commit 23ac69a

Please sign in to comment.