File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1111fishjam_address , room = room_api .create_room (
1212 video_codec = "h264" , webhook_url = "http://localhost:5000/webhook"
1313)
14- print (( fishjam_address , room ) )
14+ print (f"Fishjam address: { fishjam_address } \n Room: \n \t { room } \n " )
1515
1616# Add peer to the room
17- result = room_api .add_peer (room .id , options = PeerOptionsWebRTC ())
18- print ((result .token , result .peer , result .peer_websocket_url ))
17+ response = room_api .add_peer (room .id , options = PeerOptionsWebRTC ())
18+ print (
19+ f"Websocket URL: { response .peer_websocket_url } \n Peer token: \n \t { response .token } \n "
20+ f"Peer: \n \t { response .peer } \n "
21+ )
1922
2023# Add component to the room
2124component_hls = room_api .add_component (room .id , options = ComponentOptionsHLS ())
22- print (component_hls )
25+ print (f"Component HLS: \n \t { component_hls } " )
You can’t perform that action at this time.
0 commit comments