×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    9

    C base rtp stack synchronization problem with cmdaaudiooutputstream

    Hi,
    I hope u help me
    I used C base rtp stack and it works fine. I tested it.
    But when I want to use this stack with audio output streaming,
    I encountered several problems.

    1-) In Symbian architecture Network based programing depends on
    active objects( RSocket). But in C code there is no structure runs
    like active object. I added following code segment in my code to exceed
    this problem:
    iRtp->ReceiveL(iBuf); // this used recvfrom method of stantard C.
    User::After(10000); // my every sound packet 20 msec
    TRequestStatus *status = &iStatus;
    User::RequestComplete(status, KErrNone);
    But this didnt work well.
    I changed priorty and similar things but result was same.

    2-) I tried to create a new thread for my rtp stack. But when I call
    iRtp->ReceiveL(iBuf) it crashed, even if I created its own cactivescheduler
    and cleanup stack.

    3-) When step 2 also failed, I tried a new thread for my audio output streaming. But it also failed when I called
    iOutputStream->Open(&iStreamSettings);
    in my thread function.

    As result, is this best way to use active object (RSocket) for networking?
    Is there anyway to implement networking part of the program
    without using active objects?
    And can anyone give me a solution for my problem?

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    9

    Re: C base rtp stack synchronization problem with cmdaaudiooutputstream

    I solved my problem

Similar Threads

  1. Conflicting stack sizes - again!
    By schm1 in forum Mobile Java General
    Replies: 7
    Last Post: 2005-10-08, 12:09
  2. CMdaAudioOutputStream problem
    By lab1348 in forum Symbian
    Replies: 8
    Last Post: 2004-07-06, 11:38
  3. Setting list and AppUi stack problem
    By advocatee in forum Symbian
    Replies: 2
    Last Post: 2003-08-11, 06:34
  4. Problem with synchronization between Jbuilder8 and MobileSet 3.01 plz help!
    By b0necrack3r in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2003-07-30, 17:01
  5. CMdaAudioOutputStream problem on Nokia3650
    By alexdoor73 in forum Symbian
    Replies: 1
    Last Post: 2003-07-04, 20:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×