Relaying ICE/1.0 streams #144

Closed
smimram opened this Issue Jan 16, 2014 · 2 comments

Projects

None yet

2 participants

Owner
smimram commented Jan 16, 2014

Recently, Alexander on the ML could not connect input.harbor from SAM Broadcaster, as well as from Edcast. The input is set up as usual:

live = input.harbor(id = "live",   
  auth = fun (user, password) -> myauth(password),  port = 7006),  # always returns true
  "live");

and the relevant part of the log is, when a client connects

2014/01/16 15:23:42 [harbor:4] Client logged in.
2014/01/16 15:23:42 [harbor:4] SOURCE request on /live.
2014/01/16 15:23:42 [harbor:4] Adding source on mountpoint "/live" with type "application/ogg".
2014/01/16 15:23:42 [harbor:5] Relaying ICE/1.0.
2014/01/16 15:23:42 [harbor:4] Returned 500 for '/live': File "tools/harbor.ml", line 364, characters 31-37: Assertion failed

So, it seems that we are getting an ICE stream, but the current code is only set up to relay HTTP streams.

@toots what do you think of that?

@toots toots was assigned Jan 16, 2014
Owner
toots commented Jan 16, 2014

Most likely a missing one-liner from one of the previous rewrite..

I've just committed a change adding support according to http://stackoverflow.com/questions/5215019/icecast-2-protocol-description-streaming-to-it-using-c-sharp, closing now and will notify the user for testing/feedback..

Owner
toots commented Jan 16, 2014

Fixed in ba0e2fe

@toots toots closed this Jan 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment