nareix / joy4

Golang audio/video library and streaming server
MIT License
2.66k stars 501 forks source link

how to do when the locator “$” is lost #82

Open pengbinbin1 opened 5 years ago

pengbinbin1 commented 5 years ago

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?

pengbinbin1 commented 5 years ago

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