Heart2Heart

Serving the cardiophile community since 2016.

You are not logged in.

There is a small ad here.
We'd love you forever if you would donate or whitelist our site/disable your adblocker.

#21 2017-05-24 19:42:41

Medic44
Member
From: Bloomington IL
Joined: 2017-04-19
Posts: 34
Files: 9
PM

Re: Streaming, as easy as humanly possible.

Chrome v58.0.3029.110

Offline

#22 2017-05-24 20:15:56

ChiraBeats
Administrator
Joined: 2016-10-31
Posts: 481
Files: 43
PM Website

Re: Streaming, as easy as humanly possible.

Well that is the latest version. Chrome might not be my favorite but they're good at keeping their users updated. Who were you trying to listen to and when?

Last edited by ChiraBeats (2017-05-24 20:16:24)

Online

#23 2017-05-25 01:03:33

Medic44
Member
From: Bloomington IL
Joined: 2017-04-19
Posts: 34
Files: 9
PM

Re: Streaming, as easy as humanly possible.

heartoflea and I belive it was either yesterday or the day before.

Offline

#24 2017-05-25 01:53:41

ChiraBeats
Administrator
Joined: 2016-10-31
Posts: 481
Files: 43
PM Website

Re: Streaming, as easy as humanly possible.

Thought it might have been. Lea triggered a glitch where it showed that she was streaming when she wasn't. The reason you couldn't hear anything was because there was nothing to hear anymore.

I could have sworn I had that fixed like 5 times now but it looks like it's time to go code-diving again. In the mean time I'll see if I can't add some sort of check to the listening page that will automatically detect this problem. Should serve as a band-aid until I can figure out where the real problem is.

Online

#25 2018-08-29 21:03:50

thewyrdguy
Member
From: Europe
Joined: 2017-02-19
Posts: 131
Files: 42
PM Website

Re: Streaming, as easy as humanly possible.

I am trying this (not least because my youtube channel got a "community strike" and streaming is blocked until some time in September). And as usual, I have a few feature requests :P

1. Some sort of title/message accompanying the stream. Setting it *before* starting the stream is enough.
2. Information about the number of listeners. And when it started.
3. Webchat local to the stream, a la youtube live chat.
4. Low level info about the streaming endpoint. Web codec sucks (apparently) wrt the compression quality. I would use ffmpeg but I need to know what to stream and where. Is it simply an mp3 stream over tcp? Icecast format?
5. While I was typing this, streaming spontaneously stopped! So it becomes a bug report too ;)

Thanks!

Offline

#26 2018-08-29 21:41:49

ChiraBeats
Administrator
Joined: 2016-10-31
Posts: 481
Files: 43
PM Website

Re: Streaming, as easy as humanly possible.

1. I think that'd be possible. Icecast already supports slipping in media/title information. Only fiddly bit would be fishing it back out when listening to streams. But yeah, should be possible.
2. Already added but it's super sketchy right now. Something's in the works that should clear that up real soon.
3. That'd be nice. Could be pretty easily fit in with some of the bigger/longer-term projects I have on the to-do list, too.
4. Instructions are at the bottom of the streaming page. tl;dr is 128kbps, 44100KHz, mp3 sent to http://heart2h.com:8000. Username and mount point are your case-sensitive username, password is your password.
5. I'll look into it and see what I can see!

Online

#27 2018-08-29 22:20:11

thewyrdguy
Member
From: Europe
Joined: 2017-02-19
Posts: 131
Files: 42
PM Website

Re: Streaming, as easy as humanly possible.

If you only allow to set the title before starting the stream, it can be independent of the stream itself. Normal post/async request, and then include as a part of the listener's page.
4: sorry! I always stop reading half way :mad:

Offline

#28 2018-09-01 15:13:47

thewyrdguy
Member
From: Europe
Joined: 2017-02-19
Posts: 131
Files: 42
PM Website

Re: Streaming, as easy as humanly possible.

Turns out, I did read the page about streaming but technical data there is incomplete. In case anybody needs this, here is some command line that seems to work pretty well for me on Ubuntu:

#!/bin/sh
ffmpeg -f pulse -i default \
	-acodec libmp3lame -ab 64k -ac 1 \
	-content_type audio/mpeg -f mp3 \
	icecast://<userid>:<password>@heart2h.com:8000/<userid>

Change `-ac` to 2 for stereo, `-ab` is the stream bitrate.

Offline

#29 2018-09-01 19:10:25

ChiraBeats
Administrator
Joined: 2016-10-31
Posts: 481
Files: 43
PM Website

Re: Streaming, as easy as humanly possible.

Hmm... what's missing from the Streaming page at the moment?

Online

#30 2018-09-01 19:39:44

thewyrdguy
Member
From: Europe
Joined: 2017-02-19
Posts: 131
Files: 42
PM Website

Re: Streaming, as easy as humanly possible.

That the protocol is icecast?  Nowadays "proper" RTP streaming is widely used, and icecast is not an "obvious default".

Offline

#31 2018-09-01 19:49:10

ChiraBeats
Administrator
Joined: 2016-10-31
Posts: 481
Files: 43
PM Website

Re: Streaming, as easy as humanly possible.

Ah yeah that is a slightly important bit of info, brb.

Online

Board footer

Powered by FluxBB

[ Generated in 0.017 seconds, 11 queries executed - Memory usage: 667.95 KiB (Peak: 703.63 KiB) ]

Amazing popover content! ×

I could have sworn I left something here.