bind failed: Address already in use when view live stream on same machine as ffmpeg
Have a weird issue.

I am running Homebridge on my local mac mini, as well as ffmpeg, etc.

The still image always works, however if I view the live stream it doesn't work in the home app on my mac mini.  The stream does work on my phone, ipad, apple tv and even watch.  I can also use VLC to view the stream from the mini.

When I try to view the live stream via the home app on the mac mini it never starts and looking in the logs I see an error about an address already in use.  It looks like its writing something out to the the homebridge local ip address:port and then tries to play the file to the same address:port and this is where the error happens.

On a successful view the device ip:port is different so it works.

```
[6/11/2020, 8:40:55 AM] [Camera ffmpeg] Snapshot from OfficeCam at 480:270
ffmpeg -rtsp_transport tcp -i rtsp://xxxxxx:xxxxxx@192.168.1.32/live -vframes 1 -r 1 -t 1 -f image2 -
[6/11/2020, 8:41:00 AM] [Camera ffmpeg] Start streaming video from OfficeCam with 1280:720@15fps (299kBit)
/usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://xxxxxx:xxxxx@192.168.1.32/live -map 0:0 -vcodec copy -pix_fmt yuv420p -r 15 -f rawvideo -fflags +genpts+discardcorrupt -protocol_whitelist https,crypto,srtp,rtp,udp -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 3564758 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params LdwvgSX/7k8jyfdbqDswv8wKPTMwdPD7f/k8u9kX srtp://192.168.1.3:55859?rtcpport=55859&localrtcpport=55859&pkt_size=1316 -loglevel debug
ffmpeg version v0.0.5 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.3 (clang-1103.0.32.59)
  configuration: --enable-videotoolbox --pkgconfigdir=/Users/runner/runners/2.262.1/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace/lib/pkgconfig --prefix=/Users/runner/runners/2.262.1/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace --pkg-config-flags=--static --extra-cflags=-I/Users/runner/runners/2.262.1/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace/include --extra-ldflags=-L/Users/runner/runners/2.262.1/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100

  libpostproc    55.  5.100 / 55.  5.100
Splitting the commandline.
Reading option '-rtsp_transport' ...
 matched as AVOption 'rtsp_transport' with argument 'tcp'.
Reading option '-i' ... matched as input url with argument 'rtsp://xxxx:xxxxx@192.168.1.32/live'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '15'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-fflags' ...
 matched as AVOption 'fflags' with argument '+genpts+discardcorrupt'.
Reading option '-protocol_whitelist' ...
 matched as AVOption 'protocol_whitelist' with argument 'https,crypto,srtp,rtp,udp'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '299k'.
Reading option '-bufsize' ...
 matched as AVOption 'bufsize' with argument '299k'.
Reading option '-maxrate' ...
 matched as AVOption 'maxrate' with argument '299k'.
Reading option '-payload_type' ...
 matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
 matched as AVOption 'ssrc' with argument '3564758'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
 matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
 matched as AVOption 'srtp_out_params' with argument 'LdwvgSX/7k8jyfdbqDswv8wKPTMwdPD7f/k8u9kX'.
Reading option 'srtp://192.168.1.3:55859?rtcpport=55859&localrtcpport=55859&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.

Parsing a group of options: input url rtsp://xxxxx:xxxxx@192.168.1.32/live.
Successfully parsed a group of options.
Opening an input file: rtsp://xxxxx:xxxxxx@192.168.1.32/live.

[tcp @ 0x7fb60af00200] No default whitelist set

[tcp @ 0x7fb60af00200] Original list of addresses:
[tcp @ 0x7fb60af00200] Address 192.168.1.32 port 554
[tcp @ 0x7fb60af00200] Interleaved list of addresses:
[tcp @ 0x7fb60af00200] Address 192.168.1.32 port 554
[tcp @ 0x7fb60af00200] Starting connection attempt to 192.168.1.32 port 554

[tcp @ 0x7fb60af00200] Successfully connected to 192.168.1.32 port 554

[rtsp @ 0x7fb60b004000] SDP:
v=0
o=- 1546272022144135 1 IN IP4 192.168.1.32
s=Session streamed by "wyze"
i=live
t=0 0
a=tool:LIVE555 Streaming Media v2017.10.28
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "wyze"
a=x-qt-text-inf:live
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:600
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D4028;sprop-parameter-sets=Z01AKJ2oHgCJ+WEAAAMAAQAAAwAUhA==,aO48gA==
a=control:track1
m=audio 0 RTP/AVP 8
c=IN IP4 0.0.0.0
b=AS:64
a=control:track2

Failed to parse interval end specification ''

[rtsp @ 0x7fb60b004000] video codec set to: h264
[rtsp @ 0x7fb60b004000] RTP Packetization Mode: 1
[rtsp @ 0x7fb60b004000] RTP Profile IDC: 4d Profile IOP: 40 Level: 28
[rtsp @ 0x7fb60b004000] Extradata set to 0x7fb60ad00dd0 (size: 34)

[rtsp @ 0x7fb60b004000] setting jitter buffer size to 0

    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] hello state=0

Failed to parse interval end specification ''

[h264 @ 0x7fb60b804600] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7fb60b804600] nal_unit_type: 8(PPS), nal_ref_idc: 3

[h264 @ 0x7fb60b804600] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7fb60b804600] nal_unit_type: 8(PPS), nal_ref_idc: 3

    Last message repeated 1 times
[h264 @ 0x7fb60b804600] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x7fb60b804600] Format yuv420p chosen by get_format().

[h264 @ 0x7fb60b804600] Reinit context to 1920x1088, pix_fmt: yuv420p

[h264 @ 0x7fb60b804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2

    Last message repeated 5 times
[rtsp @ 0x7fb60b004000] Non-increasing DTS in stream 1: packet 3 with DTS 3213, packet 4 with DTS 3213

[rtsp @ 0x7fb60b004000] Non-increasing DTS in stream 1: packet 4 with DTS 3213, packet 5 with DTS 3213

[rtsp @ 0x7fb60b004000] Non-increasing DTS in stream 1: packet 6 with DTS 6419, packet 7 with DTS 6419

[rtsp @ 0x7fb60b004000] Non-increasing DTS in stream 1: packet 7 with DTS 6419, packet 8 with DTS 6419

[rtsp @ 0x7fb60b004000] Non-increasing DTS in stream 1: packet 9 with DTS 9665, packet 10 with DTS 9665

[rtsp @ 0x7fb60b004000] Non-increasing DTS in stream 1: packet 10 with DTS 9665, packet 11 with DTS 9665

[rtsp @ 0x7fb60b004000] All info found
[rtsp @ 0x7fb60b004000] rfps: 14.666667 0.016438
[rtsp @ 0x7fb60b004000] rfps: 14.750000 0.009250
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 14.833333 0.004114

    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 14.916667 0.001031
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 15.000000 0.000000
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 15.083333 0.001022
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 15.166667 0.004096
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 15.250000 0.009222
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 15.333333 0.016401
[rtsp @ 0x7fb60b004000] rfps: 29.666667 0.016456
[rtsp @ 0x7fb60b004000] rfps: 29.750000 0.009264
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 29.833333 0.004123
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 29.916667 0.001035
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 30.000000 0.000000
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 45.000000 0.000000
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 60.000000 0.000000
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 120.000000 0.000000
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 240.000000 0.000002
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 29.970030 0.000136
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 59.940060 0.000544
    Last message repeated 1 times
[rtsp @ 0x7fb60b004000] rfps: 14.985015 0.000034

    Last message repeated 1 times
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://xxxx:xxxxx@192.168.1.32/live':
  Metadata:
    title           : Session streamed by "wyze"
    comment         : live
  Duration: N/A, start: 0.000000, bitrate: N/A

    Stream #0:0, 28, 1/90000: Video: h264 (Main), 1 reference frame, yuv420p(progressive, left), 1920x1080 (1920x1088), 0/1, 10 fps, 15 tbr, 90k tbn, 20 tbc
    Stream #0:1, 12, 1/8000: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Successfully opened the file.
Parsing a group of options: output url srtp://192.168.1.3:55859?rtcpport=55859&localrtcpport=55859&pkt_size=1316.
Applying option map (set input stream mapping) with argument 0:0.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 15.
Applying option f (force format) with argument rawvideo.
Applying option b:v (video bitrate (please use -b:v)) with argument 299k.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.
Opening an output file: srtp://192.168.1.3:55859?rtcpport=55859&localrtcpport=55859&pkt_size=1316.

[udp @ 0x7fb60ac2d080] bind failed: Address already in use

srtp://192.168.1.3:55859?rtcpport=55859&localrtcpport=55859&pkt_size=1316: Input/output error

[6/11/2020, 8:41:02 AM] [Camera ffmpeg] ERROR: FFmpeg exited with code 1

```