403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/papyon/media/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/papyon/media/call.pyo
Ńň
œ  Jc@s3ddklZdgZdefd„ƒYZdS(i˙˙˙˙(tMediaSessiont	MediaCallcBsneZdZd„Zed„ƒZd„Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
„Z
RS(sThis class represents the signaling part in a call between two or more
       peers. Subclasses need to implement the underneath protocol to handle
       invitations and transaction during calls (start/pause/end).

       The media related stuff (NAT traversal, codecs, etc.) would be handled
       by the MediaSession. The MediaCall might however need to implement the
       on_media_prepared and on_media_ready functions. For example, once the
       media session is prepared, we might send a message with the media
       details.cCs`t|ƒ|_g|_|ii|iid|iƒƒ|ii|iid|iƒƒdS(sŚInitialize the media call.

           @param session_type: Type of session (SIP, webcam...)
           @type session_type: L{papyon.media.constants.MediaSessionType}tpreparedtreadyN(Rt_media_sessiont_signalstappendtconnectton_media_session_preparedton_media_session_ready(tselftsession_type((s5/usr/lib/python2.6/site-packages/papyon/media/call.pyt__init__$s	
cCs|iS(N(R(R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pyt
media_session2scCsdS(seInvite the peer for a call.
           @note The other participants need to have been previously set.N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pytinvite6scCsdS(sAccept the call invitation.N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pytaccept;scCsdS(sReject the call invitation.N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pytreject?scCsdS(s=Signal to the peer that we are waiting for the user approval.N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pytringCscCsdS(s
End the call.N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pytendGscCs5x!|iD]}|ii|ƒq
W|iiƒdS(s-Close the media session and dispose the call.N(RRt
disconnecttclose(R
t
handler_id((s5/usr/lib/python2.6/site-packages/papyon/media/call.pytdisposeKs
cCsdS(N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pyRQscCsdS(N((R
((s5/usr/lib/python2.6/site-packages/papyon/media/call.pyR	Ts(t__name__t
__module__t__doc__RtpropertyR
RRRRRRRR	(((s5/usr/lib/python2.6/site-packages/papyon/media/call.pyRs									N(tpapyon.media.sessionRt__all__tobjectR(((s5/usr/lib/python2.6/site-packages/papyon/media/call.pyt<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit