.PS
copy "sequence.pic";

# Define the objects
object(Remote,"o:RemoteClient");
object(Client,"o:Client");
object(Session,"o:FarsightSession");
placeholder_object(Stream);
step();

# Message sequences
active(Client);
step();
active(Session);
message(Client,Session,"list_codecs()");
return_message(Session,Client);
message(Client,Session,"create_stream()");
create_message(Session,Stream,"p:FarsightStream");
return_message(Session,Client);
inactive(Session);
active(Stream);
message(Client,Stream,"prepare()");
return_message(Stream,Client);
message(Stream,Client,"prepared");
message(Client,Stream,"get_native_candidates()");
return_message(Stream,Client);
active(Remote);
message(Client,Remote,"INVITE:" "SDP" "TEST" "TEST" "TEST");
step();
inactive(Stream);
destroy_message(Client,Stream);
destroy_message(Client,Session);
inactive(Client);

# Complete the lifelines
step();
complete(Client);
complete(Remote);
.PE
