[Live-devel] two processes using the library

Karim Belem kbelem at callisto.ca
Mon Sep 20 13:13:19 PDT 2004


Thiago A. Corrêa wrote:

> <>I'm not sure about the protocol part/RTP part thing you mention but the
> question of 2 processes using the library, sure, it's quite possible. I'm
> using it that way ( sort of )
> I have one app that is server streamming locally to another which is 
> client,
> both using Live.
>
> Acctually in the client I even have one thread for each stream ( there 
> are 8
> of them ). As long as the threads don't have to communicate with each 
> other,
> it's fine :)
>
> Hope this helps.
>
> Best regards,
> Thiago A. Corrêa

Both processes on will be on the server side in my case. One will be 
taking care of the TCP part (DESCRIBE, SETUP and so on) communicating 
with the client and the other will be sending the data to the client 
(the RTP part which is UDP). In the mean time the two processes are 
communicating through a proprietary protocol which is UDP. There are not 
threads but different independant processes.
According to what you say i should not have a problem. But since my two 
processes are communicating will it be ok for me? They do not use live 
to communicate.
I also want these two processes to be tied to one stream. So each stream 
will be depending on them. If i shut down the stream they will also shut 
down. Which means there have to be something to make the relation 
between these processes using live. And i think this is where i will be 
in trouble. Is that right?
Thanks for your answer Thiago.

Regards,

Karim.

>----- Original Message ----- 
>From: "Karim Belem" <kbelem at callisto.ca>
>To: "LIVE.COM Streaming Media - development & use" <live-devel at ns.live.com>
>Sent: Monday, September 20, 2004 11:15 AM
>Subject: [Live-devel] two processes using the library
>
>
>  
>
>>Hi,
>>I would like to know if for each streaming session i can have a process
>>taking care of  the protocol part (DECRIBE, SETUP, PLAY and so on) and
>>another process doing the streaming portion (RTP part) with both
>>processes talking to each other using a different protocol (already
>>done). My problem here is to know if these two processes (two different
>>C programs) can use the Streaming Media libraries without any problem
>>for the RTSP protocol part by the first one and the RTP data part by the
>>second one.
>>
>>Regards,
>>
>>Karim.
>>
>>_______________________________________________
>>live-devel mailing list
>>live-devel at lists.live.com
>>http://lists.live.com/mailman/listinfo/live-devel
>>
>>    
>>
>
>_______________________________________________
>live-devel mailing list
>live-devel at lists.live.com
>http://lists.live.com/mailman/listinfo/live-devel
>
>  
>




More information about the live-devel mailing list