DASH Stream freezing a long time before playing. Not auto-reconnect if turn off WIFI and turn on again
I'm testing MobileVLCKit on iOS. I've tried with HLS stream and it worked like a charm! The problem happens if I try to play a dash stream (facebook stream for example). The player can play 1-2 seconds then getting freeze video frames, the sound still playing. It takes quite a long time then the video frames can be displayed.
Here are some logs:
`[h264 @ 0x7fb640855200] reference count overflow
[h264 @ 0x7fb640855200] decode_slice_header error
[h264 @ 0x7fb640855200] no frame!
[h264 @ 0x7fb64082d800] mmco: unref short failure
[h264 @ 0x7fb64082d800] Reference 2 >= 2
[h264 @ 0x7fb64082d800] error while decoding MB 44 0, bytestream 6323
[h264 @ 0x7fb640861800] reference picture missing during reorder
[h264 @ 0x7fb640861800] Missing reference picture, default is 65624
[h264 @ 0x7fb640855200] mmco: unref short failure
[h264 @ 0x7fb640855200] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x7fb64082d800] reference picture missing during reorder
[h264 @ 0x7fb64082d800] Missing reference picture, default is 65632
[h264 @ 0x7fb64082d800] Reference 6 >= 4
[h264 @ 0x7fb64082d800] error while decoding MB 31 0, bytestream 25286
[h264 @ 0x7fb640861200] Reference 3 >= 3
[h264 @ 0x7fb640861200] error while decoding MB 30 0, bytestream 7319
[h264 @ 0x7fb640861800] Reference 3 >= 2
[h264 @ 0x7fb640861800] error while decoding MB 20 0, bytestream 3372
[h264 @ 0x7fb640855200] reference picture missing during reorder
[h264 @ 0x7fb640855200] Missing reference picture, default is 65640
[h264 @ 0x7fb640855200] Reference 8 >= 4
[h264 @ 0x7fb640855200] error while decoding MB 26 0, bytestream 20680
[h264 @ 0x7fb64082d200] Reference 4 >= 3
[h264 @ 0x7fb64082d200] error while decoding MB 80 0, bytestream 2560
[h264 @ 0x7fb64082d800] reference count overflow
[h264 @ 0x7fb64082d800] decode_slice_header error
[h264 @ 0x7fb64082d800] no frame!`
Another problem when playing DASH stream is when I turn off the wifi, and turn it on again, the stream get never auto-reconnected. The media player state didn't changed.