일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 명령어
- corsmiddleware
- stash
- kubernetes
- 쿠버네티스
- JavaScript
- Dockerfile
- minikube
- 자바스크립트
- 리눅스
- 위코드
- 미니큐브
- 기초
- 독스트링
- RTCP
- onicecandidate
- 6.6.0
- Docker Compose
- Python
- fastapi
- 표준에러
- 도커
- kurento
- 파이썬
- underscore
- revert
- docstring
- 7.0.0
- Docker
- 표준출력
- Today
- Total
Devlog
SyntaxError: WebRtcEndpoint doesn't accept events of type 'OnIceCandidate' 본문
SyntaxError: WebRtcEndpoint doesn't accept events of type 'OnIceCandidate'
ehdrb92 2023. 8. 8. 11:52Kurento 미디어 서버를 이용하여 WebRTC 그룹 화상 통화하는 기능을 만들기 위해 깃허브에 오픈소스로 공개되어 있는 코드를 참고하여 사용하는 중이었다.
https://github.com/chapin666/kurento-group-call-node
GitHub - chapin666/kurento-group-call-node: kurento group call server
kurento group call server. Contribute to chapin666/kurento-group-call-node development by creating an account on GitHub.
github.com
그런데 해당 코드에서는 kurento-client 6.6.0 버전을 사용하여 구현된 코드였고, 이를 최신 버전인 7.0.0으로 사용하기 위해 변경 후 서버를 실행시켜 테스트를 하는 중 에러를 마주치게 되었다.

에러 메시지는 WebRtcEndpoint에서 OnIceCandidate를 지원하지 않는다는 것이었다.
그래서 Kurento release 문서를 찾아본 결과 6.15.0 버전에서 다음과 같은 내용을 확인할 수 있었다.

https://doc-kurento.readthedocs.io/en/latest/project/relnotes/v6_15_0.html
6.15.0 (November 2020) — Kurento 7.0-dev documentation
<!-- "admonition" is the class of Warning messages with the current RTD theme. Obtained by directly checking the HTML sources of an already existing block. --> Warning Kurento is a low-level platform to create WebRTC applications from scratch. You will be
doc-kurento.readthedocs.io
OnIceCandidate 이벤트가 IceCandidateFound 이벤트로 대체되었다는 점을 알 수 있다.
OnIceCandidate 이벤트를 받는 부분을 IceCandidateFound 코드로 대체하면 문제 해결완료!
'기타' 카테고리의 다른 글
ICE_GATHER_CANDIDATES_ERROR (1) | 2023.08.11 |
---|---|
잊어버리기 쉬운 깃 명령어 정리 (0) | 2023.02.27 |