Skip to content

Assignment 1 - Computer Network (CO3094) - Semester 211 - HCMUT

Notifications You must be signed in to change notification settings

toanvo4121/CSE-VideoStreamingApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

VIETNAM NATIONAL UNIVERSITY, HO CHI MINH CITY
UNIVERSITY OF TECHNOLOGY
FACULTY OF COMPUTER SCIENCE AND ENGINEERING

N|Solid



Computer Network / Semester 211
Group 1

Project: VIDEO STREAMING APPLICATION

Team members

No. Name Student ID Email Contact
1 Võ Minh Toàn 1915570 toan.vo4121@gmail.com
2 Đặng Hùng Cường 1912817 cuong.danghcmut@hcmut.edu.vn
3 Nguyễn Đình Hiếu 1913341 hieu.nguyen190125@hcmut.edu.vn
4 Nguyễn Hải Linh 1913944 linh.nguyen1505@hcmut.edu.vn

Requirements

Đề bài được mô tả chi tiết trong file <HK1_2122_VideoStreamingApplication_Assig1.pdf>

Languages & Tools

Specification

Description

  • Client.launcher: Khởi chạy Client và giao diện application nơi ta gửi RTSP request và dùng để xem video
  • Client: Hiện thực các button SETUP, PLAY, PAUSE, TEARDOWN cho application, giao tiếp với Server thông qua giao thức RTSP
  • Client2: Tương tự như Client nhưng thêm các chức năng Extend như: DESCRIBE, STOP, thể hiện total time và remaining time của video, FORWARD, BACKWARD, tính toán các chỉ số gói tin.
  • Server: Khởi tạo Server
  • ServerWorker: Xử lý các Request từ Client gửi đến và phản hồi lại
  • RTPPacket: Xử lý gói tin RTP
  • VideoStream: Bao gồm các thông tin về video stream từ phía server tới client và xử lý video stream

How to run

  • Đầu tiên, khởi chạy Server với command sau:
python Server.py <server_port>

với <server_port> là port để Server thiết lập RTSP connections. Port RTSP tiêu chuẩn là 554 nhưng trong Assignment này, ta cần dùng port lớn hơn 1024

  • Sau đó, tạo một cửa sổ terminal mới và khởi chạy Client với command sau:
python ClientLauncher.py <server_host> <server_port> <rtp_port> <video_file>

với <server_host> là địa chỉ IP của máy chạy Server, <server_port> trùng với command trước đó, <rtp_port> là port nhận RTP_packet, <video_file> là tên file video ta muốn xem (ví dụ trong Project là file movie.Mjpeg)

Report

Báo cáo chi tiết project ở file <Report Assignment 1.pdf>

Nếu bạn muốn tham khảo thêm Assignment 2 có thể vào link sau 
<https://drive.google.com/drive/folders/1qASj_nUW76tCsfbdj1f0kfRRGVmulxYS?usp=sharing>

Releases

No releases published

Packages

No packages published

Languages