Skip to content

Commit 380b182

Browse files
committed
nháp
1 parent 05d42b6 commit 380b182

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Python compile check
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
compile:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.11"
18+
19+
- name: Compile Python sources
20+
run: >
21+
python -m compileall
22+
Client.py Server.py ServerWorker.py VideoStream.py RtpPacket.py

Client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def sendRtspRequest(self, requestCode):
106106

107107

108108

109+
109110
def recvRtspReply(self):
110111
"""Receive RTSP reply from the server."""
111112
#TODO

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
if __name__ == "__main__":
2+
print(f'Server Command:' {ping })

0 commit comments

Comments
 (0)