Hi,
New to libjingle. Seen file transfer code in 0.4.
talk/example/pcp/pcp_main.c is the application
and session/fileshare.cc is the basic implementation.
Now what if i want to add this FT feature to call application ?
I mean like "call" command .. sendfile commmand should do the
processing.
So for this purpose we need to understand what all tricks are done
in main() and OnSignOn() in pcp_main() ??
I thought of doing following when somebody said "sendfile xxxx"
(//Copied from OnSignOn)
file_share_session_client_.reset(new
cricket::FileShareSessionClient(session_manager_.get(),
xmpp_client_->jid(), "pcp"));
file_share_session_client_->SignalFileShareSessionCreate.connect(this,
&FileShareClient::OnFileShareSessionCreate);
session_manager_->AddClient(NS_GOOGLE_SHARE,
file_share_session_client_.get());
" *******BUT Got SEG Fault in Above ********"
how to do this?How to get various object initialized ?
How to get xmpp_client_ required .for so many things .??
How to get session_manager_ ?
( This all when we are not using pcp_main ...but using call only)
Thanks in advance
Vikram
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---