[Red5] what's this: |RtmpSampleAccess property on client ? (with pipe in front of the method)
Art Clarke
aclarke at xuggle.com
Mon Feb 9 09:01:06 PST 2009
I reopened 315. Can you add to the bug with more details on your
action script code that is showing the problem?
- Art
On Mon, Feb 9, 2009 at 8:40 AM, Walter Tak <walter at waltertak.com> wrote:
>
> See http://jira.red5.org/browse/APPSERVER-315
>
> Here someone "patches" a problem in which this line
>
>
> + final Call call2 = new Call(null, "|RtmpSampleAccess", null);
> + Notify n = new Notify();
> + n.setInvokeId(1);
> + n.setCall(call2);
> + n.setData(ByteBuffer.wrap(new byte[] {0x01, 0x01, 0x01, 0x01}));
> + write(n, connection.getStreamIdForChannel(id));
>
> from: http://jira.red5.org/secure/attachment/10185/RtmpSampleAccess.patch
>
> However my Flash IDE (while compiling AS3 code) now returns me this error:
>
> Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
>
> flash.net.NetStream was unable to invoke callback |RtmpSampleAccess.
> error=ReferenceError: Error #1069: Property |RtmpSampleAccess not found on
> .CustomClient and there is no default value.
>
> The pipe in the name "|RtmpSampleAccess" makes creating a handler on the
> Flash side impossible. What is that odd named callback doing and why is it
> there ? A even better how to fix it ?
>
>
>
>
>
> Tested with 080RC2 final
>
> Walter
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.
Use Xuggle to get the power of FFMPEG in Java.
More information about the Red5
mailing list