Closed trial closed 10 months ago
这两个还是支持的,报什么错呢?你可以把这下面这个代码注释掉。看还会不会报错
formatContextOptions["protocol_whitelist"] = "file,http,https,tcp,tls,crypto,async,cache,data,httpproxy"
注释后rtmp正常播放了,rtsp似乎获取不到size,一直buffering中,用iina,potplayer正常播放 测试地址 rtsp://rtspstream:57334873597105e615775fa29629e76d@zephyr.rtsp.stream/pattern
2023-11-27 10:45:07.024962+0800 tv[9854:1875157] [si_destination_compare] send failed: Invalid argument 2023-11-27 10:45:12.788156+0800 tv[9854:1875157] warning KSPlayer: MEPlayerItem.swift:129 MEPlayerItem | Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
你把formatContextOptions["multiple_requests"] = 1 注释掉。看下行不行
我看你这个流,播放一段时间之后。就说流结束了。导致无法继续加载了
之前一直可以播放这2种格式,今天更新了一下库,发现无法播放了