holliger Posted August 27, 2013 Report Share Posted August 27, 2013 What is the Syntax for the device? I'm using Windows Visa Business... Thanks for the help... Parameter Function Example page Defines the port where to listen for RTP traffic. If specified, it binds the socket to the provided address. 5000 moh Defines where to send the MoH stream. If the destination contains only the port number, the destination is the loopback device. 6000 log Sets the log level. Valid levels are 0–9. 5 dev Sets the audio device. ??? priority Defines whether the process should run at high priority or not. True False multicast Joins a multicast address. ptime Specifies the packet length in ms. Multiples of 10 dtmf Defines what codec to use for out-of-band DTMF. map Sets the codec mapping. The argument is a list that maps the codec number to codec names. l16, ulaw, alaw, gsm, g722, and g726 codec Specifies the codec that should be used for sending. The parameter is the name of the codec. ulaw ipv4 Use only IPv4. True ipv6 Use only IPv6. False Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 27, 2013 Report Share Posted August 27, 2013 Eh I don't understand the question... Vista or visa? Do you want to stream audio from the built-in audio connector? Or from a network socket? On which page in the web interface are you. Quote Link to comment Share on other sites More sharing options...
holliger Posted August 28, 2013 Author Report Share Posted August 28, 2013 Uhhh Ohhh yes, Windows Vista I think ... I want to stream a Web station, if possible I put the stream link as dev, otherwise I start VLC and use the audio-out and route it back to the audio-in. but what is the Syntax for the audio in jack? or yes sure if the app can handle a direct stream like: File1=http://stream-tx1.radioparadise.com:9048/ this will we also be great... Quote Link to comment Share on other sites More sharing options...
holliger Posted August 28, 2013 Author Report Share Posted August 28, 2013 like this: page:5000 moh:6000 codec:ulaw dev:mydevice?? or: page:5000 moh:6000 codec:ulaw dev:my.stream.com:1234??? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 28, 2013 Report Share Posted August 28, 2013 If you can use VLC, that's probably the easiest. There is a Wiki article on the subject, check out http://wiki.snomone.com/index.php?title=Streaming_VLC_and_snom_ONE. Quote Link to comment Share on other sites More sharing options...
holliger Posted August 28, 2013 Author Report Share Posted August 28, 2013 ohh, thanks... will try this VLC. Quote Link to comment Share on other sites More sharing options...
holliger Posted August 28, 2013 Author Report Share Posted August 28, 2013 I think this is not working for MP3 streaming, I mean if the stream is in MP3 format, VLC can not transcode it to the needed CCCIT u-Law format( have not found a codec...and some other problems) . but yes I can rip 1 or 2 hrs of webradio, get it to the right format and then stream that file with VLC... or do you or anyone else have got this to work with MP3-Streaming direct? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 29, 2013 Report Share Posted August 29, 2013 You don't have to use ulaw. You can also use linear codec (16 bit/sample, mono, 8 kHz). I remember we added that to the PBX--it makes tons of sense especially for streaming. Quote Link to comment Share on other sites More sharing options...
holliger Posted August 29, 2013 Author Report Share Posted August 29, 2013 I have 4.5.. will that work with 16 bit/sample, mono, 8 kHz ? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 29, 2013 Report Share Posted August 29, 2013 Yes, that feature was already available in version 4. Quote Link to comment Share on other sites More sharing options...
holliger Posted September 3, 2013 Author Report Share Posted September 3, 2013 ahh yes it works, here are some line of "code" for the next one... took me some time to test and I think it is working... start VLC from CMD and input these lines: For Radio Paradise, on port 4200 % vlc -vvv http://stream-tx1.radioparadise.com:9048 :sout=#transcode{vcodec=none,acodec=s16l,ab=128,channels=1,samplerate=8000,}:rtp{dst=192.168.0.60,port=4200,ttl=1} :sout-keep For Radio Secret Agent, on port 4201 % vlc -vvv http://yp.shoutcast.com/sbin/tunein-station.pls?id=65239 :sout=#transcode{vcodec=none,acodec=s16l,ab=128,channels=1,samplerate=8000}:rtp{dst=192.168.0.60,port=4201,ttl=1} :sout-keep this will open the vlc player and start streaming the audio to the ports, you can replace dst=192.168.0.60 to your localhost on dst=127.0.0.1. and it is possible to have more than one vlc stream, just add another port. one thing i could not configure is the volume of the output, its to loud at the moment, maybe someone knows how.... if you want to start the stream on system startup you can put a link to the autorun folder. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 3, 2013 Report Share Posted September 3, 2013 As for the volume, looks like you need to use something like --volume 10. Seems there was a bug in older versions of VLC, https://trac.videolan.org/vlc/ticket/3913 says it is fixed now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.