Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: 2n Intercom Multicast Video
#cisco
Not sure why there would be a 16 multicast stream limit for 2N.? Maybe there is some communication from the end point going back to the 2N.?? But at least the test multicast I have set up (using UDP), there is no data going back to the the server from the end points.? I would use Wireshark to see what 2N is doing on their stream and in particular, if any data is being sent back to 2N.
I've generated my own multicast stream by playing a video on my laptop.? I use it mainly to test if I have my IGMP snooping, Querier, and multicast router settings correct.? There is really no theoretical limit to the number of devices that can receive the multicast stream.? But your need to consider these: 1) You should have IGMP snooping enable.? Otherwise, everyone on the network will be bombarded by the multicast stream.? Also if you don't have IGMP snooping enabled, it can lock up your network switch (at least I had this happen with a DM-NVX-351 on the network if I screw up). 2) You don't exceed the bandwidth of your switch.? Each device receiving the multicast stream will get you closer to your switches bandwidth limit. Generating a mulitcast stream is pretty easy (at least in LInux) using ffmpeg.? On the multicast server (my laptop), I execute something like this: ffmpeg -re -i MyVideo.mp4 -vcodec mpeg4 -f mpegts udp://239.255.0.8:23000 Note you need to let port 23000 (in this case) pass the firewall on your server.For the receiver (another laptop), I execute: ffplay udp://239.255.0.8:23000 I am sure there are other ways to generating a multicast stream for testing.? But I find these commands work well for me.? But there is absolutely no security on the stream.? Anyone on the same subnet could receive the stream.? Possibly you could encryption the stream if you want to limit who can or cannot view the stream. While I am not that familiar with RSTP, per Wikipedia, RSTP allows the clients to control the stream (play, pause, etc) and uses TCP instead of UDP.? So I cannot really see how RTSP could do a pure multicast stream. |
HTTPS POST: New Dev to Simpl#
Hello, ? I am a new dev to Crestron software and I have some basic questions about HTTPs requests! I am trying to send a url-encoded HTTPs POST request following ?and then I'd like to save the cookies from the response.?I'm confused on whether I need to make a separate GET request like in the example or if a single POST request would suffice. I'm also having some trouble formatting a proper POST request and I am repeatedly receiving a 403 error.? ? The following is a snippet of my current code. Am I properly structuring the request? Am I missing something important? Do I have extra unneeded information? Am I even going about this the right way?? ? HttpsClient httpsClient = new HttpsClient(); HttpsClientRequest httpsRequest = new HttpsClientRequest(); ? ? ? ? ? ? HttpsClientResponse httpsResponse; ? ? ? ? ? ? ? //Disable certs and verbose ? ? ? ? ? ? httpsClient.HostVerification = false; ? ? ? ? ? ? httpsClient.PeerVerification = false; ? ? ? ? ? ? httpsClient.Verbose = false; ? ? ? ? ? ? httpsClient.AllowAutoRedirect = true; ? ? ? ? ? ? ? CrestronConsole.PrintLine("Disabled certs and allowed redirect"); ? ? ? ? ? ? ? try ? ? ? ? ? ? { ? ? ? ? ? ? ? ? httpsRequest.RequestType = Crestron.SimplSharp.Net.Https.RequestType.Post; ? ? ? ? ? ? ? ? httpsRequest.Url.Parse(url); ? ? ? ? ? ? ? ? CrestronConsole.PrintLine("Parsed URL\n"); ? ? ? ? ? ? ? ? ? httpsRequest.Header.SetHeaderValue("User-Agent", httpsClient.UserAgent.ToString()); ? ? ? ? ? ? ? ? httpsRequest.KeepAlive = true; ? ? ? ? ? ? ? ? httpsRequest.Header.SetHeaderValue("Content-Type", "application/x-www-form-urlencoded"); ? ? ? ? ? ? ? ? httpsRequest.Header.SetHeaderValue("Host", "10.1.10.0"); ? ? ? ? ? ? ? ? CrestronConsole.PrintLine("Set Content Type and Host\n"); ? ? ? ? ? ? ? ?? ? ? ? ? ? ? ? ? string command = str2JSON("login=" + login + "&" + "passwd=" + password); ? ? ? ? ? ? ? ? //string command = "login=" + login + "&" + "passwd=" + password; ? ? ? ? ? ? ? ? httpsRequest.ContentSource = ContentSource.ContentString; ? ? ? ? ? ? ? ? httpsRequest.ContentString = ""; ? ? ? ? ? ? ? ? httpsRequest.ContentString = command; ? ? ? ? ? ? ? ? httpsRequest.Header.SetHeaderValue("Content-Length", "24"); ? ? ? ? ? ? ? ? ? CrestronConsole.PrintLine(command + "\n"); ? ? ? ? ? ? ? ? CrestronConsole.PrintLine("Set Body\n"); ? ? ? ? ? ? ? ? ? httpsResponse = httpsClient.Dispatch(httpsRequest); ? ? ? ? ? ? ? ? CrestronConsole.PrintLine("Sent Request\n"); ? ? ? ? ? ? ? ? ? responseCode = httpsResponse.Code; ? ? ? ? ? ? ? ? CrestronConsole.PrintLine("POST Response Code:" + responseCode.ToString() +"\n"); ? ? ? ? ? ? ? ? ? ? string[] subStrings = httpsRequest.Header.ToString().Split(','); ? ? ? ? ? ? ? ? foreach (string str in subStrings) ? ? ? ? ? ? ? ? { ? ? ? ? ? ? ? ? ? ? CrestronConsole.PrintLine(str); ? ? ? ? ? ? ? ? } ? ? ? ? ? ? ? ? string[] subStrings2 = httpsResponse.ContentString.ToString().Split(','); ? ? ? ? ? ? ? ? foreach (string str in subStrings2) ? ? ? ? ? ? ? ? { ? ? ? ? ? ? ? ? ? ? CrestronConsole.PrintLine(str); ? ? ? ? ? ? ? ? } ? ? ? ? ? ? ? ? ? return command; ? ? ? ? ? ? } ? ? public string str2JSON(string urlString) ? ? ? ? { ? ? ? ? ? ? urlString = urlString.StartsWith("?") ? urlString.Substring(1) : urlString; ? ? ? ? ? ? string resultString = "{"; ? ? ? ? ? ? ? string[] urlKeyVal = urlString.Split('&'); ? ? ? ? ? ? ? foreach (string kv in urlKeyVal) ? ? ? ? ? ? { ? ? ? ? ? ? ? ? string k = kv.Substring(0, kv.LastIndexOf('=')); ? ? ? ? ? ? ? ? string v = kv.Substring(kv.LastIndexOf('=') + 1); ? ? ? ? ? ? ? ? resultString += "\"" + k + "\"" + ":" + "\"" + v + "\","; ? ? ? ? ? ? } ? ? ? ? ? ? resultString = resultString.Substring(0, resultString.Length - 1); ? ? ? ? ? ? resultString += "}"; ? ? ? ? ? ? ? return resultString; ? ? ? ? } Sorry if this has already come up but after a short search I could not find many resources for an HTTPS Post Request. If someone could point me in the direction of a good example I would appreciate it.? ? Leighton |
Re: 5th Gen Apple TV IR issue
I was going to post a question about this. I would love to hear what solutions we might have for using IR with this new AppleTV, if this is more than a specific site issue...
I was using CEC with DM/NVX, which does work great (though I have had a couple times where control has locked up and needed a card reboot), but I've defaulted to IR control since a) It always works and b) a press+Hold on the Menu Button will bring the unit back to the main menu (You can't P+H with the CEC and the MainMenu button does weird things now) |
Re: CP4N reboots itself occasionally due to internet/network drop-off??
I've seen this issue on at least two PRO4s. There was a firmware update that was released on April 6th that I've updated our office PRO4 to after seeing the errors. Haven't seen the error again yet. Have you updated to the latest firmware and you're still seeing the issues or are you on the 2.5000 firmware still? On Sat, Apr 17, 2021 at 2:29 PM Steven Y <steven@...> wrote: No further update from my local Crestron True Blue here so far, ?but Simpleyes has confirmed he got confirmation that Crestron has marked this case with very high priority now. |
5th Gen Apple TV IR issue
Have 5th Gen Apple TV using Crestron Gen 4 IR driver and it is triple pulsing IR commands. Have never had this issue with this Crestron Gen 4 driver on either 2 or 3 series processor and DM systems. Has anyone else had this issue?
Is there a newer updated IR driver for the Gen 5 boxes? |
Re: DMPS-4k-350 no CEC to Panasonic Proj VMZ-50
Sorry, i should have mentioned were using DM_OutPut, not HDMI? In all installations.
DM Output to Digital Link is how its wired; my CEC serial signals are only present on the DM Outputs CEC transmit and received. This setup is working on the 150's, but strangely not on the 350? I was just hoping someone else may have encountered this and/or has recommendations that I may have missed? thanks again Bryan |
DMPS-4k-350 no CEC to Panasonic Proj VMZ-50
Hi everyone,
I was hoping someone can help me with this problem, I have a DMPS 350 that will not communicate via CEC with a Panasonic Projector?? I have a exact setup in other boardrooms using a DMPS-150 and CEC is working fine? Ironically, on the Panasonic?? ? site the DMPS-150 was the crestron unit tested?? My assumption is the DMPS-350 would also work with CEC? Am I missing something? I've left the AV Framework on the processor and added a my own program in slot 2.? As mentioned, same " carbon copy" works in the DMPS-150's? Has anyone encountered this or similar ?? I have tried TBS but to no avail? Thanks in advance Bryan |
Ubicast Miris Plus control via RS232
Hi All,
Having some issues with controlling an Ubicast Miris Plus lecture capture. rs232 is enabled and the commands are the same commands that work in another room. I've never had to set one up from scratch so I'm second guessing my program.? Commands: Record: * RECORD \x0D Stop Recording: * STOP?\x0D Pause Recording: * PAUSE?\x0D Resume Recording: * RESUME?\x0D |
Re: 2n Intercom Multicast Video
#cisco
I asked 2N about the exact scenario the OP is dealing with, and they also said to use the "DOOR_STATION" string as the stream URL.? This supposedly uses the embedded video stream of the incoming SIP call, as opposed to each panel requesting a unicast RTSP stream.? When I tested it on-site, it seemed to work as described, but I was only able to monitor 1 panel at a time, and I can't be sure the panel I was looking at wasn't one of the lucky ones that was able to view the video while there were other panels somewhere ringing with no video displayed.
It didn't occur to me at the time, but does this mean that IGMP Snooping needs to be enabled on that subnet so that the switch knows which ports are asking for the multicast stream?? Or maybe all ports are getting flooded with the multicast SIP call coming in, but it isn't consuming enough bandwidth to be an issue for devices that aren't interested in that traffic? -David |
Re: Help needed: AC IR control not working
开云体育Hi 厂é产补蝉迟颈别苍, ? that looks like a very interesting device, thanks for posting. Since the customer has KNX installed as well, this might be an option. I?ll have a closer look. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von 厂é产补蝉迟颈别苍 LENOIR ? Hi, ? I'm curious about the answer. I had a similar case, and I found a KNX device that seems to do the job. It has a database of included air conditioners. ? Hope?this helps. 厂é产补蝉迟颈别苍 ? Le?sam. 24 avr. 2021 à?02:04, Thorsten K?hler <thorsten.koehler@...> a écrit?:
|
Re: Help needed: AC IR control not working
开云体育Hi Tony, ? thanks for your reply. Looking at the remote control which has indeed a small LCD screen built-in – which I found odd since IR is one-way only. So I guess it?s exactly as you say that the IR-codes are not static but built “on-the-fly”. I informed the customer that i?m not able to integrate it into his Crestron control. Luckily, he ordered this unit himself without consulting me upfront, so i?m safe on this front. ? ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von Tony Howard ? Thorsten Typically the IR codes from AC remotes?use a reasonably complex code combination system of multiple values or actions. Essentially the codes you learn may not be as simple as the button?you press "turn on" or "temp up" but?rather a context specific command?as calculated by the remote that would include all values for: mode, fan speed, louvre swing, set temp and sometimes even timer info put together into the one command. This is usually the case to keep the AC system synchronized with?any user feedback like an LCD screen on the remote itself. ? I have heard of stubborn programmers learning every possible combination?IR code and programming the system to calculate which IR code to use for each context (as would be built inside the original?remote). Alternatively you could check out products like who have done all of the work of mapping the context IR codes for most systems out there and I seem to recall seeing an integration module somewhere. ? ? Cordiali Saluti Tony Howard ? T?|?B?|?T ? ?|?tony@...??|?+39 333 5971791 ? ? ? On Sat, Apr 24, 2021 at 12:13 PM 厂é产补蝉迟颈别苍 LENOIR <sebastien.lenoir@...> wrote:
|
Gui Extender Mangement
Hi All,
Anyone else here experiencing issue with managing GUI extenders in SIMPL?? No matter what program I open, that I have done in the past, when I go to browse for the SGD, the dialog just sits and spins for three or four minutes until it will let let me browse to the location for the file.? I have restarted my PC multiple times and I installed the current version of the software and it stills does this everytime. TIA, Steve |
DMC-4K-HD-HDCP2 Local HDMI Output
I currently have a 4k Sony BluRay Player with a standard def DVD connected to?the input of a DMC-4K-HD-HDCP2.? From the input card I am taking the HDMI Out directly to an HDMI input on a Yamaha TSR-700 AVR.? The cables are all Crestron.? Is there any special configuration needed for connecting the HDMI output (Thru) from a DM Input Card to an AVR?? Right now I get an "HDMI Output Unauthenticated" error when I connect between these two HDCP 2.2 devices.? In DMTool it shows the content coming in from the content player is HDCP1, even when I force HDCP2, so that didn't change anything.? Directly connecting from the BD Player to the AVR works just fine.? From Crestron's website: HDMI? Pass-Through Every DM switcher input card includes an HDMI output port, which can be used to pass the input signal through to a local audio processor or video monitor, or to feed a second DM switcher for output expansion purposes. Is it possible the BD player has only a single HDCP key available and it is taken by the input card, leaving none for the passthrough?? What's the best way to troubleshoot this as I don't have any visibility into this connection (at least I can't find any in DMTool).? Any thoughts would be greatly appreciated!? ? |