fix: try improve hls playback

This commit is contained in:
2025-06-06 15:19:36 +01:00
parent b79eb3b0f7
commit 56f72b129d
7 changed files with 102 additions and 37 deletions

View File

@ -191,7 +191,7 @@ impl ZapStreamOverseer {
Ok(EventBuilder::new(Kind::FileMetadata, "").tags(tags))
}
async fn publish_stream_event(&self, stream: &UserStream, pubkey: &Vec<u8>) -> Result<Event> {
pub async fn publish_stream_event(&self, stream: &UserStream, pubkey: &Vec<u8>) -> Result<Event> {
let extra_tags = vec![
Tag::parse(["p", hex::encode(pubkey).as_str(), "", "host"])?,
Tag::parse([