我的应用程序想要从带有 RTMPS 协议的 URI 直播流中播放视频。我使用 FFmpegInteropX ( https://github.com/ffmpeginteropx/FFmpegInteropX ) 来获取媒体源。
var uri = "rtmps://xx.xx.xx.xx:443/live/dbjl"; FFmpegInteropMSS MediaSource = FFmpegInteropMSS.CreateFFmpegInteropMSSFromUri(uri, true, true, new PropertySet());
但 MediaSource 返回 null。没有空对象我怎么能得到它。重要:必须使用RTMPS协议,使用RTMP就可以了