Skip to content

Commit

Permalink
fixes issues 65 and 66 (#68)
Browse files Browse the repository at this point in the history
* fixes issues 65 and 66

* Removes src/README.md

Applies to
aiortc.version
'1.6.0'
av.version
'11.0.0'

---------

Co-authored-by: James Thornton <[email protected]>
  • Loading branch information
espeed and jamesthornton authored Jan 31, 2024
1 parent a62e401 commit d5e5c6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/peerjs/peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# from websockets import WebSocket, ConnectionClosed
import asyncio
import logging
from dataclasses import dataclass
from dataclasses import dataclass, field
from typing import Any, List
import traceback

Expand Down Expand Up @@ -49,7 +49,7 @@ class PeerOptions:
path: str = "/"
key: str = PEER_DEFAULT_KEY
token: str = None
config: Any = util.defaultConfig
config: Any = field(default_factory=lambda: util.defaultConfig)
secure: bool = False
pingInterval: int = 5 # ping to signaling server in seconds

Expand Down
2 changes: 1 addition & 1 deletion src/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers =
packages = find_namespace:
python_requires = >=3.7
install_requires =
av>=8.0,<10.1
av>=8.0
aiortc>=0.9
websockets>=8.1
aiohttp>=3.6
Expand Down

0 comments on commit d5e5c6f

Please sign in to comment.