bugfix
This commit is contained in:
parent
edfcdee560
commit
887dfbe728
@ -7,6 +7,7 @@ from faster_whisper import WhisperModel
|
|||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
from appPublic.dictObject import DictObject
|
from appPublic.dictObject import DictObject
|
||||||
|
from appPublic.hf import hf_socks5proxy
|
||||||
from aiortc import MediaStreamTrack, RTCPeerConnection, RTCSessionDescription, RTCIceCandidate
|
from aiortc import MediaStreamTrack, RTCPeerConnection, RTCSessionDescription, RTCIceCandidate
|
||||||
from aiortc.sdp import candidate_from_sdp, candidate_to_sdp
|
from aiortc.sdp import candidate_from_sdp, candidate_to_sdp
|
||||||
from aiortc.contrib.media import MediaBlackhole, MediaPlayer, MediaRecorder, MediaRelay
|
from aiortc.contrib.media import MediaBlackhole, MediaPlayer, MediaRecorder, MediaRelay
|
||||||
@ -210,6 +211,7 @@ class RTCLLM:
|
|||||||
}
|
}
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
|
hf_socks5proxy()
|
||||||
agent = RTCLLM(ws_url='wss://sage.opencomputing.cn/wss/ws/rtc_signaling.ws',
|
agent = RTCLLM(ws_url='wss://sage.opencomputing.cn/wss/ws/rtc_signaling.ws',
|
||||||
iceServers=[{
|
iceServers=[{
|
||||||
'urls':'stun:stun.opencomputing.cn'},{
|
'urls':'stun:stun.opencomputing.cn'},{
|
||||||
|
Loading…
Reference in New Issue
Block a user