iamscottxu/obs-rtspserver

Stream is only multicast in 2.2

weiserhei opened this issue · 2 comments

Hello,
I installed the plugin today and there seems to be bug regarding the new multicast feature.

The latest release outputs multicast only, disabling enable Multicast-Checkbox is ignored. I noticed this because just clients in my LAN were able to consume the stream. Clients connected via VPN couldnt access. I attached two TCP Dumps I got on the VPN client (2.1 success, 2.2 failed):

TCP Dump using release 2.1, without multicast-feature:

13:38:58.748806 IP (tos 0x0, ttl 64, id 44403, offset 0, flags [DF], proto TCP (6), length 40)
    xxx.43168 > 10.x.x.x.rtsp: Flags [.], cksum 0x16f3 (incorrect -> 0xf7fb), seq 444, ack 707, win 501, length 0
13:38:58.749202 IP (tos 0x0, ttl 64, id 44404, offset 0, flags [DF], proto TCP (6), length 233)
    xxx.43168 > 10.x.x.x.rtsp: Flags [P.], cksum 0x17b4 (incorrect -> 0x6efd), seq 444:637, ack 707, win 501, length 193: RTSP, length: 193
  SETUP rtsp://10.x.x.x:554/live/track1 RTSP/1.0
  CSeq: 5
  User-Agent: LibVLC/3.0.9.2 (LIVE555 Streaming Media v2020.01.19)
  Transport: RTP/AVP;unicast;client_port=56150-56151
  Session: 44928

TCP Dump using release 2.2, multicast disabled:

13:31:11.203334 IP (tos 0x0, ttl 124, id 30566, offset 0, flags [DF], proto TCP (6), length 168)
    10.x.x.x.rtsp > xxx.43058: Flags [P.], cksum 0xa22e (correct), seq 1260:1388, ack 1870, win 1025, length 128: RTSP, length: 128
  RTSP/1.0 200 OK
  CSeq: 9
  Transport: RTP/AVP;multicast;destination=232.166.3.240;source=;port=3171-0;ttl=255
  Session: 60208

Think this is the same problem #105