일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 플러터#sms#mms#문자보내기
- flutter#ios#앱개발#마이봇#
- 마이봇#API 설정
- 임대사업자#리걸테크#legaltech#마이봇#챗봇#법률챗봇#임대사업자챗봇#chatgpt#
- 마이봇#아이폰#아이폰심사#IT고시#
- 광동온더그린#프랜즈#가상CC#스크린골프#
- #창작#SNS#스포츠#반려동물#연애#과제#레시피#활동#건강#운세#글쓰기#비즈니스 #AI비서#챗GPT#CHATGPT
- 쇼핑몰관리시스템#매입관리#시트메타#매입채널#엑셀업로드
- 시트메타#관리시스템#테이블연동#품목관리
- fcm#메세지전송#안드로이드메세지#플러터메세지전송
- figma#flutter#dhwise#피그마#플러터#피그마 to 플러터 #figma to flutter
- 펫버틀러#서버연동#프로필등록#로그인서버연동#이미지#동영상#업로드용 화면#앱개발#플러터#반려생활#로딩바#loading bar#
- postgres#vector
- mediasaop#webrtc#미디어서버#
- PDF검색#PDF검색챗봇#NEXTJS#스터디#스타트업#랭체이#langchain#prisma#sqlite#
- 마이봇#문서챗봇#PDF#TEXT#유투브#챗봇만들기#랭체인# langchain#벡터데이터#자료검색#챗GPT#GPT4#챗지피티
- flutter#sqlite#chatGPT#
- ax5#tree#grid#단계별 펼치기# depth #시트메타
- 마이봇#pdf챗봇#상담챗봇#faq챗봇#chatgpt#랭체인#llm
- flutterfire configure#파이어베이스#플러터
- 로우코드#lowcode#erp#관리시스템#시트메이트#시트메타#엑셀업로드#엑셀다운로드#그리드#데이터관리#생산관리시스템#로그관리#히스토리#입력체크
- 커피#그라인더#통돌이 오픈 #로스팅#드립커피#생두#원두
- 로우코드#ERP#관리시스템#상품관리#선택박스#자동화프로그램
- 마이봇#핸드폰대체#
- 마이봇#챗봇
- PDF#챗봇검색#서비스#GPT4#PGT3.5#GPT#랭체인#챗봇#CHATBOT#LLM#문서검색
- 플러터#
- firebase#message#메세지#플러터#안드로이드
- flutter#채팅창@메모창#url링크#날짜추가
- 마이봇#chatgpt#ai#인공지능
- Today
- Total
혼자서 앱 만드는 개발자 함께하는 AI 세상
mediasoup-demo 적용 본문
https://github.com/versatica/mediasoup-demo
\\
$ git clone https://github.com/versatica/mediasoup-demo.git
$ cd mediasoup-demo
$ git checkout v3
$ cd server
$ sudo npm install
$ cp config.example.js config.js
$ cd app
# For node 16
$ sudo npm install
# For node 18, use legacy peer dependencies
$ sudo npm install --legacy-peer-deps
$ cd server
$ npm start
$ npm install -g gulp-cli
$ cd app
$ gulp dist
skpark@skpark-ThinkPad-Edge-E430:~$ cd git
skpark@skpark-ThinkPad-Edge-E430:~/git$ cd mediasoup/mediasoup-demo/
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo$ cd app
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm start
> mediasoup-demo-app@3.0.0 start
> gulp live
sh: 1: gulp: not found
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm install gulp
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^16.0.0" of package "react@>=^16.0.0": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in: /home/skpark/.npm/_logs/2024-03-08T12_42_24_683Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ sudo npm install gulp
[sudo] skpark 암호:
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^16.0.0" of package "react@>=^16.0.0": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-03-08T12_42_37_163Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm install gulp -g
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/lib/node_modules/gulp
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/gulp'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/gulp'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/lib/node_modules/gulp'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: /home/skpark/.npm/_logs/2024-03-08T12_43_06_549Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ sudo npm install gulp -g
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
added 335 packages in 23s
17 packages are looking for funding
run `npm fund` for details
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ sudo npm install gulp-util -g
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
added 59 packages in 3s
1 package is looking for funding
run `npm fund` for details
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ sudo npm install -g gulp-cli
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! code EEXIST
npm ERR! path /usr/bin/gulp
npm ERR! EEXIST: file already exists
npm ERR! File exists: /usr/bin/gulp
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-03-08T12_44_28_799Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm install gulp -g
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/lib/node_modules/gulp
npm ERR! dest /usr/lib/node_modules/.gulp-P2cCRbnI
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/lib/node_modules/gulp' -> '/usr/lib/node_modules/.gulp-P2cCRbnI'
npm ERR! [Error: EACCES: permission denied, rename '/usr/lib/node_modules/gulp' -> '/usr/lib/node_modules/.gulp-P2cCRbnI'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/usr/lib/node_modules/gulp',
npm ERR! dest: '/usr/lib/node_modules/.gulp-P2cCRbnI'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: /home/skpark/.npm/_logs/2024-03-08T12_45_08_159Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm install
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^16.0.0" of package "react@>=^16.0.0": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in: /home/skpark/.npm/_logs/2024-03-08T12_45_20_509Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm start
> mediasoup-demo-app@3.0.0 start
> gulp live
[21:45:31] Local modules not found in ~/git/mediasoup/mediasoup-demo/app
[21:45:31] Try running: npm install
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ sudo npm install
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^16.0.0" of package "react@>=^16.0.0": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-03-08T12_45_42_886Z-debug-0.log
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm i --legacy-peer-deps
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
added 1272 packages, and audited 1273 packages in 3m
116 packages are looking for funding
run `npm fund` for details
20 vulnerabilities (6 moderate, 14 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
skpark@skpark-ThinkPad-Edge-E430:~/git/mediasoup/mediasoup-demo/app$ npm start
> mediasoup-demo-app@3.0.0 start
> gulp live
[21:49:56] NODE_ENV: development
[21:49:56] Using gulpfile ~/git/mediasoup/mediasoup-demo/app/gulpfile.js
[21:49:56] Starting 'live'...
[21:49:56] Starting 'browser:base'...
[21:49:56] Starting 'clean'...
[21:49:56] Finished 'clean' after 14 ms
[21:49:56] Starting 'lint'...
[21:49:59] Finished 'lint' after 3.69 s
[21:49:59] Starting 'bundle:watch'...
[21:50:12] Finished 'bundle:watch' after 13 s
[21:50:12] Starting 'html'...
[21:50:12] Finished 'html' after 8.29 ms
[21:50:12] Starting 'css'...
[21:50:13] Finished 'css' after 1.03 s
[21:50:13] Starting 'resources'...
[21:50:14] Finished 'resources' after 192 ms
[21:50:14] Starting 'watch'...
[21:50:14] Finished 'watch' after 21 ms
[21:50:14] Finished 'browser:base' after 18 s
[21:50:14] Starting '<anonymous>'...
[21:50:14] Finished '<anonymous>' after 55 ms
[21:50:14] Finished 'live' after 18 s
[Browsersync] Access URLs:
----------------------------------------------------
Local: https://localhost:3000/?info=true
External: https://192.168.200.152:3000/?info=true
----------------------------------------------------
UI: http://localhost:3002
UI External: http://localhost:3002
----------------------------------------------------
[Browsersync] Serving files from: ../server/public
[Browsersync] Watching files...
마지막으로 4443 포트를 포워딩 해줘야함
server 쪽 config.js 포트 포워딩 수정
'WEBRTC' 카테고리의 다른 글
pdf 파일 불러와서 canvas 그리기 테스트1 (1) | 2024.03.20 |
---|---|
webrtc 기반의 간단한 웹 기반 오픈 채팅방 구축 하기 (0) | 2023.02.11 |
webrtc 채팅 텍스트 데이터 전송을 위한 datachannel 추가 (0) | 2023.01.09 |
WEBRTC (PHP 웹 적용 구성)- 첫(1)번째 HTML 구성하기 (0) | 2023.01.07 |