nareix / joy4

Golang audio/video library and streaming server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to do when the locator “$” is lost

pengbinbin1 opened this issue · comments

i had a problem when i use this library to read a RTSP stream. In the function findRTSP(/format/Client.go),if "$" is lost ,the video will stop and i want to konw how to skip this packet and begin the next one?

读取rtsp流的时候,如果定位符$丢失,会造成视频播放页面卡住不动,用作者提供的实例也会出同样问题,想知道如果出现定位符丢失的情况,怎么重定位到下一个定位符,保证不出现卡住不动的问题,问题见链接:
https://www.cnblogs.com/10087622blog/p/10278397.html