layeh / gumble

gumble is a Mumble client implementation in Go (golang)
https://pkg.go.dev/mod/layeh.com/gumble
Mozilla Public License 2.0
173 stars 53 forks source link

Add elapsed time to gumble_ffmpeg #15

Closed mathom closed 9 years ago

mathom commented 9 years ago

I've been using the elapsed time patch here for stopping/resuming audio streams on my server. I needed to change the integer start offset to float to support fractional seconds to avoid small jumps when you resume audio.

I've also got a patch for piepan to use this in the javascript plugin: https://github.com/layeh/piepan/pull/28

matthieugrieger commented 9 years ago

This would be a nice addition!

ghost commented 9 years ago

This issue is partially fixed with 0b65794935bac2c4c9e8bb4d56007fd2c7b16e26. I need a little time to look at the elapsed play time (mainly because I think there could be a better solution to calling time.Since inside sourceRoutine).

mathom commented 9 years ago

Great! I'd be interested in seeing an alternative way to track it.

ghost commented 9 years ago

975058a4f8d917c762eb807b902a7eba19e05c52 and 006429f9c4d110e665fc95f675b7a39a69ffc815 should fix this issue.

@mathom The ability to pause streams in piepan will be added soon.