Slahuddin-Ch / WebRTC_streaming

python scripts to stream video from 1 laptop to another
6 stars 1 forks source link

Cannot recieve frame at line: frame = await track.recv() #1

Open HoangTienDuc opened 9 months ago

HoangTienDuc commented 9 months ago

Hi @Slahuddin-Ch , Your code is awesome, i tried to run it by myself, i followed your READme with three step: Step 1: python3 signaling_server.py Step 2: python3 webrtc_stream_publisher.py Step3: python3 reciever

The two [publisher and reicerver] are meet each other, but cannot get frame from VideoStreamFromPort(VideoStreamTrack)->recv. Can you pls help?

Slahuddin-Ch commented 9 months ago

check if you can see the video on the url, for testing you can run the stream url in vlc player. please also share your stream url. you might have to adjust the url to get stream data.

HoangTienDuc commented 9 months ago

Hi Slahuddin-Ch/WebRTC_streaming, the rtsp stream is worked fine on vlc. The cv2.VideoCapture is also can read the frame from rtsp.

The rtsp stream: rtsp://192.168.1.34:8554/test_stream

The ws ip is changed to 0.0.0.0.

Cheers, Tien-Duc Hoang

On Tue, 16 Jan 2024 at 18:14 Slahuddin Chaudhary @.***> wrote:

check if you can see the video on the url, for testing you can run the stream url in vlc player. please also share your stream url. you might have to adjust the url to get stream data.

— Reply to this email directly, view it on GitHub https://github.com/Slahuddin-Ch/WebRTC_streaming/issues/1#issuecomment-1893537015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWDRMRHVDKE224WZKHCINLYOZOIXAVCNFSM6AAAAABB4NIC4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGUZTOMBRGU . You are receiving this because you authored the thread.Message ID: @.***>