Better HN
topnewbestaskshowjobs
Log inSign up

krotik

18 karma · joined Sep 15, 2016 (10y ago) · 12 submissions

Submissions

1.

Show HN: ECAL a simple embeddable scripting langugae for event processing in Go(github.com ↗)

1 points · by krotik · 5y ago · discuss

2.

Show HN: RUFS – A Remote Union Filesystem(github.com ↗)

3 points · by krotik · 7y ago · discuss

comment 10y ago · link · parent

Hi,

Feedback is always appreciated. Please raise a bug if you have concrete suggestions on how to improve my project.

comment 10y ago · link · parent

My previous comment was wrong. After some more testing I can confirm that it does indeed support streaming of video. I've added a small video to the demo.

comment 10y ago · link · parent

Hi, I managed now to dig out my Java code. It is here:

http://devt.de/tmp/rtmp_example.zip

It is just an experiment so not much documentation and/or unit tests. I hope it helps.

comment 10y ago · link · parent

Thanks, I stand corrected. So I guess I have to try to stream a video :-)

Though sadly, I understand that this will not allow seeking.

comment 10y ago · link · parent

Yes, I could host the demo on my server and move the code to the root directory. However, I am not sure about the benefit.

In my understanding the main reason why people put code in the root is so that you can use "go get" to do a checkout. "Go get" then creates a src dir and puts the code there. This functionality is already covered by my server. Since my code path uses devt.de "go get" will always use my server and not github.

The only way someone could use the github code would be with "git clone" and here I think the src dir in the repo might be useful. Otherwise, you have to make sure to create this yourself.

Am I missing something?

comment 10y ago · link · parent

I am currently travelling but once I have a stable connection I can upload it.

If you just want streaming (unidirectional) then you could just write a simple server which streams the byte stream from the camera. I remember one of my colleagues at work did this for our foos table scoring system. I suspect this is also what Icecast does.

I went through the pain of RTMP because I wanted support for seeking which requires bidirectional communication.

comment 10y ago · link · parent

No, SHOUTcast is only about audio. It is quite simple and straight forward.

I did implement some time ago a basic video streaming server (in Java) using Adobe's Real Time Messaging Protocol (only a partial implementation). It worked well enough for jwplayer and flowplayer. However, Flash is now on the decline and also it was a real pain to implement it.

I would be interested in implementing a video streaming server in Go. Does anyone know a good streaming protocol for HTML5 video? It should support seeking though - this was one of the main points why I went through the RTMP implementation.

comment 10y ago · link · parent

Hmm, I would like to provide a demo. For now I host the GOPATH structure on github, which includes a demo, while the code which you get via "go get" is on a self hosted server. So you can write:

go get -d devt.de/common devt.de/dudeldu

if you want just the source (vendor form) or you can:

git clone https://github.com/krotik/dudeldu/ .

if you want it with a demo. You can then build the executable and run it with the demo folder.

I use a self hosted machine to run the build and unit tests overnight. I know the vast majority of Go projects does it differently - I am still unsure but so far it worked for me ...

11.

Show HN: DudelDu a simple SHOUTcast server in Go(github.com ↗)

30 points · by krotik · 10y ago · 18 comments

12.

Show HN: EliasDB a graph based database in Go(github.com ↗)

6 points · by krotik · 10y ago · discuss