File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
examples/selective_subscription Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11from contextlib import asynccontextmanager
22
33import uvicorn
4+
45from selective_subscription .app import app , room_service
56from selective_subscription .config import HOST , PORT
67from selective_subscription .notification_handler import NotificationHandler
Original file line number Diff line number Diff line change 1- from .config import FISHJAM_ID , FISHJAM_TOKEN
2- from .room_service import RoomService
31from fishjam ._ws_notifier import FishjamNotifier
42from fishjam .events import (
5- ServerMessagePeerType ,
63 ServerMessagePeerConnected ,
74 ServerMessagePeerDisconnected ,
5+ ServerMessagePeerType ,
86 ServerMessageTrackAdded ,
97 ServerMessageTrackRemoved ,
108)
119from fishjam .events .allowed_notifications import AllowedNotification
1210
11+ from .config import FISHJAM_ID , FISHJAM_TOKEN
12+ from .room_service import RoomService
13+
1314
1415class NotificationHandler :
1516 def __init__ (self , room_service : RoomService ):
Original file line number Diff line number Diff line change 4141 RoomDetailsResponse ,
4242 RoomsListingResponse ,
4343 StreamerToken ,
44- ViewerToken ,
4544 SubscribeTracksBody ,
45+ ViewerToken ,
4646)
4747from fishjam ._openapi_client .types import UNSET
4848from fishjam .agent import Agent
You can’t perform that action at this time.
0 commit comments