Commit Graph

120 Commits

Author SHA1 Message Date
shogo4405 9defc2d67b protocolized MP4Boxes 2021-05-05 14:58:36 +09:00
shogo4405 e773532b57 Refactoring 2021-04-13 00:52:32 +09:00
shogo4405 bfc3f2b3c5 fix can't publish 6b2d866 2021-04-12 02:55:23 +09:00
shogo4405 6b2d866e82 Improved compatibility for flash 2021-04-12 00:54:39 +09:00
shogo4405 b6e08eb6a9 documenting and remove soe direcotry. 2021-04-11 17:25:47 +09:00
shogo4405 7c542f02c9 s/AudioConverter/AudioCodec/g 2021-03-28 17:05:06 +09:00
shogo4405 1de40cda79 createMetaData to open 2020-12-06 23:54:29 +09:00
shogo4405 f2cc14120b Allow Coding Guidelines for Cocoa Delegate method section 2020-09-16 21:37:52 +09:00
shogo4405 dd2e14472c swiftlint 2020-08-29 14:33:10 +09:00
allenlinli c23769e0ed fix: change the unit of kbps from 1024 to 1000
ref: https://en.wikipedia.org/wiki/Bit_rate
2020-06-10 15:40:32 +08:00
shogo4405 8315d6eee1 refs #684 2020-05-24 22:25:26 +09:00
shogo4405 c90e31cdeb Revert "Added check to filename length with respect to FILENAME_MAX, so it shouldn't exceed maximum length provided by iOS"
This reverts commit daddd5374a.
2020-05-24 00:56:57 +09:00
shogo4405 89ffdf4cfe Migration RTMPStreamInfo OSAtomic -> Atomic 2020-03-01 18:23:11 +09:00
Troy Lamerton b207f3932b debug log when first video frame was sent 2020-02-02 11:35:10 +01:00
shogo4405 c412f7c45e swiftlint autocorrect 2020-01-13 14:18:41 +09:00
shogo4405 8f15076ec3 %s/Playing/Decoding/g 2020-01-04 15:32:23 +09:00
shogo4405 4bca10d5db dispatch RTMPStream.Code.videoDimensionChange event 2020-01-02 17:41:41 +09:00
shogo4405 e1103c0958 start video queue without audio. 2020-01-01 19:33:42 +09:00
shogo4405 0f62b0371a Update DisplayLinkedQueue 2019-12-30 17:52:42 +09:00
shogo4405 d387b61e2b Dispatch bufferEmpty&bufferFull event 2019-12-08 19:57:59 +09:00
shogo4405 ee1fa66831 add enum RTMPObjectEncoding 2019-09-29 19:16:28 +09:00
shogo4405 0a48c6ac2c Remove syncOrientation property. 2019-09-28 20:23:43 +09:00
shogo4405 2c88661996 s/Mirror(reflecting: self).description/Mirror(reflecting: self).debugDescription/g 2019-09-28 18:38:41 +09:00
shogo4405 3936af8334 Remove Objective-C compatible code. 2019-09-23 02:42:42 +09:00
shogo4405 374fa73dbb Typesafe Event.type 2019-09-22 23:42:53 +09:00
shogo4405 07af449b87 remove NSObject Inheritance 2019-09-22 22:52:07 +09:00
shogo4405 2ef37d495f Remove pause(), resume(), togglePause(). Please use paused property. 2019-09-08 00:23:02 +09:00
Alexey Razuvaev 46648749dc Fix bitrate sent in setDataFrame to be in kbps 2019-08-22 13:14:05 -07:00
shogo4405 5b91c863a2 TypeSafe 2019-07-21 03:41:32 +09:00
shogo4405 745ed1e774 Rename outputAudio -> didOutputAudio 2019-07-20 16:44:18 +09:00
shogo4405 99c666ed36 Update RTMPStream.swift 2019-07-15 17:40:26 +09:00
shogo4405 e1f73b53ca Returning to applicationWillEnterForeground 2019-07-15 15:36:41 +09:00
Usman Khawar daddd5374a Added check to filename length with respect to FILENAME_MAX, so it shouldn't exceed maximum length provided by iOS 2019-07-03 23:37:19 +05:00
shogo4405 6c566d988d git revert 75d9751bc8 2019-05-25 16:29:54 +09:00
shogo4405 b3f8b8f991 swiftlint autocorrect 2019-04-30 01:53:48 +09:00
Suyeol Jeon 18c1939cc5 Use optional chaining when accessing rtmpConnection.socket on close() 2019-04-15 00:19:50 +09:00
Suyeol Jeon dfd09c3b9c Make RTMPStream can be released on close() when its readyState is .initialized 2019-04-15 00:18:46 +09:00
shogo4405 c35d3bd0a9 fix compile error tvOS 2019-03-25 02:02:31 +09:00
Troy Lamerton e07d7151df static field to set default orientation & always update drawable 2019-03-18 15:53:56 +01:00
shogo4405 591da690d7 swiftlint autocorrect +α 2019-01-04 19:01:42 +09:00
shogo4405 d3c1dfbe50 Support stereo-audio 2019-01-03 21:07:37 +09:00
shogo4405 d15ec35ea5 Remove AudioStreamPlayback.swift 2018-12-15 23:00:27 +09:00
shogo4405 75d9751bc8 Remove CustomStringConvertible 2018-12-15 15:12:26 +09:00
shogo4405 106dac5409 rename AACEncoder -> AudioConverter 2018-12-09 21:33:04 +09:00
shogo4405 14454bdf22 refs #467 2018-10-07 17:53:38 +09:00
Adam Nemecek c6b862ebbb removed unneeded imports 2018-08-02 21:12:52 -07:00
shogo4405 7938897d2e Suppress Warning 2018-07-22 18:27:43 +09:00
shogo4405 192bb3b6ae
Merge pull request #401 from ronhuang/remove-publishing-restriction
Remove "publishing" restriction for appending sample buffer
2018-06-30 14:23:47 +09:00
shogo4405 f4f0d14a5c fixed #420 2018-05-13 20:31:11 +09:00
Ron Huang e3830939d9 Remove "publishing" restriction for appending sample buffer
In the previous implementation, AppendSampleBuffer() in RTMPStream will not
append sample buffer unless the stream is already publishing. But this will
prevent stream from drawing on view unless the source is the built-in camera,
configured via AttachCamera(). AttachCamera() is able to draw on view when
stream is not publishing, which creates the "preview" experience, as it directly
invokes AppendSampleBuffer() in NetStream.

This commit removes the overridden AppendSampleBuffer() in RTMPStream, which
allows callers to invoke AppendSampleBuffer() in NetStream directly. This will
enable sources other than built-in camera to gain "preview" experience as well.
2018-04-01 23:31:21 +08:00