JioTV-Go / jiotv_go

Unlock the magic of JioTV across all your devices, without the need for the JioTV App. Crafted with love in Golang for a delightful blend of speed and efficiency! 🌟✨
https://jiotv_go.rabil.me/
Other
377 stars 98 forks source link

bug: Playback stops after exactly 1 hour of continuous streaming due to m3u8 generation error #382

Open Dinesh-Shrestha opened 2 months ago

Dinesh-Shrestha commented 2 months ago

Bug description

After exactly 1 hour of continuous streaming, playback stops abruptly. Upon inspecting the log, I observed the statement "Error generating m3u8 file" appears exactly after 1 hour of continuous playback. No other errors are present in the logs before this point.

Complete log file: jiotv_go.log

Steps to reproduce

  1. Open the JioTV Go project and select any channel.
  2. Start playing the stream.
  3. Continue streaming for 1 hour.
  4. Observe that the playback stops after 1 hour and the log shows "Error generating m3u8 file."

Relevant log output

[DEBUG] 2024/07/31 05:55:31 handlers.go:275: Error rendering M3U8 file
[DEBUG] 2024/07/31 05:55:31 handlers.go:276: 
[05:55:30] 403 -    104.7023ms GET /render.m3u8 Params:[auth=xsP2MY7ZQb7-vBybmjhq2A1zjeG9Ju2XsAbdvC9EDmBseM5W28EYkoaIXXCtpyTQEwTvJZuCQ1gi4p-SMeOL3j-t5Pce1YF4-Ggv0OpYsfFfOwpppul885xbTDPB03nxM6HYGcmTjB2dPvyw0lpXPedgJ5Gr_1FSdVIE_0e_wBbMGz7bqSe3O24B_HOt4ImeZRf239J0KN777HqXtneK77LNzUYXJV61s0MuuBo_26u2-kDXBOFRnUCqLQuHd2fyB0gXUyki5AIV-xc_hnrHtxW_xwkoVZuGqpnr45PKnzPOt3uppssMrrsvdx8UHNxDiDVDNmNVYBDBGdTDqEN4EIt6AFkye_atkY7BvhTifG8vu-FHKIDTf0t8-0-032yL7rVWouP_X22EepEBeScP7gNEz8U%3D&channel_key_id=144] -

Screenshots or videos

No response

Solution

No response

Additional context

Expected behavior: The stream should continue playing uninterrupted beyond the 1-hour mark.

Actual behavior: The stream stops abruptly after 1 hour, and the log displays an "Error generating m3u8 file" at that moment.

Environment:

Logs: The error statement "Error generating m3u8 file" appears exactly after 1 hour of continuous playback. No other errors appear in the logs prior to this.

Acknowledgements

rabilrbl commented 2 months ago

Thanks. This will require lot of time for debugging. Hence I'm not taking it as a priority right now.

If anyone from the community wants to build fix for this, feel free to do so after dropping comment here.

RealSoftDevs commented 2 months ago

Same for everyone I guess. Please let us know once fixed.