You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# P2P Network Communication - Client Module
"""
客户端模块运行在Windows系统上
提供用户界面和P2P通信功能
"""
__version__ = "0.1.0"
from client.connection_manager import (
ConnectionManager,
ConnectionState,
ConnectionError,
ReconnectionError,
Connection,
StateChangeCallback,
MessageReceivedCallback,
)
from client.file_transfer import (
FileTransferModule,
FileTransferError,
FileNotFoundError,
FileIntegrityError,
TransferCancelledError,
TransferState,
ProgressCallback,
)
from client.media_player import (
MediaPlayer,
AudioPlayer,
VideoPlayer,
MediaType,
PlaybackState,
AudioFormat,
VideoFormat,
MediaInfo,
MediaPlayerError,
MediaNotFoundError,
UnsupportedMediaFormatError,
PlaybackError,
MediaLoadError,
)
from client.voice_chat import (
VoiceChatModule,
CallState,
VoiceChatError,
AudioDeviceError,
CallError,
AudioConfig,
CallInfo,
NetworkStats,
JitterBuffer,
AudioCapture,
AudioPlayback,
AudioEncoder,
AudioDecoder,
CallStateCallback,
IncomingCallCallback,
)