zap-devel mailing list
To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com.
Likewise, to unsubscribe, send a mail with subject 'unsubscribe'
to zap-devel(at)croczilla.com.
|
[
Re: [zap-devel] ClassUtils / Filip Dalüge ... ]
[
broken build / Alex Fritze ... ]
Zap Media Kit
Alex Fritze <alex(at)croczilla.com> |
2005-08-16 22:47:50 |
[ FULL ]
|
I have finally checked our new media processing library - the Zap Media
Kit (ZMK) - into CVS.
The ZMK features a "mediagraph" component which runs with its own thread
and event queue and manages a set of media processing nodes and data
connections between them.
Some features include:
- new node classes (codecs, filters, etc) can be implemented as xpcom
plugins.
- nodes can be composed to form larger nodes.
- the media graph can be dynamically reconfigured at any time (by
adding/removing nodes and/or connections).
- dataflow is regulated by a simple 2 state protocol: a sink requests
the next frame from its attached source (Connection state: WAITING). The
source responds with the next frame as soon as it is available (either
synchronously or asynchronously) (Connection state: IDLE).
- control interfaces for media nodes (e.g. for changing codec parameters
or for UI feedback) are automatically and transparently proxied onto the
media thread. Media node authors need not worry about concurrency issues.
- built-in media node types include: audioin, audioout, rtp-session,
speex-encoder, speex-decoder, speex-rtp-packetizer,
speex-rtp-depacketizer, buffer, udp-socket, udp-socket-pair.
Some documentation will follow shortly on http://www.croczilla.com/zap/zmk.
- Alex
|
Re: [zap-devel] Zap Media Kit
Marc Petit-Huguenin <petithug(at)8x8.com> |
2005-08-17 22:13:57 |
[ FULL ]
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
The compilation of zapAudioIn.cpp fails under Linux:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.h:84: error:
‘zapAudioInState’ has not been declared
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.h:86: error: ISO
C++ forbids declaration of ‘zapAudioInState’ with no type
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.h:86: error:
expected ‘;’ before ‘*’ token
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In
constructor ‘zapAudioIn::zapAudioIn()’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:51: error:
class ‘zapAudioIn’ does not have any field named ‘mState’
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘virtual nsresult zapAudioIn::ConnectSink(zapIMediaSink*, const
nsACString_internal&)’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:186: error:
‘mState’ was not declared in this scope
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘virtual nsresult zapAudioIn::DisconnectSink(zapIMediaSink*,
const nsACString_internal&)’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:194: error:
‘mState’ was not declared in this scope
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘virtual nsresult zapAudioIn::RequestFrame()’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:201: error:
‘mState’ was not declared in this scope
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘virtual nsresult zapAudioIn::Play()’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:211: error:
‘mState’ was not declared in this scope
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘virtual nsresult zapAudioIn::Stop()’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:218: error:
‘mState’ was not declared in this scope
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: At global scope:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:311: error:
prototype for ‘void zapAudioIn::ChangeState(zapAudioInState*)’ does not
match any in class ‘zapAudioIn’
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.h:84: error:
candidate is: void zapAudioIn::ChangeState(int*)
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘void zapAudioIn::ChangeState(zapAudioInState*)’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:313: error:
‘mState’ was not declared in this scope
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp: In member
function ‘void zapAudioIn::SendFrame(const nsACString_internal&,
double)’:
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:399: warning:
comparison between signed and unsigned integer expressions
/home/petithug/mozilla/mozilla/zap/zmk/src/zapAudioIn.cpp:410: error:
‘mState’ was not declared in this scope
Alex Fritze wrote:[...]
- --
Marc Petit-Huguenin
Home: marc(at)petit-huguenin.org
Work: marc(at)8x8.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDA6ip9RoMZyVa61cRAk5lAJ9rfJMUbJfx21z1ylms3uz6/YyobQCfUqUa
UVHzi5DOkMn+PKMHlZqSb6s=
=OUkQ
-----END PGP SIGNATURE-----
|
Re: [zap-devel] Zap Media Kit
Alex Fritze <alex(at)croczilla.com> |
2005-08-17 22:34:01 |
[ FULL ]
|
Marc Petit-Huguenin wrote:
[...]
Seems like whatever compiler you are using doesn't recognise friend
declarations as normal declarations.
Fix checked in.
- Alex
|
Re: [zap-devel] Zap Media Kit
Marc Petit-Huguenin <petithug(at)8x8.com> |
2005-08-18 00:16:22 |
[ FULL ]
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alex Fritze wrote:[...][...][...]
I use gcc 4.0.1
[...]
- --
Marc Petit-Huguenin
Home: marc(at)petit-huguenin.org
Work: marc(at)8x8.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDA8VL9RoMZyVa61cRAiV/AJ4nfdTcRDAVjhL/4r7nwAXz6IoMRgCgp89Q
OSpPmND9xB52wGT0lBDv1zs=
=M5zh
-----END PGP SIGNATURE-----
|
|
|