Using RTP stream as data source
I have successfully written a program that reads G.711 audio from a wav file and sends it out over the network.
I'm trying to modify that program so that instead of getting its source audio from a file, it instead receives the audio from an RTP stream. So, in effect, it is simply receiving audio from one socket and sending it back out another.
The error I'm encountering:
[java] javax.media.NoProcessorException: Cannot find a Processor for: rtp://172.30.18.140:32916
[java] at javax.media.Manager.createProcessorForContent(Manager.java:1663)
[java] at javax.media.Manager.createProcessor(Manager.java:627)
Here is the code fragment where the exception occurs:
processor = javax.media.Manager.createProcessor(new MediaLocator("rtp://172.30.18.140:32916"));
Can anybody help? Thanks!
<removed funky formatting><br>
Message was edited by:
feh
Hi,
I Had a very similar problem, but in addiction I had to store data in a buffer before retransmission. I resolved it employing low level classes. At this time, I still do not know any other solution, and nobody helped me in any way, also in this forum...
So, first you have to access single frames of the stream (Buffer or ExtBuffer objects) using a RawBufferParser, then you have to reconstruct a DataSource by multiplexing the frames (use an appropriate Multiplexer class, such as RTPSynchBufferMux).
The big problem is that there is no documentation avalaible about how to use these classes: I have lerned all I know by "reverse engineering" (lots of hours spent in reading very long annoying code). A little help can be given by the PlugIn Viewer of JMStudio, that tells you which classes are to be employed.
I have not tried to retransmit data "straightforward", without access single frames, because that was not my task. Maybe if you use RTPManager, it is possible to get a DataSource by the ReceiveStream object, and then to pass it to another RTPManager to create a SendStream.
I do not know any simpler way to do that, but this does not mean that it does not exist...!
good luck.
Alberto M. (Italy)
Similar Messages
-
Can you use SQL as a data source for a project in the same way you can in Excel?
Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
the data from the stored procedure as a series of tasks?
Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.No, You can not use sql as a data source for a project.
You have 3 options to achieve it:
1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
kirtesh -
Using 2 web services data sources in the same report
I've been trying unsuccesffuly to use 2 web services data sources in a report. The main report accesses the first web service to get job summary information. 3 fields are are passed as parameters to a sub-report and used as parameters for the sub-report selection. Each report works fine independently, but when I link them together the subreport alway fails to retrieve data.
Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
In http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10540/datasource.htm#CHDBCAIJ it states you can use XML as your data source and mentions...
URLs can include repository or session variables, providing support for HTTP data sources that accept user IDs and passwords embedded in the URL. For example:
http://somewebserver/cgi.pl?userid=valueof(session_variable1)&password=valueof(session_variable2)
I'm trying to pass this:
http://somewebserver/cgi.pl?userid=valueof(NQ_SESSION.USER)
but when I try that I can see in my web server logs that the content of the userid variable is 'valueof(NQ_SESSION.USER)' so it's not passing the results to the web server, just the text. Any ideas what's going on? Is my syntax correct? Thanks!Hey,
There are a few things to look at when using session and repository variables within the RPD.
One of the first documents you need to reference is the "What is the Syntax for Referencing Variable?" section within the OBI documentation. In addition look at this section on how to use variables in the RPD, http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10540/variables.htm#BIEMG3104
Basically you are trying to use NQ_SESSION.USER which is the syntax for trying to show the user name is Presentation Services. Of course you can see this in your web server logs because that is the correct syntax for presentation services web tier but not the RPD where you define your XML Source.
You need to try either use VALUEOF("USER") or you are simply forgeting to put the syntax surrounded by single-quotes like, http://somewebserver/cgi.pl?userid='valueof(NQ_SESSION.USER)' to pull the system session variable into the XML URL as needed.
Try those options and let me know if that works.
Please mark this as the correct answer or helpful.
Cheers,
Christian
http://www.artofbi.com
Edited by: Christian Screen on May 8, 2011 10:32 AM -
How to use rtp to transmit data other than audio / video
hi all,
as you all know the jmf is based upon a specific paradigm:
data source -> player (processor) -> renderer.
i am not being very precise on this but that does not matter.
i want (for testing purposes) to create a tool that transmit some custom data
(maybe even nonsense) over the rtp packages.
so as you may now see this would not work quite right with the mentioned
paradigm since there would be no audio/video to play-process-render.
so how would i go about to utilise the rtp abilities of the jmf without adhering
to the whole player-whatever shebang.
what i have figured out is that there is a way to transmit custom rtp-payload.
there is even an example on the jmf solutions page but even this one uses
an audio format (pcm).
i hope what it is clear to the dear reader what i want to do and maybe some-
one can help me with this.
p.s. i am not one who wants to get the whole source code (like so many
others do on this forum) for a project someone may have done on this, what
i need is a hint in the right direction.
thanks for your attention and thanks in advance for any useful hints.Hi, I would like to make some comments that may help
you to find out how to manage your problem.
If you have a look to the JMF 2.0 API, Guide,
"Understanding the JMF RTP API", Figure 8-2
http://java.sun.com/products/java-media/jmf/2.1.1/guide/RTPArchitecture.html#105171
you can notice that the processor is not essential.
In this pciture, the processor is inserted between two datasources,
to let you perform some operations on the media that is read from
a file or a capture device.
But the SessionManager just needs a DataSource.
With what you say, I can imagine that you want to transmit
real-time data that is not related to standard media formats.
In principle, the only think you must do is to extend the
javax.media.protocol.DataSource abstract class and implement
it at your own convenience.
Once your custom class is written, you can call the SessionManager's
method createSendStream(DataSource ds, int streamindex) passing
for argument an instance of your mentioned custom implementation.
Hope this helps.
Good Luck ;-) ! -
Report using excel sheet as data source not working when deployed to production.
I have a set of SSRS reports that use an excel sheet as a datasource.
Now when I preview the reports or run them in the Visual Studio IDE on my local machine i.e
the development machine, the reports run fine & display all correct results.
However, when we deploy the reports to the Production machine which is on a separate server,
the following error message is displayed :
"The current action cannot be completed. The user data source credentials do not meet the requirements to run this report. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to
require credentials but the unattended execution account is not specified. (rsInvalidDataSourceCredentialSetting)"
I've copy pasted the connection string used for connecting to the excel file as reference :
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyFolder\CurrentFile.xlsx;Extended Properties="Excel 12.0;HDR=Yes;";
The excel file has also been uploaded to the machine housing the reporting server (i.e to C:\MyFolder location)Hi Aaakar,
From the error message, please try to change the setting of Credential type for the data source on report manager as follows:
Go to the Data Sources properties page.
For the Connect Using option, select Credentials stored securely in the report server.
In User Name and Password, type credentials that can be used to access the database. If you are using SQL Server as the data source, the user name must be valid for both logging on to the server and for accessing the database that contains the data for
the report.
If the user name and password are credentials for a Windows account, select Use as Windows Credentials.
If you want the report server to pass the credentials of the user accessing the report to the server hosting the external data source, click Windows Integrated Security. In this case, the user is not prompted to type a user name or password.
For more details about Configure Data Source Properties, please see:
http://technet.microsoft.com/en-us/library/ms155882.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Using Web Service as Data source (Pluggable Data Source) in Oracle Reports
Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues:
Imported the wspds.jar fle from oracle plugin exchage. When tried using it received the following error in oracle reports trace file.
04/26 22:27:22 java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build([Loracle/xml/parser/v2/XMLDocument;Ljava/net/URL;)Ljava/lang/Object;
By troubleshooting issue found out that xmlparserv2.jar in 10g is newer than xmlparserv2.jar in 9i. wspds.jar is using xmlparserv2.jar in 9i as it was developed and tested for 9i only. Believe there is no newer wspds.jar file developed specifically for 10g?
Is there a better/standard solution to use webservice as data source in oracle 10g reports? Does later version of oracle reports supports webservice as a data source without any additional plugins? Any suggestion would be helpful.Please provide support for the above request.
It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE? -
Report that uses web services as data source, prompts for database logon
I have a crystal report that uses web services as a data source. When I deploy the report to Infoview it prompts me for a database username and password. Since I am not using a database it should not prompt me for these. I tried various options in the CMC->database settings for this report but it still prompts me for the database logon info or tells me that the database logon information is incorrect.
The report work fine in the Crystal Reports Designer.
Does anyone know how I can prevent this report from prompting me for the database logon info ?
Thanks,What options have you tried in the CMC?
Have you tried running the report in Crystal Reports installed directly on the Enterprise machine? -
Authentication Failed using K2 SmartObjects as Data source
I have an issue with Visual Studio 2010 and the K2 Smart Objects Data source. I continue to get Authentication Failed: SEC_E_LOGON_DENIED. I log into a corporate domain and then VPN into another domain where the K2 database and SQL Server are located.
After looking at the Windows logs it is apparent that the credentials being used are the first ones(corporate domain) and not the ones that I specified when using the Data source option for my application. I specify the correct domain/userid, port number and
password. Anyone have any suggestions?Hi BBVillarreal,
Since it is related to K2 Smart Objects, I’m afraid that it is really out of support range of VS IDE forum, but you can try ask this question at the forum about the K2 smart objects for better support.
I’m not very sure that the real forum, but I found some sites which are related to it, maybe you could get the correct forum for it.
http://www.k2underground.com/forums/t/15584.aspx
http://www.k2.com/
http://getk2.org/community/New-to-K2-Ask-here-first/132012-K2-Database-Structure
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
EBS performance impact using it as a Data Source
I have a quick question on EBS performance. If I set up the EBS Database as a data source for SSRS (SQL Server Reporting Services), would there be a performance impact on EBS, due to SSRS accessing EBS Data for reports generation? Now, I know there'll always be a hit depending on the volume of data being accessed. But, my question is, will it be significantly higher using an external reporting tool using an ODBC connection rather than native XML Publisher.
I have a quick question on EBS performance. If I set up the EBS Database as a data source for SSRS (SQL Server Reporting Services), would there be a performance impact on EBS, due to SSRS accessing EBS Data for reports generation? Now, I know there'll always be a hit depending on the volume of data being accessed. But, my question is, will it be significantly higher using an external reporting tool using an ODBC connection rather than native XML Publisher.Hi,
Tough to answer without looking at data; my suggestion would be to have a test EBS environment setup, get permission from the vendors to run performance test without buying license - compare AWRs from both scenarios and then decide.
Generally speaking, native XML publisher (BI Publisher) has less of database performance hit than external reporting tools using ODBC.
Hope this helps.
Regards, -
How to identify the project in CMOD used for a particular data source
Hi
I had a Business Content Data source which is enhanced with ZZ fields and user exit is written in CMOD.
How can i find in which project used to write the code for that particular data source.....
When i check CMOD i can find nearly 10 to 20 different projects
ThanksHi,
One simple way is goto CMOD and give project names with Z* or Y*. First findout the naming convensions following in your project and see.
Then gibe projects one by one and select COMPONENTS option and click on Display, if you find the following Function Exits means it is our DataSource project
EXIT_SAPLRSAP_001
EXIT_SAPLRSAP_002
EXIT_SAPLRSAP_003
EXIT_SAPLRSAP_004
Thanks
Reddy -
Problem when using MS Access as data source
I want to get the source data from MS Access Database and load the data into a Oracle Database by OWB.
I created a ODBC for the Access Database,and added the correlative informations in the files such as hs/admin/initmsaces.ora��network/admin/listener.ora��network/admin/tnsname.ora.
Then I created a new module under the "DataBase->Other->ODBC" in OWB,the schema I selected is "Undefine"��it is the only one selection��Then I created some mappings.All these steps are successful.
But when I was deploying the project,OWB reported a wrong: Talbe or View is not exist.
I want to know how can I resolve the problem.
Thanks!I think we are having the same problem and (I think) set up everything as described in the note.
We are using an ODBC connection to an MS-Access database with OWB 9.2. We have successfully defined the data source to OWB, and imported 2 target tables, then mapped one of the tables to a staging table.
The mapping process validates correctly. From Deployment Manager, we register the source file location, which asks for a schema owner, username, and
password. We supply the value admin for each of these as Location Registration windows requires a value for each [no blanks allowed] and the registration is successful.
However, when we Generate/Deploy the mapping, the Generate succeeds, but deployment fails with the error PL/SQL: ORA-00942: table or view does not exist. Looking at the generated code, we see that the SELECT statement in the generated mapping code specifies the source table as owner.table_name@db_link.
From SQL*Plus, the table_name@db_link can be described correctly. Trying to describe owner.table_name@db_link fails with object does not exist error, which is similar to the OWB table does not exist error.
MS-Access has no concept of schema-owner. Is there a way to generate the Mapping without specifying the schema-owner ??. -
Can Discoverer be used as an XML Data source for XMLP ?
I am wondering if Discoverer can generate an XML Data Source for XMPL.
I have heard that Discoverer Viewer can have XML as an output. Is there a way of using this XML output with XMLP and, if yes, how to batch both steps ?Hi
My understanding is that Discoverer does not generate XML data as an ouput that XMLP can consume. The XML is does generate is actually an XML RDF for Oracle Reports.
XMLP is integrated thou, when you export your Disco report to PDF thats XMLP doing the conversion to PDF for you.
Regards, Tim -
Omniportlet problems using web page as data source
When trying to set up an omniportlet using a web page as a data source
I get as far as defining the sectioning and scraping parts of the web clipping process.
When going on to the "filter" step of the process I always get an error message like:
Error
Failed to open specified URL. Check the following:
is the URL is active; is there a valid proxy setting or,
if HTTP authentication is required, check user name and password.
[http://oslap03.agra.int:7777/portalTools/webClipping/webData/omniPortlet/wcserver/jsp/show.jsp?_orawcs_providerId=39337338&_orawcs_portletId=1&_orawcs_p
ortletInstanceId=33731_OMNIPORTLET_39337338&_orawcs_userI
d=-&_orawcs_responseType=rowsetRow]
We are not using proxy servers for accessing external web pages in other cases
(so I wouldn't think we needed to now either), and this even happens for web
pages residing within our own network.
Any tips are much appreciated.Please provide support for the above request.
It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE? -
How to use web service as data source for forge or endeca ?
hi,
is there any way to use webservice as data source in pipeline ?
i have requirment to get data from web service and dump it in endeca. for this i need some idea on how can be this achieved. is it possible to do so?Crawling is part of the CAS, which is kind of the data ingest process in Endeca as you would know. There are a bunch of OOTB Crawlers available like FileSystem based, XML Crawlers, etc., and there could be a case where you have to write your own and thats what I am suggesting because the XML crawl thats OOTB expects a specific format which isnt really mentioned in the Documentation. Please refer to CASDevGuide for more information. CAS, PlatformServices and ToolsAndFrameworks should be running when you start off with Endeca, you can see that from
ps -ef | grep java
on your machine
Maybe you are looking for
-
My Granddaughters Ipad II has been disabled and I need a quick fix if there is one???
-
How do I transfer photos from iPad to iPhone 4?
I just got an iPhone 4 and I would like to transfer pictures from my iPad to my phone if that's possible any one know who to help?
-
I bought osx lion by mistake. How can I get a refund?
I was waiting desperately for OSX Mountain Lion, which was anounced for july. I went to the App store on july 2nd, I looked for Lion in the search tab, I did find an OSX Lion and I clicked BUY. It started download, but never got even 10% because of m
-
Import and Export ODF documents in iWork
How can one import/export ODF documents into/from iWork applications?
-
Can't get Encore to produce a valid DVD image
I've got a project with about 6 menus and 7 timelines - one ~2 hour feature, and several 1-2 minute 'extras'. Menus have simple 30 second looping background videos. Nothing really special... I've set all my videos to transcode to a custom preset I cr