Re: SAT>IP Protocol support

#91
Prog wrote:1. No ECM on your picture. Then no way for plugin.
2. Per PID mode looks like very slow. Because usually software (and plugins) send commands for open/close by one PID. Not all pids like in sample from you link.
Sorry Prog!

Have you readed doc specs in the first post?
Please, review the document: http://www.satip.info/sites/satip/files ... on_1_2.pdf

I really need to say this:

1) The SAT>IP protocol has the same functionalities and drawbacks that any USB 2.0 DVB device.
2) Using current "programID" requests the ECM pids are not present in the TS. Yes! but this is tunnable with commands.
3) Using "pid commands" is possible to request the FULL TS (without any filtering) with just only one RTSP request.
4) PID mode is really FAST: When you like to tune a channel, you can request ALL pids that you like in ANY frequency that you like in just ONE RTSP request. Why you say that this mode is "slow"? It's the same that with any BDA device!

I feel that you don't have readed anything about the procotol! :cry:
Last edited by evarost on Wed Jul 02, 2014 3:06 pm, edited 1 time in total.

Re: SAT>IP Protocol support

#92
Prog wrote:2. Per PID mode looks like very slow. Because usually software (and plugins) send commands for open/close by one PID. Not all pids like in sample from you link.
See this command

Code: Select all

 rtsp://192.168.178.21:554/?src=1&freq=10744&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=22000&fec=56&pids=0,400,401,402 
In pids you can list ANY pids that you like, all in just one request. Slow?

When you say: "Send commands for open/close by one PID" this is only "if you like to open/close ONE pid", but you can "open/close" a LIST of pids. Also, in the SETUP request you can list any list of pids.

Review page 61 of http://www.satip.info/sites/satip/files ... on_1_2.pdf

Re: SAT>IP Protocol support

#94
Prog wrote:I know. But plugins (and some ProgDVB parts) open by ONE pid. For example if plugin ask pid=123 then ProgDVB must open pid=123. No any list of pids... Best if you device support for stream all DVB traffic (all pids without remux)
Ok, now I understand the problem... thank you for the explanation.

So, I try to do some testing with commands for receive the full TS without filtering. My idea is: provide a m3u file with URLs for TRANSPONDERS that sends the entire content. This will be good for you? In this case you will implement the plugin support?

Regards.

Re: SAT>IP Protocol support

#96
Prog wrote:Yes, in this case device looks like DVB device. Of course that is request scanner (because more one channel per mux) and request 50-100 mbit of network.
Ok, I'll try to do!

In the meantime, please, fix the TEARDOWN command (I suggest, variables for tweak behaviour: number of repeated command and delay between them). Also the window for manual scan is very slow (blocking) with the DVB over IP device. Can you please, not automatically scan, but insert a "init" button?

Regards.

Re: SAT>IP Protocol support

#97
Dear Prog,

I have news about SAT>IP support! :D

First, I explain the setup that I have done:

A) I have downloaded this simple RTSP client: https://code.google.com/p/rtsprequest/
I modified the source code to control the calls and do any request that I need.

B) I execute TSReader Lite on the same machine waiting for a RTP stream over a specific udp port.

Using this environment I can send any request to RTSP in the device and analyze the TS received.

The results:

a) To receive the TS stream is mandatory to use RTP. If you use plain UDP, because the encapsulation is adding a header, you miss packets. I feel this is the reason for packet loss in the first pre-releases.

b) The device has support, and responds, to a request of a full transport stream (no filtering). If the URL command contains "pids=all" you receive all pids.

c) To operate a SAT>IP server, you don't need to use the DESCRIBE request. Moreover, this command isn't supported by SAT>IP devices. The standard overcomes this request, because is not relevant (you don't need to receive a sdp description of the stream, because is always a TS).

d) When you use "pids commands" (and not the "programID" URL), the typical list of commands is:

Code: Select all

 1) OPTIONS (without parameters: "rtsp://ip:port/") and you receive the current status of the tuner;

 2) then SETUP (with full parameters, example 
   "rtsp://192.168.1.111:554/?src=1&fe=1&freq=12402&pol=v&msys=dvbs&sr=27500&fec=34&pids=0,1,10,11,12,14,18,1201,1210,1223,1241")
    and you receive a response with the streamID (the header "com.ses.streamID" in the response);

 3) then you send the PLAY command using the streamID (example: "rtsp://192.168.1.111:554/stream=49"); 

 4) and then you receive the data of the RTP stream (client address, port, server address, port); 

 5) finally to close send the TEARDOWN command (and wait for the response).
So in the next post I will explain my suggestions if you like to include support for it in ProgDVB. You agree? :wink:
Regards!

Re: SAT>IP Protocol support

#100
Prog wrote:pids=all is not bad way for me. I hope your network is good for that :)
Hi Prog,

My network ins't a problem: it's Gigabit. :D

So, my idea is this:

- I create a m3u file with one entry for each Transponder in the sat. Example (show only one transporder):

Code: Select all

#EXTM3U
#EXTINF:0,Astra 12402 V 27500 3/4 DVBS
rtsp://192.168.1.111:554/?src=1&fe=1&freq=12402&pol=v&msys=dvbs&sr=27500&fec=34&pids=all
...
- Then, you add an option in the "DVB over IP" device to disable DESCRIBE request (I suggest enable/disable to not broke your code and maintain support for other devices that use RTSP). And implement the behaviour of the "com.ses.streamID" header to use it in the PLAY request.

- Additionally you need to enable plugins for this "DVB over IP" device, so it's the goal of this support (initial support with programID is already done)

I feel it's easy for you to impleted this. Right? :D

Re: SAT>IP Protocol support

#101
Prog wrote:And I think my TV Sources is total bad for DVB over IP without m3u :(
Don't care about this now! Autodiscovering is the easy part, and can be done with external tools. If you support the SAT>IP RTSP Control, you have done the most important part!

Regards! :lol:

Re: SAT>IP Protocol support

#102
rtsp://192.168.1.111:554/?src=1&fe=1&freq=12402&pol=v&msys=dvbs&sr=27500&fec=34&pids=all
must working in current version after scan. About plugins yes, it is possible. But not very easy (I am not like start plugins for all network devices). And some technical problem with teardown on my side...

Re: SAT>IP Protocol support

#103
Prog wrote:rtsp://192.168.1.111:554/?src=1&fe=1&freq=12402&pol=v&msys=dvbs&sr=27500&fec=34&pids=all
must working in current version after scan. About plugins yes, it is possible. But not very easy (I am not like start plugins for all network devices). And some technical problem with teardown on my side...
Hi Prog,

This works on version "7.05.7c"? If yes I'll try now.

Nevertheless, Why you say "after scan"?

Related to plugins, please, this is the most important think! You don't need to enable it to any network device, only leave to the use the option the enable/disable it on "DVB over IP" devices. No more, no less! :D

Related to TEARDOWN. After my tests with "rtsprequest", no problems at all. Never I found any trouble for select a new channel after end previous session. I feel that the problem is that you are not waiting for the response, and if you close the socket, the server don't execute the command. You are doing in this way?

Regards! :wink:

Re: SAT>IP Protocol support

#104
Hi Prog,

Log from last "7.05.7c" pre-release:
>> OPTIONS rtsp://192.168.210.181:554/?src=1&fe=1&freq=12402&pol=v&msys=dvbs&sr=27500&fec=34&pids=all RTSP/1.0
CSeq: 1
User-Agent: ProgDVB

<< RTSP/1.0 200 OK
CSeq: 1
Date: Fri, Jul 04 2014 14:21:27 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY


>> DESCRIBE rtsp://192.168.210.181:554/?src=1&fe=1&freq=12402&pol=v&msys=dvbs&sr=27500&fec=34&pids=all RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: ProgDVB

<< RTSP/1.0 404 Stream Not Found
CSeq: 2
Date: Fri, Jul 04 2014 14:21:27 GMT
Please, please, please, include an option to disable DESCRIBE command!!! :cry: