Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatiable with SRT < 1.3.0 (Support HSv4) #146

Open
simon-fu opened this issue Dec 13, 2021 · 17 comments
Open

Not compatiable with SRT < 1.3.0 (Support HSv4) #146

simon-fu opened this issue Dec 13, 2021 · 17 comments

Comments

@simon-fu
Copy link

  1. modify example/sender.rs, and add “pretty_env_logger::init();”
  2. run example: RUST_LOG=info cargo run --release --example sender
  3. run vlc as caller and connect to srt://127.0.0.1:3333
  4. srt-rs print log " WARN srt_tokio::pending_connection > UnsupportedProtocolVersion(4) "

addition info:

  1. VLC Version 3.0.16 Vetinari (Apple Silicon)
  2. srt-rs commit 3e7a29c
@russelltg
Copy link
Owner

russelltg commented Dec 13, 2021

vlc.mp4

Can't seem to repro on master....

Could this be an issue with the srt version that VLC is finding? I'm using VLC on arch, and I notice ti's an optional dep so I assume it's using my system version which is 1.4.4.

@russelltg
Copy link
Owner

Well looking at my video there is a whole slew of "packet dropped" messages but idk if these are because it's not valid video data or not...

@russelltg
Copy link
Owner

If you're interested, it would be great to have an example that actually streams a .ts file--we already have ac-ffmpeg as an optional dependency for examples, I'll code one up sometime or you could, it should be relatively straightforward

@russelltg
Copy link
Owner

Ok, works fine for a real video for me:

image

@simon-fu
Copy link
Author

srt-vlc-480p.mov

here is my fork:

@russelltg
Copy link
Owner

I think VLC must bundle an ancient SRT version. it seems that you're on macOS, and I'm not sure what version it is. Could you find out? On my linux box I can see by

$ ldd /usr/lib/vlc/plugins/access/libaccess_srt_plugin.so
...
	libsrt.so.1.4 => /usr/lib/libsrt.so.1.4 (0x00007f8624715000)
...

@simon-fu
Copy link
Author

find /Applications/VLC.app/Contents/ -name "lib*"

/Applications/VLC.app/Contents//MacOS/plugins/libtospdif_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libddummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtaglib_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblibass_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libspeex_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libi420_rgb_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmarq_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libugly_resampler_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librawvideo_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfreetype_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscreen_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libadummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmosaic_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_concat_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libasf_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpng_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaom_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_autodel_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpsychedelic_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdolby_surround_decoder_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libequalizer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_ps_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libi420_10_p010_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaes3_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnormvol_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_dummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscaletempo_pitch_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libinteger_mixer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libxa_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_srt_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libi420_yuy2_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvideotoolbox_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcroppadd_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvoc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscte27_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnoseek_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_file_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvout_macosx_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_gather_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libflaschen_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_ts_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libavcodec_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libedgedetection_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaddonsvorepository_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcaopengllayer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libedummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libbonjour_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_av1_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcache_read_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libblendbench_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libinvert_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvc1_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdcp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfolder_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_record_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_mlp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libavcapture_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvdr_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfaad_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdecomp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liba52_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvobsub_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsecuretransport_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfreeze_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_copy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscene_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libupnp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libposterize_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsubsdec_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgestures_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgnutls_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_transcode_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libimage_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvmem_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_stats_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsatip_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_dummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libwav_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsamplerate_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblpcm_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libchorus_flanger_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_mpjpeg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libhotkeys_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdvdnav_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libhqdn3d_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmirror_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libflac_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcaf_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaudio_format_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsmf_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libspatializer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libanaglyph_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsap_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmono_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libx26410b_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmediadirs_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnuv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libalphamask_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstereo_widen_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtwolame_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsepia_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_udp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_mp4_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaudiobargraph_a_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librawdv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_description_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libglconv_cvpx_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libt140_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_ogg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_setid_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_cycle_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtextst_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libi422_yuy2_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmotiondetect_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_livehttp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libwave_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_dirac_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfps_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libwebvtt_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libhttps_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libball_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpva_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvisual_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblogo_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdiracsys_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfingerprinter_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcvdsub_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsharpen_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfile_keystore_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libclone_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgaussianblur_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libavi_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librtp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmemory_keystore_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libyuy2_i420_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_chromaprint_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsubsusf_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdvbsub_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libkaraoke_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmotionblur_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_flac_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libripple_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_h264_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libwall_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsftp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcanvas_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librawvid_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_display_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_imem_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libblend_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvod_rtsp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libi420_nv12_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libauhal_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpuzzle_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_delay_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libattachment_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnfs_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgme_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libexport_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libskiptags_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libantiflicker_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblogger_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfloat_mixer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_es_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libxml_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaudioscrobbler_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdemux_chromecast_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libplaylist_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgradient_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_mpegaudio_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsubtitle_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_wav_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmad_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libreal_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtransform_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libopus_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtcp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnsspeechsynthesizer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libudp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnsv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_vc1_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdca_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmpgv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstl_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaddonsfsstorage_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcdg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtrivial_channel_mixer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libyuy2_i422_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librtpvideo_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstats_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmotion_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_dts_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libhds_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmkv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcolorthres_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libheadphone_channel_mixer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmjpeg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtimecode_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_http_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgain_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmpc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_shout_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libzvbi_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librotate_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libremoteosd_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libkeychain_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libx265_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libftp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpostproc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libconsole_logger_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_rtp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libbluescreen_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgrain_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librawaud_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmpg123_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_a52_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librss_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_srt_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libspudec_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libarchive_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdvdread_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libty_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libi422_i420_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvpx_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libprefetch_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libadjust_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtdummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgoom_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpodcast_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_dummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvhs_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libinflate_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsid_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgrey_yuv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_asf_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdemuxdump_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblua_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtheora_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsdp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvorbis_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcvpx_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libspdif_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liboldrc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscte18_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libci_filters_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsvcdsub_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaraw_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvcd_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_output_rist_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libchain_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_mpegvideo_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscale_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcompressor_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libosx_notifications_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libx264_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_realrtsp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcache_block_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libadpcm_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libyuvp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libgradfun_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libcdda_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liboldmovie_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdav1d_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libparam_eq_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaiff_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libidummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libhttp_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librv32_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaudiotoolboxmidi_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libes_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libjpeg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnetsync_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfilesystem_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_bridge_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libkate_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaribsub_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libps_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liberase_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libadaptive_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librecord_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_standard_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsubstx3g_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdeinterlace_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libuleaddvaudio_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libadf_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libschroedinger_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmux_avi_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdemux_cdg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libimem_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblibbluray_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtelx_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdemux_stl_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libts_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libextract_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_mpeg4audio_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libremap_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaudiobargraph_v_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_hevc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/librist_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libfile_logger_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libtta_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdirectory_demux_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libspatialaudio_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsimple_channel_mixer_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libh26x_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libg711_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblive555_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libttml_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libvdummy_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liblibmpeg2_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libogg_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libau_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libnsc_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libyuv_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libafile_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_mosaic_bridge_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmp4_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/liboggspots_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libpacketizer_mpeg4video_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libavaudiocapture_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libncurses_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libdynamicoverlay_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmacosx_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libshm_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_chromecast_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libflacsys_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libaccess_mms_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmod_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libscaletempo_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsyslog_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libmagnify_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_duplicate_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libsubsdelay_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libswscale_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libamem_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libstream_out_smem_plugin.dylib
/Applications/VLC.app/Contents//MacOS/plugins/libspeex_resampler_plugin.dylib
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_dialog.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_renderer_discoverer.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_media.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_media_list_player.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_media_player.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_events.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_media_discoverer.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_media_list.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_version.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_vlm.h
/Applications/VLC.app/Contents//MacOS/include/vlc/libvlc_media_library.h
/Applications/VLC.app/Contents//MacOS/lib
/Applications/VLC.app/Contents//MacOS/lib/libvlc.5.dylib
/Applications/VLC.app/Contents//MacOS/lib/libvlccore.dylib
/Applications/VLC.app/Contents//MacOS/lib/libvlccore.9.dylib
/Applications/VLC.app/Contents//MacOS/lib/libvlc.dylib

@simon-fu
Copy link
Author

Test on windows with VLC 3.0.16 and got the same log " WARN srt_tokio::pending_connection > UnsupportedProtocolVersion(4) "

@simon-fu
Copy link
Author

@russelltg Hi russelltg, Is it possible that srt-rs support ProtocolVersion(4) ? :)

@russelltg
Copy link
Owner

Ceetainally not a high up feature on my list. You're welcome to implement it if you want, but in general compatibility with very old srt versions is not a huge priority. It seems that hsv5 was introduced in srt 1.3, which has been out for some 4 years now.....

Your best bet is recompiling VLC with a newer version, or convert the srt stream to a local Udp one with srt-live-transmit from the reference implementation or srt-transmit from srt-rs.

@russelltg
Copy link
Owner

Closing for now.

@simon-fu
Copy link
Author

VLC 3.0.16 is already the newest version ...

@russelltg
Copy link
Owner

Yes but VLC internally uses Haivision's srt implementation to support playing srt streams. Whoever builds VLC integrates a very old version.

@simon-fu
Copy link
Author

After downloading the newest VLC binary for windows instead of building from source code, I got the same issue.

@russelltg
Copy link
Owner

After looking a bit more, only VLC 4.x bundles a new enough libsrt:
https://code.videolan.org/videolan/vlc/-/blob/3.0.x/contrib/src/srt/rules.mak (3.x dev branch, bundles 1.2.3)
https://code.videolan.org/videolan/vlc/-/blob/master/contrib/src/srt/rules.mak (4.x dev branch, bundles 1.4.2)

Try the 4.x dev binaries here https://nightlies.videolan.org/

@russelltg russelltg changed the title incompatible with VLC Not compatiable with SRT < 1.3.0 Dec 22, 2021
@russelltg russelltg changed the title Not compatiable with SRT < 1.3.0 Not compatiable with SRT < 1.3.0 (Support HSv4) Dec 22, 2021
@russelltg
Copy link
Owner

Going to reopen this as it seems like it may be a useful feature at some point.

@russelltg russelltg reopened this Dec 22, 2021
@simon-fu
Copy link
Author

the 4.x dev binaries

yes,the 4.x binary for windows works without issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants