alexeyvasilyev / rtsp-client-android

Lightweight low-latency RTSP client library for Android
Apache License 2.0
245 stars 67 forks source link

Rtsp using transport udp #52

Open OctavianIonel opened 2 years ago

OctavianIonel commented 2 years ago

Hello @alexeyvasilyev @jpage4500 @dstukalov @Fruchtzwerg94 @asmaamirkhan, Is it possible to change the setup command to have udp instead of tcp?

Transport: RTP/AVP;unicast;client_port=4588-4589

I removed interleaved and added client_port but seems there are issues reading the data (mainly in RtspClient::readRtpData). Also which values to use for the client port? Thanks for your help.

OctavianIonel commented 2 years ago

hi @alexeyvasilyev any suggestion how to change the readRtpData() method for reading the stream over UDP?

alexeyvasilyev commented 1 year ago

Currently library designed with TCP only.